-
Notifications
You must be signed in to change notification settings - Fork 129
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
Enable support for gitlab #120
Enable support for gitlab #120
Conversation
Really excited to see this feature added. Looks like a good number of changes were required. Thanks @ipa-mdl for the effort. |
most changes were introduced in 3a9a910, which was not necessary for gitlab support. It was just another clean-up step before copying things.. |
v0.3.1 executed Should we enforce a default working directory in the docker container? And which one? |
Sorry I don't have much time these days to look into a huge change like this. And I don't have working Gitlab setting right now to test. Travis seems happy with this change, which is a sign that we can merge as long as someone can approve :).
As long as the existing users' script used in |
bbc10db
to
f3b926e
Compare
I have set-up a mirror of my fork on gitlab.com, which will get tested. |
During today's dev mtg, @shaun-edwards offered to test this on his GitLab environment. |
@shaun-edwards: if you don't use Docker-based runners, you have to prepare docker within the |
This feature comes in very handy. I will also test it on our gitlab environment. Thanks @ipa-mdl |
db6d673
to
75c7153
Compare
9fdfb9f
to
ac4e8ea
Compare
a4d738e
to
0321599
Compare
I have rebase it to the latest master. |
0321599
to
e080890
Compare
I have sucessfully tested it wih gitlab.com and a local gitlab instance. |
No Mathias sorry 😵 I will, but I don't know when |
@@ -0,0 +1,27 @@ | |||
#!/bin/bash | |||
|
|||
# Copyright (c) 2016, Isaac I. Y. Saito |
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.
Copyright must be @ipa-mdl ;)
@ipa-mdl, looking at this right now. I'll let you know if I have any questions/issues. |
I wasn't able to get it to work, but I'm sure it's just user error. I mirrored
My confusion is caused by a lack of an |
The gitlab docker-in-docker feature uses the alpine-based docker image. Or use the |
I think I did that correctly here. |
just change https://gitlab.com/shaun-edwards/industrial_core_mirror/blob/kinetic-devel/.gitlab-ci.yml#L2 to |
|
This change is working for me. I suggest we add some instruction to the README or advanced instructions for setting up Gitlab. It's basically a file similar to the Thanks for all the hard work @ipa-mdl! |
ecd2714
to
d1a6c8d
Compare
@shaun-edwards: Thanks for your test! The current environment variable passing is based on the matrix feature of Travis CI. |
d1a6c8d
to
81e5b71
Compare
81e5b71
to
d3d9700
Compare
@shaun-edwards: I cannot use my Gitlabs jobs right now, because of the git clone from master. Can you restart your pipeline to test my latest fixes? |
Looks like everything is still working: https://gitlab.com/shaun-edwards/industrial_core_mirror/pipelines/7159777 |
This PR includes #119
Example: https://gitlab.com/ipa-mdl/industrial_ci/pipelines/6437124
gitlab.com runs the CI tests on shared Docker-based runners for free.
This means that Docker needs to be run in Docker..
The tricky part was the prerelease test: Docker is run by Docker, which is run in Docker.
The
_DO_NOT_FOLD
option should be migrated into theSTYLE
feature, it is just a preliminary hack.@VictorLamoine, @ipa-bnm: FYI