Skip to content

Commit

Permalink
Run on 8-cpu runners.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkachowski committed Feb 1, 2024
1 parent 121ce23 commit a4d0d50
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/blockscout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
jobs:
build-and-cache:
name: Build and Cache deps
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

credo:
name: Credo
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand All @@ -121,7 +121,7 @@ jobs:

check_formatted:
name: Code formatting checks
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand All @@ -147,7 +147,7 @@ jobs:
- run: mix format --check-formatted
dialyzer:
name: Dialyzer static analysis
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:

gettext:
name: Missing translation keys check
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
working-directory: "apps/block_scout_web"
sobelow:
name: Sobelow security analysis
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
working-directory: "apps/block_scout_web"
eslint:
name: ESLint
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:

jest:
name: JS Tests
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:

test_nethermind_mox_ethereum_jsonrpc:
name: EthereumJSONRPC Tests
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -423,7 +423,7 @@ jobs:
path: _build/test/junit/ethereum_jsonrpc/*.xml
test_nethermind_mox_explorer:
name: Explorer Tests
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -512,7 +512,7 @@ jobs:
path: _build/test/junit/explorer/*.xml
test_nethermind_mox_indexer:
name: Indexer Tests
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -585,7 +585,7 @@ jobs:

test_nethermind_mox_block_scout_web:
name: Blockscout Web Tests
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
Expand Down Expand Up @@ -702,7 +702,7 @@ jobs:

publish-test-results:
name: "Publish Unit Tests Results"
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
needs:
Expand All @@ -724,7 +724,7 @@ jobs:
files: artifacts/**/*.xml

set-docker-vars:
runs-on: ['self-hosted', 'org', 'blockscout']
runs-on: ['self-hosted', '8-cpu', 'blockscout']
container:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
needs: [credo, check_formatted, dialyzer, gettext, sobelow, eslint, jest, test_nethermind_mox_ethereum_jsonrpc, test_nethermind_mox_explorer, test_nethermind_mox_indexer, test_nethermind_mox_block_scout_web]
Expand Down
2 changes: 1 addition & 1 deletion bin/remote_iex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ main() {
echo "Got cookie"

echo "Connecting to $pod_name in $namespace..."
exec kubectl exec -i -t -n "$namespace" "$pod_name" -c "blockscout-$pod" -- sh -c "iex --name $USER@0.0.0.0 --cookie $cookie --remsh blockscout@$blockscout_ip"
exec kubectl exec -i -t -n "$namespace" "$pod_name" -c "blockscout-$pod" -- sh -c "iex --name dh3@0.0.0.0 --cookie $cookie --remsh blockscout@$blockscout_ip"
}

main "$@"

0 comments on commit a4d0d50

Please sign in to comment.