mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
ci: run linux jobs on lux-build-amd64 ARC scale set (no GitHub-hosted builders)
This commit is contained in:
@@ -25,7 +25,7 @@ permissions:
|
||||
jobs:
|
||||
code_quality:
|
||||
name: Code quality
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip checks') && !(github.event.action == 'unlabeled' && github.event.label.name != 'skip checks') }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
toolkit_build_check:
|
||||
name: Toolkit build check
|
||||
needs: [ code_quality ]
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
|
||||
envs_validation:
|
||||
name: ENV variables validation
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
needs: [ code_quality ]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
@@ -181,7 +181,7 @@ jobs:
|
||||
vitest_tests:
|
||||
name: Unit tests
|
||||
needs: [ code_quality, envs_validation ]
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -218,7 +218,7 @@ jobs:
|
||||
|
||||
pw_affected_tests:
|
||||
name: Resolve affected Playwright tests
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
needs: [ code_quality, envs_validation ]
|
||||
if: github.event_name == 'pull_request'
|
||||
steps:
|
||||
@@ -273,7 +273,7 @@ jobs:
|
||||
needs.code_quality.result == 'success' &&
|
||||
needs.envs_validation.result == 'success' &&
|
||||
(needs.pw_affected_tests.result == 'success' || needs.pw_affected_tests.result == 'skipped')
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.57.0-noble
|
||||
|
||||
@@ -342,7 +342,7 @@ jobs:
|
||||
name: Generate Playwright report
|
||||
# Merge reports after pw_tests job, even if some shards have failed
|
||||
if: ${{ !cancelled() }}
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
needs: [ pw_tests ]
|
||||
steps:
|
||||
- name: Download blob reports from GitHub Actions Artifacts
|
||||
|
||||
@@ -29,7 +29,7 @@ permissions:
|
||||
jobs:
|
||||
run:
|
||||
name: Run
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
steps:
|
||||
- name: Find unique labels
|
||||
id: find_unique_labels
|
||||
|
||||
@@ -49,7 +49,7 @@ permissions:
|
||||
jobs:
|
||||
make_slug:
|
||||
name: Make GitHub reference slug
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
outputs:
|
||||
REF_SLUG: ${{ steps.output.outputs.REF_SLUG }}
|
||||
steps:
|
||||
|
||||
@@ -54,7 +54,7 @@ permissions:
|
||||
jobs:
|
||||
make_slug:
|
||||
name: Make GitHub reference slug
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
outputs:
|
||||
REF_SLUG: ${{ steps.output.outputs.REF_SLUG }}
|
||||
steps:
|
||||
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
deploy_e2e:
|
||||
name: Deploy E2E instance
|
||||
needs: publish_image
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
permissions: write-all
|
||||
steps:
|
||||
- name: Get Vault credentials
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
test:
|
||||
name: Run tests
|
||||
needs: deploy_e2e
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
permissions: write-all
|
||||
steps:
|
||||
- name: Get Vault credentials
|
||||
|
||||
@@ -56,7 +56,7 @@ permissions:
|
||||
jobs:
|
||||
run:
|
||||
name: Run
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
outputs:
|
||||
issues: ${{ steps.linked_issues.outputs.result }}
|
||||
steps:
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
version:
|
||||
name: Pre-release version info
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
permissions:
|
||||
contents: read
|
||||
outputs:
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
pr_linked_issues:
|
||||
name: Get issues linked to PR
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
if: ${{ github.event.pull_request && github.event.action == 'review_requested' }}
|
||||
outputs:
|
||||
issues: ${{ steps.linked_issues.outputs.result }}
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
remove_prerelease_label:
|
||||
name: Remove pre-release label from issues
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
steps:
|
||||
- name: Remove label
|
||||
id: tags
|
||||
|
||||
@@ -5,7 +5,7 @@ on:
|
||||
|
||||
jobs:
|
||||
close-issues:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
@@ -16,7 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
name: Publish package to NPM registry
|
||||
permissions:
|
||||
id-token: write
|
||||
|
||||
@@ -47,7 +47,7 @@ permissions:
|
||||
jobs:
|
||||
run:
|
||||
name: Run
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: lux-build-amd64
|
||||
steps:
|
||||
- name: Getting project info
|
||||
id: project_info
|
||||
|
||||
Reference in New Issue
Block a user