feat: Allow customization of busola #4972
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: Accessibility Tests | |
| on: | |
| schedule: | |
| - cron: '0 6 * * 1' | |
| pull_request_target: | |
| types: [opened, edited, synchronize, reopened, ready_for_review] | |
| paths: | |
| - '.github/workflows/accessibility-tests.yml' | |
| - '.github/scripts/**' | |
| - 'resources/**' | |
| - 'tests/integration/**' | |
| - 'nginx/**' | |
| - 'src/**' | |
| - 'backend/**' | |
| - 'kyma/**' | |
| - 'Dockerfile*' | |
| - 'package.json' | |
| jobs: | |
| run-accessibility-tests: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Merge with latest main | |
| uses: ./.github/actions/merge | |
| - name: Install k3d | |
| shell: bash | |
| env: | |
| K3D_URL: https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | |
| run: curl --silent --fail $K3D_URL | bash | |
| - name: Setup Kyma | |
| shell: bash | |
| run: | | |
| ./.github/scripts/provision_k3d_for_kyma.sh | tee kyma-provision.log | |
| ./.github/scripts/install-kyma.sh | tee kyma-alpha-deploy.log | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Setup busola | |
| shell: bash | |
| run: | | |
| .github/scripts/setup_local_busola.sh | tee busola.log | |
| - name: Run tests | |
| shell: bash | |
| env: | |
| ACC_AMP_TOKEN: ${{ secrets.ACC_AMP_TOKEN }} | |
| run: | | |
| IS_PR=$([ "${{ github.event_name }}" == 'pull_request' ] || [ "${{ github.event_name }}" == 'pull_request_target' ] && echo true || echo false) | |
| k3d kubeconfig get kyma > tests/integration/fixtures/kubeconfig.yaml | |
| export CYPRESS_DOMAIN=http://localhost:3001 | |
| cd tests/integration | |
| npm ci && ACC_AMP_TOKEN=$ACC_AMP_TOKEN IS_PR=$IS_PR npm run "test:accesibility" | |
| - name: Uploads artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: cypress-${{ github.job }} | |
| path: tests/integration/cypress/ | |
| retention-days: 90 | |
| - name: Upload Busola logs | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ always() }} | |
| with: | |
| name: busola-logs-${{ github.job }} | |
| path: | | |
| backend/backend.log | |
| kyma-alpha-deploy.log | |
| kyma-provision.log | |
| busola.log | |
| retention-days: 90 |