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

frontend: fix pushing images #2491

Merged
merged 1 commit into from
Jul 28, 2023
Merged

frontend: fix pushing images #2491

merged 1 commit into from
Jul 28, 2023

Conversation

antoniivanov
Copy link
Collaborator

@antoniivanov antoniivanov commented Jul 27, 2023

frontend_publish_ui_image extends .images:dind:docker-push-to-vdk-repos but since both provide before_script thefrontend_publish_ui_image overwrites the one provided by .images:dind:docker-push-to-vdk-repos (which adds the docker_push_vdk.sh script to the PATH)

This caused failures in the pipeline like this https://gitlab.com/vmware-analytics/versatile-data-kit/-/pipelines/947073454

The fix is to remove before_script from the frontend_publish_ui_image job and move all to script

Testing Done: https://gitlab.com/vmware-analytics/versatile-data-kit/-/pipelines/947441104

@antoniivanov antoniivanov force-pushed the person/aivanov/frontend-ci branch from d524dbb to 4c735e5 Compare July 27, 2023 14:05
@antoniivanov antoniivanov changed the title frontend: fix CI frontend: fix pushing images Jul 27, 2023
@antoniivanov antoniivanov marked this pull request as ready for review July 27, 2023 15:08
frontend_publish_ui_image extends
`.images:dind:docker-push-to-vdk-repos` but since both provide
`before_script` the frontend_publish_ui_image overwrites the one
provided by .images:dind:docker-push-to-vdk-repos which adds the
docker_push_vdk.sh script to the PATH.

This caused failures in the pipeline like this
https://gitlab.com/vmware-analytics/versatile-data-kit/-/pipelines/947073454

The fix is to remove  before_script from the `frontend_publish_ui_image`
job and move all to `script`
@antoniivanov antoniivanov force-pushed the person/aivanov/frontend-ci branch from 4c735e5 to dc2aece Compare July 27, 2023 15:09
@antoniivanov antoniivanov merged commit d69e3e8 into main Jul 28, 2023
@antoniivanov antoniivanov deleted the person/aivanov/frontend-ci branch July 28, 2023 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants