Skip to content

Commit e20b253

Browse files
committed
fixup! fixup! Bump GitHub Actions
1 parent 6389f53 commit e20b253

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

.action_templates/e2e-fork-template.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ jobs:
66
if: contains(github.event.pull_request.labels.*.name, 'dependencies') || contains(github.event.pull_request.labels.*.name, 'safe-to-test')
77
steps:
88
# - template: cancel-previous
9-
- template: checkout-fork
9+
# - template: checkout-fork
1010
# - template: setup-and-install-python
1111
# - template: quay-login
1212
# - template: set-up-qemu
13-
# - template: build-and-push-development-images
13+
- template: build-and-push-development-images
1414
- template: tests
1515
steps:
1616
# - template: cancel-previous
17-
- template: checkout-fork
17+
# - template: checkout-fork
1818
# - template: set-run-status
1919
# - template: setup-and-install-python
2020
# - template: setup-kind-cluster
2121
# if: steps.last_run_status.outputs.last_run_status != 'success'
2222
# - template: run-test-matrix
23-
# - template: save-run-status
23+
- template: save-run-status
2424
# - template: dump-and-upload-diagnostics
2525

2626
events:

.github/workflows/e2e-fork.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
if: contains(github.event.pull_request.labels.*.name, 'dependencies') || contains(github.event.pull_request.labels.*.name,
4242
'safe-to-test')
4343
steps:
44-
# template: .action_templates/steps/checkout-fork.yaml
45-
- name: Checkout Code
46-
uses: actions/checkout@v4
47-
with:
48-
ref: ${{github.event.pull_request.head.sha}}
49-
repository: ${{github.event.pull_request.head.repo.full_name}}
50-
submodules: true
44+
# template: .action_templates/steps/build-and-push-development-images.yaml
45+
- name: Build and Push Images
46+
run: |
47+
python pipeline.py --image-name ${{ matrix.pipeline-argument }} --tag ${{ github.run_id }}
48+
env:
49+
MONGODB_COMMUNITY_CONFIG: ${{ github.workspace }}/scripts/ci/config.json
50+
version_id: ${{ github.run_id }}
5151
# template: .action_templates/jobs/tests.yaml
5252
tests:
5353
runs-on: ubuntu-latest
@@ -118,10 +118,8 @@ jobs:
118118
- test-name: replica_set_remove_user
119119
distro: ubi
120120
steps:
121-
# template: .action_templates/steps/checkout-fork.yaml
122-
- name: Checkout Code
123-
uses: actions/checkout@v4
124-
with:
125-
ref: ${{github.event.pull_request.head.sha}}
126-
repository: ${{github.event.pull_request.head.repo.full_name}}
127-
submodules: true
121+
# template: .action_templates/steps/save-run-status.yaml
122+
- name: Save run status
123+
if: always()
124+
run: echo "::set-output name=last_run_status::${{ steps.e2e_test.outcome }}"
125+
> last_run_status

0 commit comments

Comments
 (0)