-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add weekly end-to-end test workflows for all devops-infra GitHub Actions #1
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
ChristophShyper
merged 15 commits into
master
from
copilot/add-end-to-end-testing-workflows
May 24, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4faadda
Initial plan
Copilot ee3d6a2
feat: add end-to-end test workflows for all devops-infra actions
Copilot 2aa5977
test: add repository and repository_path coverage in action-pull-requ…
Copilot c23b94b
feat: enhance end-to-end testing framework with new workflows and cov…
ChristophShyper 3c79df1
refactor: update repository references to Triglav in documentation an…
ChristophShyper f648bc5
refactor: update repository references to Triglav in documentation an…
ChristophShyper dfd401f
feat: add end-to-end testing workflows with mode validation and actio…
ChristophShyper a608646
feat: add end-to-end testing workflows and refine input handling
ChristophShyper d53d46d
feat: add execution mode and image tag inputs to workflow dispatch fo…
ChristophShyper 59c02c9
feat: enhance action input parsing and add unit tests for coverage
ChristophShyper 6a1331f
feat: add validation for mode input and handle empty action repositor…
ChristophShyper 212612d
feat: add input validation for mode in end-to-end workflows and handl…
ChristophShyper 9ac1c87
fix: validate mode input for end-to-end testing workflow
ChristophShyper 527c29e
fix: update Alpine image version to 3.23.4 in end-to-end testing work…
ChristophShyper a9cede8
feat: add preflight validation step for workflow inputs in end-to-end…
ChristophShyper 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 |
|---|---|---|
| @@ -1,6 +1,2 @@ | ||
| DOCKER_USERNAME=your-dockerhub-user | ||
| DOCKER_ORG_NAME=your-dockerhub-org | ||
| DOCKER_TOKEN=your-docker-token | ||
| GITHUB_USERNAME=your-github-user | ||
| GITHUB_ORG_NAME=your-github-org | ||
| GITHUB_TOKEN=your-github-token | ||
| GITHUB_TOKEN=your_github_token_here | ||
| GH_REPO=devops-infra/triglav |
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 |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ on: | |
| - main | ||
| - release/** | ||
| - dependabot/** | ||
| - test/** | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
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,98 @@ | ||
| name: (Cron) End-to-End Tests | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: 0 6 * * 1 | ||
| workflow_dispatch: | ||
| inputs: | ||
| mode: | ||
| description: Run mode (ref or image) | ||
| required: false | ||
| default: ref | ||
| type: choice | ||
| options: | ||
| - ref | ||
| - image | ||
| image_tag: | ||
| description: Action image tag used when mode=image (for example v1.2.3-test or v1.2.3-rc) | ||
| required: false | ||
| default: '' | ||
| type: string | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| action-commit-push: | ||
| permissions: | ||
| contents: write | ||
| uses: ./.github/workflows/e2e-action-commit-push.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
|
ChristophShyper marked this conversation as resolved.
|
||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-pull-request: | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| issues: write | ||
| uses: ./.github/workflows/e2e-action-pull-request.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-tflint: | ||
| permissions: | ||
| contents: read | ||
| uses: ./.github/workflows/e2e-action-tflint.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-format-hcl: | ||
| permissions: | ||
| contents: read | ||
| uses: ./.github/workflows/e2e-action-format-hcl.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-terraform-validate: | ||
| permissions: | ||
| contents: read | ||
| uses: ./.github/workflows/e2e-action-terraform-validate.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-terraform-copy-vars: | ||
| permissions: | ||
| contents: read | ||
| uses: ./.github/workflows/e2e-action-terraform-copy-vars.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-container-structure-test: | ||
| permissions: | ||
| contents: read | ||
| uses: ./.github/workflows/e2e-action-container-structure-test.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
|
|
||
| action-template-action: | ||
| permissions: | ||
| contents: read | ||
| uses: ./.github/workflows/e2e-action-template-action.yml | ||
| with: | ||
| mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'ref' }} | ||
| image_tag: ${{ github.event_name == 'workflow_dispatch' && inputs.image_tag || '' }} | ||
| secrets: inherit | ||
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.
Uh oh!
There was an error while loading. Please reload this page.