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

QA-508: ci: fix unreliable docker start #651

Merged
merged 4 commits into from
Jan 4, 2023
Merged

Conversation

0lmi
Copy link
Contributor

@0lmi 0lmi commented Jan 3, 2023

Changelog: None
Ticket: QA-508
Signed-off-by: Alex Miliukov [email protected]

dockerd might fail from time to time which looks related to the known issue docker-library/docker#318 and using docker-init is the workaround used by the community

@0lmi 0lmi changed the title [DO NOT MERGE] test stage template changes QA-508: ci: fix unreliable docker start Jan 4, 2023
@0lmi 0lmi requested review from lluiscampos and alfrunes January 4, 2023 11:46
Copy link
Contributor

@lluiscampos lluiscampos left a comment

Choose a reason for hiding this comment

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

Great find 🚀 Thank you very much!

gitlab-pipeline/stage/test.yml Outdated Show resolved Hide resolved
Comment on lines -185 to -186
- unset DOCKER_TLS_VERIFY
- unset DOCKER_CERT_PATH
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice clean-up.

We also need to remove them from here and here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see gitlab-pipeline/internal-variables.yml is included in any of our templates. All those variables are for accessing dockerd via tcp, which we don't use, and probably all of them can be deleted then.

Just for the reference: unset DOCKER_HOST is required, because the variable is set by GitLab

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Due to internal-variables.yml is not included by the template I would suggest to deal with it separately.

Copy link
Contributor

Choose a reason for hiding this comment

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

It is included here.

Copy link
Contributor

Choose a reason for hiding this comment

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

gitlab-pipeline/stage/test.yml Outdated Show resolved Hide resolved
Alex Miliukov added 4 commits January 4, 2023 14:43
DOCKER_TLS_VERIFY and DOCKER_CERT_PATH are not set by default
in the currently used image versions

Changelog: None
Ticket: None
Signed-off-by: Alex Miliukov <[email protected]>
dockerd might fail from time to time which looks related to the
known issue docker-library/docker#318
and using docker-init is the workaround used by the community

Changelog: None
Ticket: QA-508
Signed-off-by: Alex Miliukov <[email protected]>
Changelog: None
Ticket: None
Signed-off-by: Alex Miliukov <[email protected]>
Changelog: None
Ticket: None
Signed-off-by: Alex Miliukov <[email protected]>
@0lmi 0lmi merged commit 0ef9e9c into mendersoftware:master Jan 4, 2023
@lluiscampos
Copy link
Contributor

How comes that we merged this PR without running the pipeline?

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