-
Notifications
You must be signed in to change notification settings - Fork 1.5k
AGENT-263: Get images from release payload #6100
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
AGENT-263: Get images from release payload #6100
Conversation
56fa1a2 to
88e4812
Compare
zaneb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but it is a lot of changes to go in a single commit. I think it could be split up into at least:
- Use payload containers for agent/assisted-service pods and as env vars (actually I don't see code for that part at all) for agent/assisted-installer/csr-approver.
- Use assisted-service container to run DB
- Drop UI
- Add a 4.12 image to OS_IMAGES
possibly the first could be split even further.
data/data/agent/files/usr/local/bin/pre-start-agent.sh.template
Outdated
Show resolved
Hide resolved
data/data/agent/systemd/units/assisted-service.service.template
Outdated
Show resolved
Hide resolved
data/data/agent/systemd/units/assisted-service.service.template
Outdated
Show resolved
Hide resolved
data/data/agent/files/usr/local/bin/pre-start-agent.sh.template
Outdated
Show resolved
Hide resolved
88e4812 to
04af13b
Compare
2d78cd6 to
8373af5
Compare
|
69a5a71 to
6f2f9a3
Compare
zaneb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nits inline but this looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be > instead of >>? There is no grep test on this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes true, fixed
data/data/agent/files/usr/local/bin/get-container-images.sh.template
Outdated
Show resolved
Hide resolved
data/data/agent/files/usr/local/bin/get-container-images.sh.template
Outdated
Show resolved
Hide resolved
data/data/agent/files/usr/local/bin/get-container-images.sh.template
Outdated
Show resolved
Hide resolved
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zaneb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
6f2f9a3 to
877f4a6
Compare
Get the images used to start all services from the release payload which may be a mirror. Since we do not build a version of the UI image, that has been removed. Also for the assisted-service-db the postgresql image is no longer used, instead the assisted-service image is used to start the database.
877f4a6 to
0bfaa1d
Compare
|
/lgtm |
|
@bfournie: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Get the images used to start all services from the release payload.
This works in a connected environment, however in order to fully complete a disconnected install, an assisted-service change to use an icsp file when running 'oc adm release extract' is required as described in https://issues.redhat.com/browse/MGMT-10209.
The disconnected environment can be tested in dev-scripts with openshift-metal3/dev-scripts#1424 using
export MIRROR_IMAGES=true