feat: set taskmaster manifest from FOCA config #153
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: 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 GitHub Actions / Build and Publish Helm ChartsInvalid workflow file
|
||
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 }}" | ||
... |