Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
release: use 1.23 for release verification, bypass SSH (#4878)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Apr 14, 2022
1 parent 27cba4e commit 3236d83
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 37 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/create-release-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,6 @@ jobs:
sudo chmod +x /usr/local/bin/k
- name: Build aks-engine binary
run: make build-binary
- name: Validate 1.19 no-egress scenario
env:
ORCHESTRATOR_RELEASE: "1.19"
CLUSTER_DEFINITION: "examples/no_outbound.json"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
CLIENT_ID: ${{ secrets.TEST_AZURE_SP_ID }}
CLIENT_SECRET: ${{ secrets.TEST_AZURE_SP_PW }}
LOCATION: "westus2"
TENANT_ID: ${{ secrets.TEST_AZURE_TENANT_ID }}
CLEANUP_ON_EXIT: true
CLEANUP_IF_FAIL: true
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
run: make test-kubernetes
- name: Validate 1.20 no-egress scenario
env:
ORCHESTRATOR_RELEASE: "1.20"
Expand All @@ -69,6 +54,7 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate 1.21 no-egress scenario
env:
Expand All @@ -84,6 +70,7 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate 1.22 no-egress scenario
env:
Expand All @@ -99,6 +86,7 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate 1.23 no-egress scenario
env:
Expand All @@ -114,11 +102,12 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate gpu + docker scenario
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
ORCHESTRATOR_RELEASE: "1.20"
ORCHESTRATOR_RELEASE: "1.23"
CLUSTER_DEFINITION: "examples/kubernetes-gpu/kubernetes.json"
GINKGO_FOCUS: "should be able to run a nvidia-gpu job"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
Expand All @@ -131,11 +120,12 @@ jobs:
CONTAINER_RUNTIME: "docker"
SKIP_LOGS_COLLECTION: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate gpu + containerd scenario
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
ORCHESTRATOR_RELEASE: "1.20"
ORCHESTRATOR_RELEASE: "1.23"
CLUSTER_DEFINITION: "examples/kubernetes-gpu/kubernetes.json"
GINKGO_FOCUS: "should be able to run a nvidia-gpu job"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
Expand All @@ -148,6 +138,7 @@ jobs:
CONTAINER_RUNTIME: "containerd"
SKIP_LOGS_COLLECTION: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: create branch
run: |
Expand Down
31 changes: 11 additions & 20 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,6 @@ jobs:
- name: print git status after build
run: |
git status
- name: Validate 1.19 no-egress scenario
env:
ORCHESTRATOR_RELEASE: "1.19"
CLUSTER_DEFINITION: "examples/no_outbound.json"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
CLIENT_ID: ${{ secrets.TEST_AZURE_SP_ID }}
CLIENT_SECRET: ${{ secrets.TEST_AZURE_SP_PW }}
LOCATION: "westus2"
TENANT_ID: ${{ secrets.TEST_AZURE_TENANT_ID }}
CLEANUP_ON_EXIT: true
CLEANUP_IF_FAIL: true
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
run: make test-kubernetes
- name: Validate 1.20 no-egress scenario
env:
ORCHESTRATOR_RELEASE: "1.20"
Expand All @@ -79,6 +64,7 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate 1.21 no-egress scenario
env:
Expand All @@ -94,6 +80,7 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate 1.22 no-egress scenario
env:
Expand All @@ -109,6 +96,7 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate 1.23 no-egress scenario
env:
Expand All @@ -124,11 +112,12 @@ jobs:
SKIP_LOGS_COLLECTION: true
SKIP_TEST: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
BLOCK_SSH: true
run: make test-kubernetes
- name: Validate gpu + docker scenario
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
ORCHESTRATOR_RELEASE: "1.20"
ORCHESTRATOR_RELEASE: "1.23"
CLUSTER_DEFINITION: "examples/kubernetes-gpu/kubernetes.json"
GINKGO_FOCUS: "should be able to run a nvidia-gpu job"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
Expand All @@ -139,13 +128,14 @@ jobs:
CLEANUP_ON_EXIT: true
CLEANUP_IF_FAIL: true
CONTAINER_RUNTIME: "docker"
BLOCK_SSH: true
SKIP_LOGS_COLLECTION: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
run: make test-kubernetes
- name: Validate gpu + containerd scenario
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
ORCHESTRATOR_RELEASE: "1.20"
ORCHESTRATOR_RELEASE: "1.23"
CLUSTER_DEFINITION: "examples/kubernetes-gpu/kubernetes.json"
GINKGO_FOCUS: "should be able to run a nvidia-gpu job"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
Expand All @@ -156,13 +146,14 @@ jobs:
CLEANUP_ON_EXIT: true
CLEANUP_IF_FAIL: true
CONTAINER_RUNTIME: "containerd"
BLOCK_SSH: true
SKIP_LOGS_COLLECTION: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
run: make test-kubernetes
- name: Validate 1.20 + containerd E2E
- name: Validate 1.23 + containerd E2E
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
ORCHESTRATOR_RELEASE: "1.20"
ORCHESTRATOR_RELEASE: "1.23"
CLUSTER_DEFINITION: "examples/e2e-tests/kubernetes/release/default/definition.json"
SUBSCRIPTION_ID: ${{ secrets.TEST_AZURE_SUB_ID }}
CLIENT_ID: ${{ secrets.TEST_AZURE_SP_ID }}
Expand All @@ -176,7 +167,7 @@ jobs:
STABILITY_ITERATIONS: "0"
RETAIN_SSH: false
CONTAINER_RUNTIME: "containerd"
BLOCK_SSH: false
BLOCK_SSH: true
SKIP_LOGS_COLLECTION: true
AZURE_CORE_ONLY_SHOW_ERRORS: True
run: make test-kubernetes
Expand Down

0 comments on commit 3236d83

Please sign in to comment.