1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

roll out release services after deployment

This commit is contained in:
Martin McKeaveney 2022-08-12 17:42:46 +01:00
parent c8bf6afe1a
commit 311fc7841e
4 changed files with 11 additions and 2 deletions

View file

@ -58,7 +58,7 @@ jobs:
helm: helm3 helm: helm3
values: | values: |
globals: globals:
appVersion: develop appVersion: ${{ env.RELEASE_VERSION }}
ingress: ingress:
enabled: true enabled: true
nginx: true nginx: true

View file

@ -120,6 +120,13 @@ jobs:
env: env:
KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}' KUBECONFIG_FILE: '${{ secrets.RELEASE_KUBECONFIG }}'
- name: Re roll the services
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.RELEASE_KUBECONFIG }}
with:
args: rollout restart deployment proxy-service -n budibase && kubectl rollout restart deployment app-service -n budibase && kubectl rollout restart deployment worker-service -n budibase
- name: Discord Webhook Action - name: Discord Webhook Action
uses: tsickert/discord-webhook@v4.0.0 uses: tsickert/discord-webhook@v4.0.0
with: with:

View file

@ -167,6 +167,7 @@
{/if} {/if}
<HideAutocolumnButton bind:hideAutocolumns /> <HideAutocolumnButton bind:hideAutocolumns />
<ImportButton <ImportButton
disabled={$tables.selected?._id === "ta_users"}
tableId={$tables.selected?._id} tableId={$tables.selected?._id}
on:updaterows={onUpdateRows} on:updaterows={onUpdateRows}
/> />

View file

@ -3,11 +3,12 @@
import ImportModal from "../modals/ImportModal.svelte" import ImportModal from "../modals/ImportModal.svelte"
export let tableId export let tableId
export let disabled
let modal let modal
</script> </script>
<ActionButton icon="DataUpload" size="S" quiet on:click={modal.show}> <ActionButton icon="DataUpload" size="S" quiet on:click={modal.show} {disabled}>
Import Import
</ActionButton> </ActionButton>
<Modal bind:this={modal}> <Modal bind:this={modal}>