dmwm / CRABServer

16 stars 38 forks source link

Fix retag monit image in release pipeline #8706

Closed novicecpp closed 2 months ago

novicecpp commented 2 months ago

Context: https://github.com/dmwm/CRABServer/issues/8701 Test Pipeline: https://gitlab.cern.ch/crab3/CRABServer/-/pipelines/8174105

Also refactor retag stage a bit, move command into single job (only take 6 seconds).

belforte commented 2 months ago

@aspiringmind-code I do not understand the code here, and am trying to avoid learning what crane is/does. Please make sure that you understand, so you can ask Wa in case.

novicecpp commented 2 months ago

We build image with temporary tag, then retag it to release the production image. We use crane to do that instead docker command.

crane explanation is in https://cmscrab.docs.cern.ch/crab-infrastructure/crab-cicd/gitlab/crab-specific-setup.html#crane