-
Notifications
You must be signed in to change notification settings - Fork 127
CSPL-4282 fix pipeline race condition and misconfiguration #1628
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| name: 'Set EKS Test Cluster Name' | ||
| description: 'Generate a shortened, standardized EKS test cluster name' | ||
| inputs: | ||
| test-type: | ||
| description: 'Type of test (e.g., smoke, integration)' | ||
| required: true | ||
| platform: | ||
| description: 'Platform variant (e.g., distroless, arm-ubuntu, arm-rhel, arm-al2023, helm, namespace, nightly, manual, or empty for standard)' | ||
| required: false | ||
| default: '' | ||
| test-name: | ||
| description: 'Test name from matrix (e.g., basic, managerappframeworkc3)' | ||
| required: true | ||
| run-id: | ||
| description: 'GitHub run ID for uniqueness' | ||
| required: true | ||
| outputs: | ||
| cluster-name: | ||
| description: 'The generated cluster name' | ||
| value: ${{ steps.generate-name.outputs.cluster_name }} | ||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Generate cluster name | ||
| id: generate-name | ||
| shell: bash | ||
| run: | | ||
| TEST_NAME="${{ inputs.test-name }}" | ||
|
|
||
| # Shorten long test names | ||
| case "$TEST_NAME" in | ||
| managerappframeworkc3) TEST_NAME="mgr-appfw-c3" ;; | ||
| managerappframeworkm4) TEST_NAME="mgr-appfw-m4" ;; | ||
| appframeworksS1) TEST_NAME="appfw-s1" ;; | ||
| managersecret) TEST_NAME="mgr-secret" ;; | ||
| managermc) TEST_NAME="mgr-mc" ;; | ||
| esac | ||
|
|
||
| # Build cluster name based on platform | ||
| if [ -z "${{ inputs.platform }}" ]; then | ||
| # Standard platform (no platform suffix) | ||
| CLUSTER_NAME="eks-test-${{ inputs.test-type }}-${TEST_NAME}-${{ inputs.run-id }}" | ||
| else | ||
| # Platform-specific | ||
| CLUSTER_NAME="eks-test-${{ inputs.test-type }}-${{ inputs.platform }}-${TEST_NAME}-${{ inputs.run-id }}" | ||
| fi | ||
|
|
||
| echo "cluster_name=${CLUSTER_NAME}" >> $GITHUB_OUTPUT | ||
| echo "Generated cluster name: ${CLUSTER_NAME}" | ||
|
|
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine to keep but I actually don't think it's doing anything. The gcp test cases with the keywords in the
test_focusfield do not use smoke and integration, so no specific tests are skipped or included here besides the test_focus. Example: https://github.com/splunk/splunk-operator/blob/main/test/appframework_gcp/c3/appframework_gcs_test.go#L94