chore: Fix integration-tests for forks
This commit is contained in:
parent
0012eadef7
commit
2a85c2732b
3 changed files with 23 additions and 8 deletions
15
.github/workflows/build-pr.yml
vendored
15
.github/workflows/build-pr.yml
vendored
|
|
@ -33,8 +33,15 @@ jobs:
|
||||||
ref: ${{ github.event.pull_request.ref }}
|
ref: ${{ github.event.pull_request.ref }}
|
||||||
|
|
||||||
- name: Run build
|
- name: Run build
|
||||||
run: |
|
run: earthly --ci +build
|
||||||
earthly --ci +build
|
|
||||||
earthly sat s blue-build-integration-tests
|
- name: Switch to integration-tests satellite
|
||||||
earthly --ci -P ./integration-tests+all
|
env:
|
||||||
|
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||||
|
if: env.EARTHLY_SAT_TOKEN != null
|
||||||
|
run: earthly sat s blue-build-integration-tests
|
||||||
|
|
||||||
|
- name: Run integration tests
|
||||||
|
if: github.repository == 'blue-build/cli'
|
||||||
|
run: earthly --ci -P ./integration-tests+all
|
||||||
|
|
||||||
|
|
|
||||||
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
|
@ -47,7 +47,14 @@ jobs:
|
||||||
|
|
||||||
- name: Run build
|
- name: Run build
|
||||||
if: github.repository == 'blue-build/cli'
|
if: github.repository == 'blue-build/cli'
|
||||||
run: |
|
run: earthly --push --ci +build
|
||||||
earthly --push --ci +build
|
|
||||||
earthly sat s blue-build-integration-tests
|
- name: Switch to integration-tests satellite
|
||||||
earthly --ci -P ./integration-tests+all
|
env:
|
||||||
|
EARTHLY_SAT_TOKEN: ${{ secrets.EARTHLY_SAT_TOKEN }}
|
||||||
|
if: env.EARTHLY_SAT_TOKEN != null
|
||||||
|
run: earthly sat s blue-build-integration-tests
|
||||||
|
|
||||||
|
- name: Run integration tests
|
||||||
|
if: github.repository == 'blue-build/cli'
|
||||||
|
run: earthly --ci -P ./integration-tests+all
|
||||||
|
|
|
||||||
1
integration-tests/test-repo/.gitignore
vendored
Normal file
1
integration-tests/test-repo/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/Containerfile
|
||||||
Loading…
Add table
Add a link
Reference in a new issue