v0.11.2 #17
Workflow file for this run
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: Helm Publish | |
on: | |
release: | |
types: | |
- published | |
permissions: | |
contents: read | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@6dacdfc16caa5ebd987908a44ab5b425193385f6 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@96f53100ba2a5449eb71d2e6604bbcd94b9449b5 | |
with: | |
fetch-depth: 0 | |
- uses: dave-mcconnell/helm-gh-pages-microservices@8478af5f0fd712cc0fb59f2c99e0688f3f591287 | |
with: | |
access-token: ${{ secrets.CR_TOKEN }} | |
source-charts-folder: 'chart' | |
destination-repo: k8gb-io/k8gb | |
destination-branch: gh-pages | |
- name: Create k3s cluster | |
uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 | |
with: | |
cluster-name: "test-gslb1" | |
args: -c k3d/test-gslb1.yaml | |
- name: Smoke test helm installation | |
run: | | |
helm repo add k8gb https://k8gb.io/ | |
helm repo update | |
helm -n k8gb upgrade -i k8gb k8gb/k8gb --wait --create-namespace --version=$(make version) | |
- name: Invoke workflow for OLM | |
uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385 | |
with: | |
workflow: OLM bundle and PR | |
token: ${{ secrets.CR_TOKEN }} | |
inputs: '{ "bundleVersion": "master" }' |