diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 66a6ecb2..b06092b3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -48,46 +48,4 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - test-on-digital-ocean: - runs-on: ubuntu-latest - needs: [build] - if: github.event_name == 'push' - - steps: - - uses: actions/checkout@v3 - - - name: Add SHORT_SHA env property with commit short sha - run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV - - - name: Checkout kotal-helm-chart Repo - uses: actions/checkout@v3 - with: - repository: kotalco/kotal-helm-chart - path: kotal-helm-chart - - - name: Set up Helm - uses: azure/setup-helm@v3 - with: - version: v3.10.0 - - - name: Add helm dependencies repositories - run: | - for dir in $(ls -d kotal-helm-chart/charts/*/); do - helm dependency list $dir 2> /dev/null | tail +2 | head -n -1 | awk '{ print "helm repo add " $1 " " $3 }' | while read cmd; do $cmd; done - done - helm dependency update kotal-helm-chart/charts/kotal - - - name: K8s-set-context - uses: azure/k8s-set-context@v1 - with: - method: kubeconfig - kubeconfig: ${{ secrets.KUBECONFIG_DO_TESTING }} - - - name: Update Kotal-Helm-Chart with new CRDs - run: | - kubectl apply -f ./config/crd/bases/ - - - name: Testing and Update Kotal-Helm-Chart with controller-manager new image - run: | - helm upgrade kotal kotal-helm-chart/charts/kotal --install --wait --namespace=kotal --create-namespace --set "manager.tag=${SHORT_SHA}" --set "staging=true" --set=app.name=kotal --reuse-values --atomic + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file