Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated runs-on #570

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
24 changes: 20 additions & 4 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 Down
Loading