Merge digitallumberjack/master modifications#33
Conversation
You can use the docker executor by using `RUNNER_EXECUTOR=docker`. You must provide a docker image to use in `RUNNER_DOCKER_IMAGE` (e.g. docker:latest) If `RUNNER_DOCKER_MODE` is set to `socket`, the docker socket is shared between the runner and the build container. If it is not, you must use docker in docker service in your .gitlabci.yml definitions. See https://docs.gitlab.com/ce/ci/docker/using_docker_build.html for more info.
Upgrade to Ubuntu 16.04 LTS
|
Can you resolve the conflicts please? |
|
Should be ok. Sorry for the bad commit message i tried the online editor and i could not choose the message. I can amend if you need. |
| @@ -1,17 +1,33 @@ | |||
| FROM sameersbn/ubuntu:14.04.20170110 | |||
| FROM ubuntu:xenial | |||
| && apt-get update \ | ||
| && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
| vim.tiny wget sudo net-tools ca-certificates unzip git openssh-client curl libapparmor1 | ||
|
|
There was a problem hiding this comment.
by reverting to sameersbn/ubuntu:14.04.20170110 these lines will not be required
| COPY entrypoint.sh /sbin/entrypoint.sh | ||
| RUN chmod 755 /sbin/entrypoint.sh | ||
|
|
||
| RUN rm -rf /var/lib/apt/lists/* |
There was a problem hiding this comment.
is this line needed? I think it can be removed
|
@digitalLumberjack Lets resolve the issues in the PR before we hit the merge button. |
|
also i will give it a test before we merge this one. thanks for the contrib |
|
This is fantastic! I am eagerly looking forward to testing this! Thanks for all your work! |
|
Please merge it, this is a fantastic work! |
7e20562 to
3570012
Compare
|
@sameersbn This should be ok now. |
|
LGTM? 👍 |
|
Can this be merged? |
Maescool
left a comment
There was a problem hiding this comment.
I'm running this version in production, upgraded from the current master without any hiccup, also tried the new features, works as advertised.
|
I bumped to runner v1.11.2, @sameersbn as soon as you give your go we can merge this. Tell me if any modification is needed. |
|
@digitalLumberjack @sameersbn Really awesome work you two! My Synology can't wait for this update :) Please press the merge button :D |
|
Merging this update would be awesome! :) |
|
@digitalLumberjack could the entrypoint detect a change to the |
|
For those waiting for this to be merged, we've just switched all our builds over to |
| gitlab-ci-multi-runner register --config ${GITLAB_CI_MULTI_RUNNER_DATA_DIR}/config.toml | ||
| fi | ||
| if [[ -n ${RUNNER_CONCURRENT} ]];then | ||
| sed -i "s/concurrent = .*/concurent = ${RUNNER_CONCURRENT}/" ${GITLAB_CI_MULTI_RUNNER_DATA_DIR}/config.toml |
There was a problem hiding this comment.
@digitalLumberjack spelling mistake here, should be concurrent
There was a problem hiding this comment.
Thanks I fixed that.
digitallumberjack/docker-gitlab-ci-multi-runner:v9.3.0-1 include this fix.
|
I see @sameersbn has made @digitalLumberjack Collaborator, so you could merge this? |
|
@digitalLumberjack could you bump to v9.5? |
|
According to https://about.gitlab.com/2017/08/22/gitlab-9-5-released/ the old runner will stop working at September 22nd, 2017. Please note, that this also affects the usability of docker-gitlab. |
|
@digitalLumberjack: I am getting following error while using the image you've shared:
GitLab CI runner script: .gitlab-ci.yml content: From within the container, here's my observation: Any idea how i can fix this? |
|
@GarbageYard You are using the wrong image for this kind of setup in the Dockerfile you use to build the image, you should refer to the node image. |
|
Thanks for the reply @Maescool! Sorry, but i am confused now because if i'm going to use |
|
@GarbageYard so, there are a couple of parts. (this is basically by default gitlab-ci build file to build docker images) Then you have your Dockerfile, that looks something like this The entrypoint stuff etc.. idk with node, and for your project, this is just an example of how I do my image builds. |
|
Hi @Maescool! I tried using DIND but somehow it's failing to retrieve the image via Artifactory (our private container registry). I guess it's because it's unable to login to Artifactory first. I saw this link but it seems it's for images and not for services. I still tried configuring Secret Variable (DOCKER_AUTH_CONFIG) but it's not working. Content of All (GitLab, Runner & DIND) containers are on one host. I am able to |
Changes :