Bump start-server-and-test from 2.0.1 to 2.0.3 in /backstage #3537
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 CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint-test: | |
# pull requests are a duplicate of a branch push if within the same repo. | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
with: | |
fetch-depth: 0 | |
- name: Setup Helm | |
uses: azure/setup-helm@v3.5 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
- name: Setup chart-testing | |
uses: helm/chart-testing-action@v2.6.0 | |
- name: Install chart dependencies | |
run: helm repo add bitnami https://charts.bitnami.com/bitnami | |
- name: Lint | |
run: > | |
ct lint | |
--target-branch=${{ github.event.repository.default_branch }} | |
--validate-maintainers=false | |
- name: List Changed | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | |
if [[ -n "$changed" ]]; then | |
echo "changed=true" >> $GITHUB_OUTPUT | |
fi | |
- name: Create kind cluster | |
if: steps.list-changed.outputs.changed == 'true' | |
uses: helm/kind-action@v1.8.0 | |
- name: Create test namespace | |
if: steps.list-changed.outputs.changed == 'true' | |
run: kubectl create namespace test | |
- name: Create nessacary secrets | |
if: steps.list-changed.outputs.changed == 'true' | |
run: > | |
kubectl create secret generic developer-portal-secrets | |
--namespace=test | |
--from-literal=github-token="" | |
--from-literal=github-app-client-id="" | |
--from-literal=github-app-secret="" | |
--from-literal=gitlab-token="" | |
- name: Test install | |
if: steps.list-changed.outputs.changed == 'true' | |
run: > | |
ct install | |
--namespace=test | |
--target-branch=${{ github.event.repository.default_branch }} |