Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docker): fix master CI by using debian:buster with no backports repo for gcc8 builder #337

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Apr 19, 2024

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area build

What this PR does / why we need it:

Debian-buster backports repo is no more present upstream: https://github.com/falcosecurity/driverkit/actions/runs/8749618529/job/24013163670

Also, enable build-dev CI to test images build if docker folder was updated.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

… repo for builder gcc8.

Debian-buster backports repo is no more present upstream.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
- 'docker/**'

build-images-dev:
needs: [build-test-dev,paths-filter]
Copy link
Contributor Author

@FedeDP FedeDP Apr 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reusable_build_push_images workflow needs to download the built driverkit (for the driverkit main image), so we need to depend on build-test-dev too.

uses: ./.github/workflows/reusable_build_push_images.yml
with:
arch: ${{ matrix.arch }}
push: false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not push.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@FedeDP FedeDP force-pushed the chore/use_debian_buster_no_backports branch from eb58aec to 69e4fb6 Compare April 19, 2024 12:53
@FedeDP FedeDP changed the title wip: chore(docker): fix master CI by using debian:buster with no backports repo for gcc8 builder chore(docker): fix master CI by using debian:buster with no backports repo for gcc8 builder Apr 19, 2024
@@ -18,18 +18,19 @@ jobs:
arch: ${{ matrix.arch }}

push-images-master:
needs: build-test-master
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved needs at the top of the jobs.

with:
arch: ${{ matrix.arch }}
push: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added push: true

@@ -48,14 +53,20 @@ jobs:
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0

- name: Login to Docker Hub
if: inputs.push
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to login if we are not going to push.

@poiana
Copy link

poiana commented Apr 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, LucaGuerra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 11e44ed into master Apr 19, 2024
8 checks passed
@poiana poiana deleted the chore/use_debian_buster_no_backports branch April 19, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/build Further information is requested dco-signoff: yes kind/bug Something isn't working lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants