-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: try running on k8s-apps directory change (#144)
* ci: try running on k8s-apps directory change * chore: remove burrito resources * feat: try path filtering * chore: remove k8tz * docs: [ci] updated deployed apps table * chore: try failing ci * fix: trigger ci with bogus change * fix: remove yq setup as it's already installed * ci: check if it doesn't trigger * fix: conditions --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a5d71fe
commit 85b4b8e
Showing
10 changed files
with
11 additions
and
231 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 |
---|---|---|
|
@@ -4,19 +4,28 @@ on: | |
push: | ||
paths: | ||
- argocd-apps/applicationset.yaml | ||
- k8s-apps/** | ||
|
||
jobs: | ||
update-deployed-apps-table: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- uses: jaxxstorm/[email protected] | ||
- name: Filter paths | ||
uses: dorny/paths-filter@v3 | ||
id: filter | ||
with: | ||
repo: mikefarah/yq | ||
filters: | | ||
argocd-apps: | ||
- 'argocd-apps/**' | ||
k8s-apps: | ||
- deleted: 'k8s-apps/**' | ||
- name: Update deployed apps table | ||
if: steps.filter.outputs.argocd-apps == 'true' || steps.filter.outputs.k8s-apps == 'true' | ||
run: ./scripts/update-deployed-apps.sh | ||
- name: Commit changes | ||
if: steps.filter.outputs.argocd-apps == 'true' || steps.filter.outputs.k8s-apps == 'true' | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
default_author: github_actions | ||
|
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
k8s-apps/burrito-resources/templates/terraform-repository.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.