-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
069fe65
commit a845cb6
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,11 @@ on: | |
description: 'Run the build with tmate debugging enabled' | ||
required: false | ||
default: false | ||
debug_delay_duration_minutes: | ||
type: number | ||
description: 'Duration to delay job completion in minutes' | ||
required: false | ||
default: 5 | ||
|
||
jobs: | ||
smoke-test-with-helm: | ||
|
@@ -31,6 +36,18 @@ jobs: | |
version: v0.21.0 | ||
wait: 90s | ||
cluster_name: helm-test-cluster | ||
|
||
- name: "Debug: SSH to runner" | ||
uses: scality/actions/action-ssh-to-runner@v1 | ||
with: | ||
tmate-server-host: ${{ secrets.TMATE_SERVER_HOST }} | ||
tmate-server-port: ${{ secrets.TMATE_SERVER_PORT }} | ||
tmate-server-rsa-fingerprint: ${{ secrets.TMATE_SERVER_RSA_FINGERPRINT }} | ||
tmate-server-ed25519-fingerprint: ${{ secrets.TMATE_SERVER_ED25519_FINGERPRINT }} | ||
detached: true | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | ||
timeout-minutes: 10 | ||
continue-on-error: true | ||
|
||
- name: Build COSI Driver Docker Image | ||
run: | | ||
|
@@ -56,6 +73,13 @@ jobs: | |
chmod +x .github/scripts/verify_helm_install.sh | ||
.github/scripts/verify_helm_install.sh | ||
- name: "Delay completion" | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | ||
uses: scality/actions/[email protected] | ||
with: | ||
completion_delay_m: ${{ inputs.debug_delay_duration_minutes }} | ||
continue-on-error: true | ||
|
||
- name: Cleanup Helm Release and Namespace | ||
run: | | ||
helm uninstall scality-cosi-driver -n scality-object-storage | ||
|