Skip to content
Snippets Groups Projects

Use docker base image across CI steps

Merged Corné Lukken requested to merge ci-base-image-cookiecutter into main
All threads resolved!

Use a base image for all CI steps to reduce server load and repetitive steps. Base image is used for both generated project as well as the template itself by having different files across directory paths that will match once generated (docker/ci-runner/Dockerfile).

In addition we override one job in the template to change the include path to the prepare job yaml.

The base image is updated to use Python 3.11 (updating the template to support Python 3.11) and all unit tests are configured to manually install required dependencies as there are no base images for these Python versions.

This work is largely copied from @feldt their previous work on base images across various ASTRON repositories.

Edited by Corné Lukken

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Klaas Kliffen
    • Resolved by Klaas Kliffen

      Overall seems like a good improvement to me. At a first glance I was a bit confused by the Gitlab GUI, on the order over operations. This might need some explaining in the outer README (or a link to the gitlab docs).

      Screenshot_2023-04-11_09-03-00

      Here the build runs before the steps on the left (triggered by the prepare)

      Edited by Klaas Kliffen
  • Klaas Kliffen
  • Klaas Kliffen resolved all threads

    resolved all threads

  • Klaas Kliffen approved this merge request

    approved this merge request

  • Klaas Kliffen mentioned in commit edd53340

    mentioned in commit edd53340

  • merged

  • Please register or sign in to reply
    Loading