Skip to content

feat: set taskmaster manifest from FOCA config #153

feat: set taskmaster manifest from FOCA config

feat: set taskmaster manifest from FOCA config #153

---
name: Build and Publish Helm Charts
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
create-cluster:
name: Create k3s Cluster
runs-on: ubuntu-latest
needs: checkout

Check failure on line 16 in .github/workflows/build_and_publish_charts.yaml

View workflow run for this annotation

GitHub Actions / Build and Publish Helm Charts

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_publish_charts.yaml (Line: 16, Col: 12): Job 'create-cluster' depends on unknown job 'checkout'. .github/workflows/build_and_publish_charts.yaml (Line: 34, Col: 12): Job 'helm-deps' depends on unknown job 'checkout'.
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Create k3s Cluster
uses: debianmaster/[email protected]
with:
version: 'latest'
- name: Create namespace
run: kubectl create ns tesk
helm-deps:
name: Helm Dependencies
runs-on: ubuntu-latest
needs: checkout
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Helm Deps
run: |
for dir in $(ls -d deployment/charts/*); do
helm dependency update $dir;
done
helm-lint:
name: Helm Lint
runs-on: ubuntu-latest
needs: [helm-deps]
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Helm Lint
run: |
for dir in $(ls -d deployment/charts/*); do
helm lint $dir
done
chart-releaser:
name: Run chart-releaser
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
...