Skip to content

Commit

Permalink
Merge 90a9c16 into 1e463c6
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak authored Feb 21, 2023
2 parents 1e463c6 + 90a9c16 commit 6f93da1
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 18 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: lint

on:

pull_request:
branches:
- master
paths:
- 'charts/**'
- '.github/workflows/lint.yml'
push:
branches:
- master
paths:
- 'charts/**'
- '.github/workflows/lint.yml'
schedule:
- cron: "0 5 * * 5"

jobs:

lint:

name: lint
runs-on: ubuntu-latest
steps:

- name: check out the codebase
uses: actions/checkout@v2

- name: install kubectl
uses: azure/setup-kubectl@v3

- uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true

- name: set up chart-testing
uses: helm/[email protected]

- name: lint charts
run: ct lint --chart-dirs $GITHUB_WORKSPACE/charts --all --validate-maintainers=false
19 changes: 4 additions & 15 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,18 @@ name: molecule
on:

pull_request:
paths:
- 'charts/**'
push:
branches:
- master
paths:
- 'charts/**'
schedule:
- cron: "0 5 * * 5"

jobs:

lint:

name: lint
runs-on: ubuntu-latest
steps:

- name: check out the codebase
uses: actions/checkout@v2

- name: install kubectl
uses: azure/setup-kubectl@v3

- name: lint chart
run: helm lint charts/dataplane

molecule:

name: molecule
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: release chart

on:

pull_request:
branches:
- master
paths:
- 'charts/**'
- '.github/workflows/release.yml'
push:
branches:
- master
paths:
- 'charts/**'
- '.github/workflows/release.yml'

jobs:

release:
runs-on: ubuntu-latest
steps:

- name: checkout
uses: actions/checkout@v1

- name: configure git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: release chart
uses: helm/[email protected]
env:
CR_TOKEN: '${{ secrets.GH_TOKEN }}'
2 changes: 1 addition & 1 deletion charts/dataplane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ version: 0.0.6
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.0.6"
appVersion: "0.0.8"
4 changes: 2 additions & 2 deletions charts/dataplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ util:

cdc:

postgres: []
mysql: []
postgres: []
mysql: []

strimzi:

Expand Down

0 comments on commit 6f93da1

Please sign in to comment.