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

add env vars declarations and comments for Image Registry user/pw #93

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

jduimovich
Copy link
Member

Updated Jenkins and Github pipeline declarations to enable used to know which vars to use for the registry. The optional vars are inserted as comments.

Users can set IMAGE_REGISTRY_USER and IMAGE_REGISTRY_PASSWORD, for any registry.
For compatibility user can set the QUAY,NEXUS,ARTIFACTORY versions to detect. QE can set all three and detect which one to use in test.

Note, for Jenkins as a global var,using IMAGE_REGISTRY_USER means means the pipelines can only use one registry.
Gitlab injects all variables so define IMAGE_REGISTRY_USER and PASSWORD or QUAY,NEXUS,ARTIFACTORY versions and it will work.
Github uses the IMAGE_REGISTRY_USER and PASSWORD

Users can set IMAGE_REGISTRY_USER and IMAGE_REGISTRY_PASSWORD, for any registry For compatibility user can set the QUAY,NEXUS,ARTIFACTORY versions to detect.
QE can set all three and detect which one to use in test.
Note, for Jenkins as a global var,using IMAGE_REGISTRY_USER means means the pipelines can only use one registry.
Gitlab injects all variables so define IMAGE_REGISTRY_USER and PASSWORD  or leave it as the QUAY,NEXUS,ARTIFACTORY and it will work.
Github uses the IMAGE_REGISTRY_USER and PASSWORD
@jduimovich jduimovich merged commit 9df1d41 into redhat-appstudio:main Nov 26, 2024
4 checks passed
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.

1 participant