Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull latest images in the Jenkins pipeline #177

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

nutjob4life
Copy link
Member

πŸ—’οΈ Summary

Merge this to update the Jenkins pipeline to forcibly pull the latest images mentioned in the Docker Composition during the "build" phase.

πŸ‘‰ Note: after merging, the Jenkins configuration for the Registry should have its branch specifier changed from */pull-latest back to */main.

βš™οΈ Test Data and/or Report

Before the fix:

$ hostname
pds-expo.jpl.nasa.gov
$ docker image ls | egrep 'registry-(api|loader).*latest'
nasapds/registry-loader                         latest              0c32984f641f   12 months ago   480MB
nasapds/registry-api-service                    latest              f456cc7e4de0   14 months ago   544MB

After the fix:

$ docker image ls | egrep 'registry-(api|loader).*latest'
nasapds/registry-api-service                    latest              57771be577f0   6 days ago      526MB
nasapds/registry-loader                         latest              41b9fbee7ac1   8 weeks ago     474MB

Further, see the Jenkins run log wherein the number of failed assertion has plummeted from double-digits to single-digits.

♻️ Related Issues

Copy link
Member

@tloubrieu-jpl tloubrieu-jpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nutjob4life

@tloubrieu-jpl tloubrieu-jpl merged commit e57211e into main Mar 28, 2023
@tloubrieu-jpl tloubrieu-jpl deleted the pull-latest branch March 28, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants