Force the use of amd64 runners for jobs using ci-base
This commit is contained in:
parent
76e408e42d
commit
c37561214a
1 changed files with 18 additions and 0 deletions
|
@ -32,7 +32,13 @@ before_script:
|
||||||
after_script:
|
after_script:
|
||||||
- rm -rf _build/*/lib/pleroma
|
- rm -rf _build/*/lib/pleroma
|
||||||
|
|
||||||
|
.using-ci-base:
|
||||||
|
tags:
|
||||||
|
- amd64
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
changes: &build_changes_policy
|
changes: &build_changes_policy
|
||||||
|
@ -44,6 +50,8 @@ build:
|
||||||
- mix compile --force
|
- mix compile --force
|
||||||
|
|
||||||
spec-build:
|
spec-build:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
|
@ -57,6 +65,8 @@ spec-build:
|
||||||
- mix pleroma.openapi_spec spec.json
|
- mix pleroma.openapi_spec spec.json
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: benchmark
|
stage: benchmark
|
||||||
when: manual
|
when: manual
|
||||||
variables:
|
variables:
|
||||||
|
@ -71,6 +81,8 @@ benchmark:
|
||||||
- mix pleroma.load_testing
|
- mix pleroma.load_testing
|
||||||
|
|
||||||
unit-testing:
|
unit-testing:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
changes: *build_changes_policy
|
changes: *build_changes_policy
|
||||||
|
@ -94,6 +106,8 @@ unit-testing:
|
||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
|
|
||||||
unit-testing-erratic:
|
unit-testing-erratic:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: test
|
stage: test
|
||||||
retry: 2
|
retry: 2
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
@ -129,6 +143,8 @@ unit-testing-erratic:
|
||||||
# - mix test --trace --only federated
|
# - mix test --trace --only federated
|
||||||
|
|
||||||
unit-testing-rum:
|
unit-testing-rum:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
changes: *build_changes_policy
|
changes: *build_changes_policy
|
||||||
|
@ -162,6 +178,8 @@ lint:
|
||||||
- mix format --check-formatted
|
- mix format --check-formatted
|
||||||
|
|
||||||
analysis:
|
analysis:
|
||||||
|
extends:
|
||||||
|
- .using-ci-base
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
only:
|
||||||
changes: *build_changes_policy
|
changes: *build_changes_policy
|
||||||
|
|
Loading…
Reference in a new issue