Skip to content

CI: Build (but not push) container img for MRs

Andreas Gnau requested to merge agnau-docker-build-mr into devel

Best reviewed commit-by-commit.

commit 3280ed05286769a5c77c1191bb94f386aac2daf1
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date:   Wed Jul 3 20:38:40 2024 +0200

    CI: Build (but not push) container img for MRs
    
    Run the container build on merge requests. Until there is a solution for
    cleaning up container images from MRs, do not push the resulting images
    anywhere for now. This change at least enables verification of any
    Dockerfile changes when submitting an MR.
    
    Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>

commit 4fed88684fe2b4ff39e42deb56370d7785d8b5d0
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date:   Wed Jul 3 20:48:07 2024 +0200

    CI: Enable FF_SCRIPT_SECTIONS
    
    Quoting https://docs.gitlab.com/runner/configuration/feature-flags.html:
    
    > When enabled, each script line from the .gitlab-ci.yml file is in a
    > collapsible section in the job output, and shows the duration of each
    > line. When the command spans multiple lines, the complete command is
    > displayed within the job log output terminal.
    
    Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>

commit fdc4ed4669cf9514e3cd55f46b078cf8dda1ddf9
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date:   Wed Jul 3 19:19:14 2024 +0200

    CI: Refactor kaniko invocation
    
    Prepare for future changes by changing variable names and formatting
    slightly and add additional logging.
    
    Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Edited by Andreas Gnau

Merge request reports