Skip to content

Commit

Permalink
[ci]: Migrate to AWS spot runners CI (#4306)
Browse files Browse the repository at this point in the history
[ci]: Migrate to AWS spot CI runners

Signed-off-by: BAStos525 <[email protected]>
  • Loading branch information
BAStos525 authored Feb 23, 2024
1 parent 70f4114 commit 5fc67f1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/iroha2-dev-pr-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,3 @@ jobs:
working-directory: client_cli/pytests
run: |
poetry run flake8 . --max-line-length=110 --ignore=F401,W503,E203
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-pr-wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:

jobs:
tests:
runs-on: ubuntu-latest #[self-hosted, Linux]
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
consistency:
runs-on: [self-hosted, Linux, iroha2ci]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand All @@ -36,7 +36,7 @@ jobs:
run: ./scripts/tests/consistency.sh docker-compose

with_coverage:
runs-on: [self-hosted, Linux, iroha2ci]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
# fail_ci_if_error: false

integration:
runs-on: [self-hosted, Linux, iroha2ci]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
timeout-minutes: 30
Expand All @@ -85,7 +85,7 @@ jobs:
integration:: --skip unstable_network
unstable:
runs-on: [self-hosted, Linux, iroha2ci]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
timeout-minutes: 60
Expand All @@ -99,7 +99,7 @@ jobs:
pr-generator-build:
# Job will only execute if the head of the pull request is a branch for PR-generator case
if: startsWith(github.head_ref, 'iroha2-pr-deploy/')
runs-on: [self-hosted, Linux, iroha2-dev-push]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
context: .

client-cli-tests:
runs-on: [self-hosted, Linux, iroha2ci]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
timeout-minutes: 60
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
registry:
runs-on: [self-hosted, Linux, iroha2-dev-push]
runs-on: [self-hosted, Linux, iroha2]
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-profiling-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

jobs:
registry:
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/iroha2-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
client-cli-tests:
runs-on: [self-hosted, Linux, iroha2ci]
runs-on: [self-hosted, Linux, iroha2]
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
timeout-minutes: 60
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: bash -c './scripts/tests/panic_on_invalid_genesis.sh'

bench:
runs-on: ubuntu-latest #[self-hosted, Linux]
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand All @@ -75,7 +75,7 @@ jobs:
# ------------------------------ SDK tests go here ------------------------

java-api:
runs-on: ubuntu-latest #[self-hosted, Linux]
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
rm -f ~/.gradle/caches/modules-2/gc.properties
long:
runs-on: ubuntu-latest #[self-hosted, Linux]
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2024-01-12
steps:
Expand Down

0 comments on commit 5fc67f1

Please sign in to comment.