Skip to content

Commit

Permalink
build: add cron for dependecy chart updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Jan 29, 2024
1 parent 0b7d6e7 commit af52921
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/bump-chart-version.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

name: Bump Chart Version
on:
workflow_call:
workflow_dispatch:
inputs:
chart:
type: string
Expand All @@ -15,6 +15,9 @@ on:
concurrency:
group: ${{ github.workflow }}

env:
HELM_REPOSITORY_CONFIG: ${{ github.workspace }}/.github/helm/repositories.yaml

jobs:
bump-chart-version:
name: Bump Chart Patch Version on main branch
Expand Down
28 changes: 3 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: CI
on:
push:

env:
HELM_REPOSITORY_CONFIG: ${{ github.workspace }}/.github/helm/repositories.yaml

jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -22,31 +25,6 @@ jobs:
with:
version: v3.13.3

- name: Add dependency chart repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add extension-aws https://steadybit.github.io/extension-aws
helm repo add extension-azure https://steadybit.github.io/extension-azure
helm repo add extension-container https://steadybit.github.io/extension-container
helm repo add extension-datadog https://steadybit.github.io/extension-datadog
helm repo add extension-dynatrace https://steadybit.github.io/extension-dynatrace
helm repo add extension-gatling https://steadybit.github.io/extension-gatling
helm repo add extension-gcp https://steadybit.github.io/extension-gcp
helm repo add extension-host https://steadybit.github.io/extension-host
helm repo add extension-http https://steadybit.github.io/extension-http
helm repo add extension-instana https://steadybit.github.io/extension-instana
helm repo add extension-istio https://steadybit.github.io/extension-istio
helm repo add extension-jmeter https://steadybit.github.io/extension-jmeter
helm repo add extension-jvm https://steadybit.github.io/extension-jvm
helm repo add extension-k6 https://steadybit.github.io/extension-k6
helm repo add extension-kong https://steadybit.github.io/extension-kong
helm repo add extension-kubernetes https://steadybit.github.io/extension-kubernetes
helm repo add extension-loadtest https://steadybit.github.io/extension-loadtest
helm repo add extension-newrelic https://steadybit.github.io/extension-newrelic
helm repo add extension-postman https://steadybit.github.io/extension-postman
helm repo add extension-prometheus https://steadybit.github.io/extension-prometheus
helm repo add extension-stackstate https://steadybit.github.io/extension-stackstate
- uses: actions/setup-python@v4

- name: Set up chart-testing
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ chart-bump-version:
fi; \
CHART_VERSION=$$(semver -i patch $$(yq '.version' $(CHART)/Chart.yaml)) \
yq -i ".version = strenv(CHART_VERSION)" $(CHART)/Chart.yaml; \
grep -e "^version:" -e "^appVersion:" $(CHART)/Chart.yaml; \
grep -e "^version:" -e "^appVersion:" $(CHART)/Chart.yaml;

0 comments on commit af52921

Please sign in to comment.