Skip to content

Commit 734b817

Browse files
committed
Patch
1 parent 800de65 commit 734b817

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919

2020
build:
21-
if: (github.event_name == 'push' && github.repository == 'otterize/network-mapper') || github.event.pull_request.head.repo.full_name == 'otterize/network-mapper'
21+
if: false
2222
name: Build
2323
runs-on: ubuntu-latest
2424
outputs:
@@ -78,15 +78,16 @@ jobs:
7878
# Must pass the secrets as the called workflow does not have access to the same context
7979
secrets:
8080
B64_GCLOUD_SERVICE_ACCOUNT_JSON: ${{ secrets.B64_GCLOUD_SERVICE_ACCOUNT_JSON }}
81+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
8182
with:
8283
registry: ${{ needs.build.outputs.registry }}
83-
mapper-tag: ${{ github.sha }}
84-
sniffer-tag: ${{ github.sha }}
84+
mapper-tag: c5790a0ff73120858c6afb7ba421a87f76fa8044
85+
sniffer-tag: c5790a0ff73120858c6afb7ba421a87f76fa8044
8586
mapper-image: mapper
8687
sniffer-image: sniffer
8788

88-
needs:
89-
- build
89+
# needs:
90+
# - build
9091

9192
tag-latest:
9293
name: Tag latest

.github/workflows/e2e-test.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
secrets:
77
B64_GCLOUD_SERVICE_ACCOUNT_JSON:
88
required: false
9+
DOCKER_PASSWORD:
10+
required: false
911

1012
inputs:
1113
mapper-tag:
@@ -32,9 +34,9 @@ env:
3234
jobs:
3335
e2e-test-policy-export:
3436
timeout-minutes: 5
35-
strategy:
36-
matrix:
37-
workers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
37+
# strategy:
38+
# matrix:
39+
# workers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
3840
runs-on: ubuntu-latest
3941
steps:
4042
- name: Checkout
@@ -50,6 +52,12 @@ jobs:
5052
username: _json_key_base64
5153
password: ${{ secrets.B64_GCLOUD_SERVICE_ACCOUNT_JSON }}
5254

55+
- name: Login to DockerHub
56+
uses: docker/login-action@v1
57+
with:
58+
username: otterize
59+
password: ${{ secrets.DOCKER_PASSWORD }}
60+
5361
- name: Test setup
5462
uses: ./.github/actions/e2e-test-setup-action
5563
with:
@@ -115,6 +123,12 @@ jobs:
115123
username: _json_key_base64
116124
password: ${{ secrets.B64_GCLOUD_SERVICE_ACCOUNT_JSON }}
117125

126+
- name: Login to DockerHub
127+
uses: docker/login-action@v1
128+
with:
129+
username: otterize
130+
password: ${{ secrets.DOCKER_PASSWORD }}
131+
118132
- name: Test setup
119133
uses: ./.github/actions/e2e-test-setup-action
120134
with:

0 commit comments

Comments
 (0)