Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Add GitLab CI credentials helper#2040

Merged
imjasonh merged 1 commit intoGoogleContainerTools:mainfrom
ePirat:epirat-add-gitlab-credentials-helper
Apr 11, 2022
Merged

Add GitLab CI credentials helper#2040
imjasonh merged 1 commit intoGoogleContainerTools:mainfrom
ePirat:epirat-add-gitlab-credentials-helper

Conversation

@ePirat
Copy link
Copy Markdown
Contributor

@ePirat ePirat commented Apr 10, 2022

Description

Adds a GitLab CI credentials helper that fetches the credentials
for a GitLab Docker registry from the CI environment if available.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

Release Notes

- kaniko now automatically uses GitLab CI Docker registry credentials from the env variables, if available

Copy link
Copy Markdown
Contributor

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

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

Thanks for this! Always great to see another cred helper implementation 👍

Comment thread deploy/Dockerfile_debug Outdated
This simplifies usage of Kaniko in GitLab CI environments and
means that it's not longer necessary to manually cobble together
the config with the right values from the environment in
error-prone shell commands.
@ePirat ePirat force-pushed the epirat-add-gitlab-credentials-helper branch from 4544efa to 671d6fe Compare April 11, 2022 14:00
@imjasonh imjasonh merged commit f930b75 into GoogleContainerTools:main Apr 11, 2022
@ePirat
Copy link
Copy Markdown
Contributor Author

ePirat commented Apr 11, 2022

Thanks for the review and merging. I was wondering, how long will it take for the new version to be available at gcr.io? Will it require a formal release or when are these images updated?

@imjasonh
Copy link
Copy Markdown
Contributor

Commit-tagged images are available. The debug variant was just pushed 6 minutes ago, to gcr.io/kaniko-project/executor:f930b75b8b2c310b3d7fc4e1d8ddb30859cee9aa-debug -- the rest should be showing up soon (watch progress here)

@ePirat
Copy link
Copy Markdown
Contributor Author

ePirat commented Apr 11, 2022

Thanks, and I guess the gcr.io/kaniko-project/executor:debug will be updated once the next release is tagged, right?

@imjasonh
Copy link
Copy Markdown
Contributor

Thanks, and I guess the gcr.io/kaniko-project/executor:debug will be updated once the next release is tagged, right?

Yep, exactly.

@imjasonh imjasonh mentioned this pull request Jun 1, 2022
chuangw6 added a commit that referenced this pull request Jun 1, 2022
Highlights
- Installed binaries are missing from image [#2049](#2049)
- proc: detect kubernetes runtime by mounts [#2054](#2054)
- Fixes #2046: make target stage lookup case insensitive [#2047](#2047)
- fix: Refactor LayersMap to correct old strange code behavior [#2066](#2066)
- Fix missing setuid flags on COPY --from=build operation [#2089](#2089)
- Fixes #2046: make target stage lookup case insensitive [#2047](#2047)
- Add GitLab CI credentials helper [#2040]((#2040))
- and a number of dependency bumps
chuangw6 added a commit that referenced this pull request Jun 1, 2022
Highlights
- Installed binaries are missing from image #2049
- proc: detect kubernetes runtime by mounts #2054
- Fixes #2046: make target stage lookup case insensitive #2047
- Fix: Refactor LayersMap to correct old strange code behavior #2066
- Fix missing setuid flags on COPY --from=build operation #2089
- Fixes #2046: make target stage lookup case insensitive #2047
- Add GitLab CI credentials helper #2040
- And a number of dependency bumps
@chuangw6 chuangw6 mentioned this pull request Jun 1, 2022
4 tasks
chuangw6 added a commit that referenced this pull request Aug 9, 2022
Highlights
- Installed binaries are missing from image #2049
- proc: detect kubernetes runtime by mounts #2054
- Fixes #2046: make target stage lookup case insensitive #2047
- Fix: Refactor LayersMap to correct old strange code behavior #2066
- Fix missing setuid flags on COPY --from=build operation #2089
- Fixes #2046: make target stage lookup case insensitive #2047
- Add GitLab CI credentials helper #2040
- And a number of dependency bumps
chuangw6 added a commit that referenced this pull request Aug 10, 2022
Highlights
- Installed binaries are missing from image #2049
- proc: detect kubernetes runtime by mounts #2054
- Fixes #2046: make target stage lookup case insensitive #2047
- Fix: Refactor LayersMap to correct old strange code behavior #2066
- Fix missing setuid flags on COPY --from=build operation #2089
- Fixes #2046: make target stage lookup case insensitive #2047
- Add GitLab CI credentials helper #2040
- And a number of dependency bumps
no-reply pushed a commit to surfliner/surfliner-mirror that referenced this pull request Aug 11, 2022
imjasonh pushed a commit that referenced this pull request Aug 26, 2022
@chuangw6 chuangw6 mentioned this pull request Sep 26, 2022
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants