1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

Merge pull request #7251 from Budibase/fix/various-fixes-martin

roll out release services after deployment
This commit is contained in:
Martin McKeaveney 2022-08-16 10:17:59 +01:00 committed by GitHub
commit e4f0b02bf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 1 deletions

View file

@ -68,6 +68,13 @@ jobs:
]
env:
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
uses: tsickert/discord-webhook@v4.0.0

View file

@ -121,6 +121,13 @@ jobs:
env:
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
uses: tsickert/discord-webhook@v4.0.0
with:

View file

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

View file

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