Skip to content

Commit

Permalink
Update runs-on
Browse files Browse the repository at this point in the history
  • Loading branch information
sferatime committed Nov 27, 2024
1 parent 3fa1bdf commit 328cae3
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,21 @@ concurrency:
cancel-in-progress: true
jobs:
build-image:
runs-on: neon-evm-1
runs-on: ["self-hosted", "k8s-prod"]
outputs:
evm_tag: ${{ steps.tags.outputs.evm_tag }}
evm_sha_tag: ${{ steps.tags.outputs.evm_sha_tag }}
evm_pr_version_branch: ${{ steps.tags.outputs.evm_pr_version_branch }}
is_evm_release: ${{ steps.tags.outputs.is_evm_release }}
neon_test_tag: ${{ steps.tags.outputs.neon_test_tag }}
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/setup-python@v5
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install -r ./.github/workflows/requirements.txt
- name: Specify image tags
run: |
python3 ./.github/workflows/deploy.py specify_image_tags \
Expand All @@ -60,13 +64,17 @@ jobs:
--evm_sha_tag=${{ steps.tags.outputs.evm_sha_tag }} \
--evm_tag=${{ steps.tags.outputs.evm_tag }}
run-evm-tests:
runs-on: test-runner
runs-on: ["self-hosted", "k8s-prod"]
needs:
- build-image
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/setup-python@v5
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install -r ./.github/workflows/requirements.txt
- name: Run tests
run: |
python3 ./.github/workflows/deploy.py run_tests \
Expand All @@ -78,13 +86,17 @@ jobs:
if: "failure()"
uses: "andymckay/[email protected]"
trigger-proxy-tests:
runs-on: trigger-runner
runs-on: ["self-hosted", "k8s-prod"]
needs:
- build-image
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/setup-python@v5
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install -r ./.github/workflows/requirements.txt
- name: Trigger proxy build
run: |
python3 ./.github/workflows/deploy.py trigger_proxy_action \
Expand All @@ -100,15 +112,19 @@ jobs:
if: "failure()"
uses: "andymckay/[email protected]"
finalize-image:
runs-on: neon-evm-1
runs-on: ["self-hosted", "k8s-prod"]
needs:
- build-image
- trigger-proxy-tests
- run-evm-tests
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/setup-python@v5
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: pip install -r ./.github/workflows/requirements.txt
- name: Finalize image
run: |
python3 ./.github/workflows/deploy.py finalize_image \
Expand All @@ -121,4 +137,4 @@ jobs:
python3 ./.github/workflows/deploy.py send_notification \
--evm_tag=${{ needs.build-image.outputs.evm_tag }} \
--url=${{secrets.SLACK_EVM_CHANNEL_URL}} \
--build_url=${BUILD_URL}
--build_url=${BUILD_URL}

0 comments on commit 328cae3

Please sign in to comment.