Show backup files #238
Workflow file for this run
This file contains hidden or 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: Lint and release charts | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint-firefly-db: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.3.1 | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config ct.yaml --charts charts/firefly-db | |
| lint-firefly-iii: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.3.1 | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config ct.yaml --charts charts/firefly-iii | |
| lint-importer: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.3.1 | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config ct.yaml --charts charts/importer | |
| lint-stack: | |
| needs: [lint-firefly-db, lint-firefly-iii, lint-importer] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.3.1 | |
| - name: Run chart-testing (lint) | |
| run: ct lint --config ct.yaml --charts charts/firefly-iii-stack | |
| release: | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| needs: | |
| - lint-stack | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure Git | |
| run: | | |
| git config user.name "$GITHUB_ACTOR" | |
| git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
| - name: Install Helm | |
| uses: azure/setup-helm@v1 | |
| with: | |
| # renovate: datasource=github-releases depName=helm/helm | |
| version: v3.8.0 | |
| - name: Run chart-releaser | |
| uses: helm/chart-releaser-action@v1.7.0 | |
| env: | |
| CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| # Skip upload of existing charts. This is useful when not bumping version numbers | |
| # for simple documentation updates | |
| CR_SKIP_EXISTING: true |