Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Curvenote: deploy without networkbans for now #2807

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def main():
action="store_true",
help="Print commands, but don't run them",
)
stages = ["all", "auth", "networkbans", "kubesystem", "certmanager", "mybinder"]
stages = ["all", "auth", "networkban", "kubesystem", "certmanager", "mybinder"]
argparser.add_argument(
"--stage",
choices=stages,
Expand Down