Test resulting images and pick up upstream changes automatically
The following discussion from !10 (merged) should be addressed:
-
@rodrigal started a discussion: (+1 comment) What about always pulling the latest code from
master
every time we build the image? By doing it we can benefit from bugfix done upstream.However, I don't think we can acheive this by using
GIT_SUBMODULE_STRATEGY
, we will need to do:git submodule sync --recursive git submodule update --init --recursive --remote
in a previous job stage and pass the contents as an artifact to the build stage.
Good point, but this would require some form of automated validation of the resulting image. e.g. there may be new dependencies appearing.
Automated testing and pick up of upstream changes could be a separate improvement, I'm turning this into an issue.