Unverified Commit e6a9f504 by Michael Youngstrom Committed by GitHub

Merge pull request #4665 from edx/youngstrom/chown-plat

Chown edx-platform for jenkins-worker image
parents 2af7e659 8fa16302
......@@ -8,7 +8,7 @@ all_images:=$(patsubst docker/build/%/Dockerfile,%,$(dockerfiles))
# Used in the test.mk file as well.
images:=$(if $(TRAVIS_COMMIT_RANGE),$(shell git diff --name-only $(TRAVIS_COMMIT_RANGE) | python util/parsefiles.py),$(all_images))
docker_build=docker.build.
docker_test=docker.test.
docker_pkg=docker.pkg.
......
......@@ -51,8 +51,7 @@ RUN mkdir /var/run/sshd \
&& useradd -ms /bin/bash ubuntu -g ubuntu -d /home/ubuntu \
&& curl ${JENKINS_WORKER_KEY_URL} --create-dirs -o /home/ubuntu/.ssh/authorized_keys
RUN chown -R ubuntu /home/ubuntu
RUN chown ubuntu /edx/app/edxapp/edx-platform
RUN chown -R ubuntu /home/ubuntu /edx/app/edxapp/edx-platform
CMD ["/edx/app/supervisor/venvs/supervisor/bin/supervisord", "-n", "--configuration", "/edx/app/supervisor/supervisord.conf"]
EXPOSE 22
......@@ -32,7 +32,7 @@ weights:
- mongo: 1
- devpi: 1
- jenkins_build: 8
- jenkins_worker: 22
- jenkins_worker: 23
- analytics_pipeline: 8
- analytics_pipeline_hadoop_datanode: 2
- analytics_pipeline_hadoop_namenode: 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment