From 00198a719a35709748053c6b207a123993c01da4 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Wed, 1 Nov 2023 21:44:29 +0000 Subject: [PATCH] Curvenote: deploy stage by stage, skip networkban for now --- .github/workflows/cd.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c638f9479..a584a484a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -322,12 +322,25 @@ jobs: chartpress ${{ matrix.chartpress_args || '--skip-build' }} - name: "Stage 4: Deploy to ${{ matrix.federation_member }}" + if: matrix.federation_member != 'curvenote' run: | . cert-manager.env python ./deploy.py ${{ matrix.federation_member }} ${{ matrix.cluster_name || matrix.federation_member }} --name ${{ matrix.release_name || matrix.federation_member }} env: TERM: xterm + - name: "Stage 4: Deploy to ${{ matrix.federation_member }}" + # TODO: fix ban.py to work on AWS/curvenote + if: matrix.federation_member == 'curvenote' + run: | + . cert-manager.env + for stage in auth kubesystem certmanager mybinder; do + echo $stage + python ./deploy.py ${{ matrix.federation_member }} ${{ matrix.cluster_name || matrix.federation_member }} --name ${{ matrix.release_name || matrix.federation_member }} --stage $stage + done + env: + TERM: xterm + - name: "Stage 4: Verify ${{ matrix.federation_member }} works" uses: nick-invision/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 with: