Skip to content
Snippets Groups Projects

#388: Add images generation build automation

Merged #388: Add images generation build automation
All threads resolved!
Merged Moul requested to merge 388_docker_image_generation_automation into dev
All threads resolved!
Introduce Dockerfiles based on latest Python available
Install silkaj and make it available to the CLI
Two steps: build, copy.
Otherwise, you don’t get Silkaj sources built-in the image

Poetry and pip environment of images builds:
- Pip for direct consumers like DeathReaper
- Poetry for developers, with git in

Manual triggered job to generate the image
Extensible job definition for future usages
Rename stage from `publish` to `package`

Tag images with the commit hash, the branch, and latest
Define python version variable and pass it as an ARG to the builds

Release and `dev` channels and jobs
Tag the image with the git tag when present

  • Set image's timezone to Paris

    • For DeathReaper to report the date in Paris timezone and not GMT
  • Document Docker images usage


Close #388 (closed).


Review

If you don’t feel at ease reviewing the CI nor the Dockerfiles, you can just test the generated images as documented. That’s fine with me. You can ask questions in the review if you want to learn more how this all works.

Edited by Moul

Merge request reports

Merge request pipeline #14373 passed

Merge request pipeline passed for 11a6ae89

Test coverage 78.00% (0.00%) from 1 job
Approved by

Merged by MoulMoul 3 years ago (Dec 20, 2021 6:13pm UTC)

Merge details

  • Changes merged into dev with 11a6ae89.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #15055 failed

Pipeline failed for 11a6ae89 on dev

Test coverage 78.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • matograine
  • matograine
  • Both images work fine. Tested for info, tx, cert.

  • Moul added 1 commit

    added 1 commit

    • cd9a1503 - [doc] Document Docker images usage

    Compare with previous version

  • Moul added 1 commit

    added 1 commit

    • e6441bcc - [doc] Document Docker images usage

    Compare with previous version

  • Moul added 1 commit

    added 1 commit

    • 0c376049 - [doc] Document Docker images usage

    Compare with previous version

  • matograine approved this merge request

    approved this merge request

  • Moul resolved all threads

    resolved all threads

  • Moul added 4 commits

    added 4 commits

    Compare with previous version

  • Moul enabled an automatic merge when the pipeline for b74b8d81 succeeds

    enabled an automatic merge when the pipeline for b74b8d81 succeeds

  • Moul aborted the automatic merge because source branch was updated

    aborted the automatic merge because source branch was updated

  • Moul added 3 commits

    added 3 commits

    Compare with previous version

  • Moul enabled an automatic merge when the pipeline for 11a6ae89 succeeds

    enabled an automatic merge when the pipeline for 11a6ae89 succeeds

  • merged

  • Please register or sign in to reply
    Loading