-
Notifications
You must be signed in to change notification settings - Fork 2
ci: add consolidated GitOps test workflow with validation #1287
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
+34
−42
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9303a6a
ci: test ksail-cluster action integration
devantler f8da89f
ci: re-trigger CI with fixed ksail-cluster action
devantler fa09316
ci: re-trigger CI with updated validate workflow
devantler c0a0032
Merge branch 'main' into ci/test-ksail-cluster-action
devantler fe3e26d
ci: add consolidated GitOps test workflow with validation
devantler 8456a8e
ci: rename ci-gitops-test to ci.yaml, scope to main PRs
devantler 63beafe
ci: call ksail-cluster action directly instead of reusable workflow
devantler ab86e12
Update .github/workflows/ci.yaml
devantler 25b95d9
ci: pin ksail-cluster action to SHA and add environment
devantler b3ebab8
Rename GitOps test step to System Test
devantler c0b4742
fix: correct Kyverno schema and update ksail action SHA
devantler ec4f1b9
ci: pin ksail-cluster action to v5.74.3 release tag
devantler 1bdf927
ci: gate test job to non-fork PRs to prevent secrets access failures
Copilot 568ea5d
fix: exclude cost-optimization from policy sync to fix validation
devantler 14423fe
ci: re-trigger after adding SOPS_AGE_KEY to ci environment
devantler a56f3ca
ci: skip system test in merge queue
devantler 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,33 @@ | ||
| name: CI | ||
| on: | ||
| pull_request: | ||
| branches: [main] | ||
| merge_group: | ||
|
|
||
devantler marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| test: | ||
| if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository | ||
devantler marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| runs-on: ubuntu-latest | ||
| environment: ci | ||
| steps: | ||
| - name: 📑 Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: 🧪 System Test | ||
| uses: devantler-tech/ksail/.github/actions/ksail-cluster@e8af568986b21cb6e1ed1b3be92ff9c8c3612363 # v5.74.3 | ||
| with: | ||
| distribution: Talos | ||
| provider: Docker | ||
| init: "false" | ||
| validate: "true" | ||
| sops-age-key: ${{ secrets.SOPS_AGE_KEY }} | ||
|
||
| hosts-file: ${{ vars.HOSTS_FILE }} | ||
| root-ca-cert-file: ${{ vars.ROOT_CA_CERT_FILE }} | ||
devantler marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| push: "true" | ||
devantler marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| reconcile: "true" | ||
| delete: "true" | ||
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
42 changes: 0 additions & 42 deletions
42
...uster-policies/samples/cost-optimization/schedule-based-quotas/schedule-based-quotas.yaml
This file was deleted.
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.