chore: Don't use satellites for integration tests
This commit is contained in:
parent
8069006c03
commit
ab87f6548d
2 changed files with 6 additions and 26 deletions
16
.github/workflows/build-pr.yml
vendored
16
.github/workflows/build-pr.yml
vendored
|
|
@ -71,21 +71,9 @@ jobs:
|
|||
steps:
|
||||
- name: Maximize build space
|
||||
uses: ublue-os/remove-unwanted-software@v6
|
||||
env:
|
||||
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||
if: env.EARTHLY_SAT_TOKEN == null
|
||||
|
||||
- uses: earthly/actions-setup@v1
|
||||
|
||||
- name: Earthly login
|
||||
env:
|
||||
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||
if: env.EARTHLY_SAT_TOKEN != null
|
||||
run: |
|
||||
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
|
||||
earthly org s blue-build
|
||||
earthly sat s integration-tests
|
||||
|
||||
# Setup repo and add caching
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -94,7 +82,9 @@ jobs:
|
|||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||
|
||||
- name: Run integration tests
|
||||
run: earthly --ci -P ./integration-tests+all
|
||||
run: |
|
||||
earthly bootstrap
|
||||
earthly --ci -P ./integration-tests+all
|
||||
|
||||
docker-build:
|
||||
timeout-minutes: 60
|
||||
|
|
|
|||
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -70,21 +70,9 @@ jobs:
|
|||
steps:
|
||||
- name: Maximize build space
|
||||
uses: ublue-os/remove-unwanted-software@v6
|
||||
env:
|
||||
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||
if: env.EARTHLY_SAT_TOKEN == null
|
||||
|
||||
- uses: earthly/actions-setup@v1
|
||||
|
||||
- name: Earthly login
|
||||
env:
|
||||
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||
if: env.EARTHLY_SAT_TOKEN != null
|
||||
run: |
|
||||
earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null
|
||||
earthly org s blue-build
|
||||
earthly sat s integration-tests
|
||||
|
||||
# Setup repo and add caching
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -92,7 +80,9 @@ jobs:
|
|||
|
||||
- name: Run integration tests
|
||||
if: github.repository == 'blue-build/cli'
|
||||
run: earthly --ci -P ./integration-tests+all
|
||||
run: |
|
||||
earthly bootstrap
|
||||
earthly --ci -P ./integration-tests+all
|
||||
|
||||
docker-build:
|
||||
timeout-minutes: 60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue