Skip to content

Commit d29cefc

Browse files
authored
Update zlib and fix permissions in e2e tests (#509)
* Remove Github secrets and migrate to Github OIDC for AWS Authentication * Replace Github secrets with Github OIDC solution for AWS Authentication * Add necessary permissions * Fix OIDC authentication * Update zlib in ubuntu integration test and fix permissions in e2e tests
1 parent 6676f19 commit d29cefc

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

.github/docker-images/integration-tests/ubuntu/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ RUN apt update && apt upgrade -y && \
5959
RUN mkdir /home/dependencies
6060
WORKDIR /home/dependencies
6161

62-
RUN wget https://www.zlib.net/zlib-1.3.tar.gz -O /tmp/zlib-1.3.tar.gz && \
63-
tar xzvf /tmp/zlib-1.3.tar.gz && \
64-
cd zlib-1.3 && \
62+
RUN wget https://zlib.net/zlib-1.3.1.tar.gz -O /tmp/zlib-1.3.tar.gz && \
63+
tar xzvf /tmp/zlib-1.3.1.tar.gz && \
64+
cd zlib-1.3.1 && \
6565
./configure && \
6666
make && \
6767
make install && \

.github/workflows/e2e-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ jobs:
328328
needs: [ versioning, build-docker-image-ubuntu-x86_64 ]
329329
strategy:
330330
fail-fast: false
331+
permissions:
332+
id-token: write
333+
contents: read
331334
steps:
332335
- name: Checkout
333336
uses: actions/checkout@v2
@@ -373,6 +376,9 @@ jobs:
373376
needs: [ versioning, build-docker-image-ubuntu-aarch64 ]
374377
strategy:
375378
fail-fast: false
379+
permissions:
380+
id-token: write
381+
contents: read
376382
steps:
377383
- name: Checkout
378384
uses: actions/checkout@v2
@@ -415,6 +421,9 @@ jobs:
415421
if: ${{ false }} # Disabled for now as local proxy builds take too long. Re-enable if binary or image becomes available.
416422
# versioning output is needed for the image tag
417423
needs: [ versioning, build-docker-image-ubuntu-armv7 ]
424+
permissions:
425+
id-token: write
426+
contents: read
418427
steps:
419428
- name: Checkout
420429
uses: actions/checkout@v2
@@ -458,6 +467,9 @@ jobs:
458467
if: (github.event_name == 'push') || ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name != github.repository))
459468
# versioning output is needed for the image tag
460469
needs: [ versioning, build-docker-image-amazonlinux-x86_64 ]
470+
permissions:
471+
id-token: write
472+
contents: read
461473
strategy:
462474
fail-fast: false
463475
steps:
@@ -502,6 +514,9 @@ jobs:
502514
if: (github.event_name == 'push') || ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name != github.repository))
503515
# versioning output is needed for the image tag
504516
needs: [ versioning, build-docker-image-amazonlinux-aarch64 ]
517+
permissions:
518+
id-token: write
519+
contents: read
505520
strategy:
506521
fail-fast: false
507522
steps:
@@ -547,6 +562,9 @@ jobs:
547562
# if: (github.event_name == 'push') || ((github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name != github.repository))
548563
# versioning output is needed for the image tag
549564
needs: [ versioning, build-docker-image-ubi8-x86_64 ]
565+
permissions:
566+
id-token: write
567+
contents: read
550568
strategy:
551569
fail-fast: false
552570
steps:
@@ -597,6 +615,9 @@ jobs:
597615
fail-fast: false
598616
matrix:
599617
architecture: [x86_64, aarch64]
618+
permissions:
619+
id-token: write
620+
contents: read
600621
steps:
601622
- name: Checkout
602623
uses: actions/checkout@v2

0 commit comments

Comments
 (0)