Skip to content

Commit 01d883f

Browse files
authoredJul 31, 2024··
chore: fix sonarqube runner to big-boy-4-core (#106)
## Description This fixes the runner that is used to release SonarQube ## Related Issue Fixes #N/A ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [X] Other (security config, docs update, etc) ## Checklist before merging - [X] Test, docs, adr added or updated as needed - [X] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-package-sonarqube/blob/main/CONTRIBUTING.md#developer-workflow) followed Release-As: v10.6.0-uds.0
1 parent 56805a5 commit 01d883f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed
 

‎.github/workflows/tag-and-release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
publish-package:
2323
needs: tag-new-version
2424
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }}
25-
runs-on: ${{ matrix.architecture == 'arm64' && 'uds-swf-ubuntu-arm64-4-core' || 'ubuntu-latest' }}
25+
runs-on: ${{ matrix.architecture == 'arm64' && 'uds-swf-ubuntu-arm64-4-core' || 'uds-swf-ubuntu-big-boy-4-core' }}
2626
strategy:
2727
matrix:
2828
flavor: [upstream, unicorn, registry1]

‎tasks/test.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ tasks:
3131
- name: ui
3232
description: SonarQube UI Checks
3333
actions:
34-
- cmd: npm ci
35-
dir: tests
36-
- cmd: npx playwright install --with-deps
37-
dir: tests
38-
- cmd: npx playwright test
34+
- cmd: |
35+
docker run --rm --ipc=host --net=host --mount type=bind,source="$(pwd)",target=/app mcr.microsoft.com/playwright:v1.43.1-jammy sh -c " \
36+
cd app && \
37+
npm ci && \
38+
npx playwright test \
39+
"
3940
dir: tests

0 commit comments

Comments
 (0)
Please sign in to comment.