Skip to content

Commit

Permalink
chore: fix sonarqube runner to big-boy-4-core (#106)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
Racer159 authored Jul 31, 2024
1 parent 56805a5 commit 01d883f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
publish-package:
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }}
runs-on: ${{ matrix.architecture == 'arm64' && 'uds-swf-ubuntu-arm64-4-core' || 'ubuntu-latest' }}
runs-on: ${{ matrix.architecture == 'arm64' && 'uds-swf-ubuntu-arm64-4-core' || 'uds-swf-ubuntu-big-boy-4-core' }}
strategy:
matrix:
flavor: [upstream, unicorn, registry1]
Expand Down
11 changes: 6 additions & 5 deletions tasks/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ tasks:
- name: ui
description: SonarQube UI Checks
actions:
- cmd: npm ci
dir: tests
- cmd: npx playwright install --with-deps
dir: tests
- cmd: npx playwright test
- cmd: |
docker run --rm --ipc=host --net=host --mount type=bind,source="$(pwd)",target=/app mcr.microsoft.com/playwright:v1.43.1-jammy sh -c " \
cd app && \
npm ci && \
npx playwright test \
"
dir: tests

0 comments on commit 01d883f

Please sign in to comment.