Skip to content

Commit

Permalink
ci: try running on k8s-apps directory change (#144)
Browse files Browse the repository at this point in the history
* 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
cterence and github-actions[bot] authored Aug 23, 2024
1 parent a5d71fe commit 85b4b8e
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 231 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/update-deployed-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
| [httpbin](./scripts/../k8s-apps/httpbin) | Echoes request data as JSON ||
| [immich](./scripts/../k8s-apps/immich) | High performance self-hosted photo and video management solution ||
| [ingress-nginx](./scripts/../k8s-apps/ingress-nginx) | Ingress-NGINX Controller for Kubernetes ||
| [k8tz](./scripts/../k8s-apps/k8tz) | Kubernetes admission controller and a CLI tool to inject timezones into Pods and CronJobs ||
| [komoplane](./scripts/../k8s-apps/komoplane) | Crossplane Troubleshooting Tool by Komodor ||
| [kube-prometheus-stack](./scripts/../k8s-apps/kube-prometheus-stack) | kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator ||
| [loki](./scripts/../k8s-apps/loki) | Like Prometheus, but for logs ||
Expand Down
6 changes: 0 additions & 6 deletions k8s-apps/burrito-resources/Chart.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions k8s-apps/burrito-resources/templates/external-secret.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions k8s-apps/burrito-resources/templates/terraform-layer.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions k8s-apps/burrito-resources/templates/terraform-repository.yaml

This file was deleted.

85 changes: 0 additions & 85 deletions k8s-apps/burrito-resources/values.yaml

This file was deleted.

1 change: 0 additions & 1 deletion k8s-apps/cilium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# This is flag is not required for new installations.
# For example: 1.7, 1.8, 1.9
# upgradeCompatibility: '1.8'

cilium:
debug:
# -- Enable debug logging
Expand Down
9 changes: 0 additions & 9 deletions k8s-apps/k8tz/Chart.yaml

This file was deleted.

72 changes: 0 additions & 72 deletions k8s-apps/k8tz/values.yaml

This file was deleted.

0 comments on commit 85b4b8e

Please sign in to comment.