NASA-PDS / doi-service

Service and tools for generating DOIs for PDS bundles, collections, and data sets
https://nasa-pds.github.io/doi-service
Other
2 stars 3 forks source link

CICD: Pulls latest images during build phase in Jenkins pipeline #402

Closed nutjob4life closed 1 year ago

nutjob4life commented 1 year ago

🗒️ Summary

This updates the Jenkins pipeline by forcibly pulling the latest images mentioned in the Docker Composition during the "build" phase.

⚙️ Test Data and/or Report

Before the fix:

$ hostname
pds-expo.jpl.nasa.gov
$ docker image ls | egrep doi-service
nasapds/pds-doi-service                         latest              05492df9eb77   9 months ago    332MB

After the fix:

$ docker image ls | egrep doi-service
nasapds/pds-doi-service                         latest              05492df9eb77   9 months ago    332MB

"But wait!" you exclaim. "This isn't fixed!" Ah, but the nasapds/pds-doi-service:latest image truly hasn't been updated in 9 months. See for yourself.

Proof of the correctness of this fix is left as an exercise to the reviewers 😇

♻️ Related Issues