Skip to content

CI: stash the tag for gitlab-rails-x vs recalc

Jason Plum requested to merge charts/1603-stash-rails-tag into master

Closes gitlab-org/charts/gitlab#1603 (closed)

Move to using a stashed tag value for the rails_container value vs recalculating between jobs. This will prevent rails-based containers from failing if the pipeline crosses UTC midnight mid-run.

  1. Move all stashed "image" values to artifacts/images, to handle sync-images job's glob of the directory.
  2. Stash and use the $CONTAINER_VERSION from gitlab-rails-* jobs into artifacts/rails_container.txt and consume that in all jobs building on top of that image.

This should be backported to stable branches back to v12.1.x

Edited by Jason Plum

Merge request reports