feat: add cosi helm chart (#1529) #129
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
name: publish | |
on: | |
push: | |
branches: [ master, release/* ] | |
paths: | |
- "staging/**" | |
- "stable/**" | |
- ".github/workflows/publish.yml" | |
jobs: | |
charts: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install asdf plugins | |
uses: asdf-vm/actions/install@v2 | |
- name: gather versions | |
uses: jimmidyson/asdf-parse-tool-versions@v2 | |
id: versions | |
# We're switching directories for building the charts, so we need to set the helm and chart testing plugins | |
# to the correct version globally. | |
# Otherwise, we're getting errors like: | |
# Consider adding one of the following versions in your config file at | |
# helm 3.10.1 | |
# Even though step giving a warning in the log it's still working. | |
- name: Set global tool versions | |
env: | |
HELM_VERSION: ${{ fromJson(steps.versions.outputs.tools).helm }} | |
HELM_CT_VERSION: ${{ fromJson(steps.versions.outputs.tools).helm-ct }} | |
run: | | |
asdf global helm $HELM_VERSION | |
asdf global helm-ct $HELM_CT_VERSION | |
- name: Publish charts | |
run: make publish | |
env: | |
COMMIT_EMAIL: "[email protected]" | |
COMMIT_USERNAME: "D2iQ CI" | |
GIT_REMOTE_URL: "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/mesosphere/charts.git" |