aboutsummaryrefslogtreecommitdiff
path: root/trusty-i386-tcwg-base
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-09-18 11:32:01 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-09-18 11:32:01 +0000
commit8dbabafd947f57b038a7e50fe7c13b89f0037d13 (patch)
tree1bb1156a715c1d785ee8faea7c2fbc8cb8575f14 /trusty-i386-tcwg-base
parent2db5d1d83328e36184ac527552d7041a2d1a5293 (diff)
*-tcwg-build: Add tcwg-benchmark user to all images, not just amd64-trusty.
The fact that tcwg-benchmark user is present only in amd64 Trusty tcwg-build image is historical artifact. When we added the tcwg-benchmark we didn't want to destabilize other images. The change has been extensively tested since then, so enabling for all tcwg-build images. Change-Id: Ic341a98405cc39ea6e6f36a5d24dd96b239eaa33
Diffstat (limited to 'trusty-i386-tcwg-base')
-rw-r--r--trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile11
1 files changed, 8 insertions, 3 deletions
diff --git a/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile b/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile
index e474ecd2..dd271c4c 100644
--- a/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile
+++ b/trusty-i386-tcwg-base/trusty-i386-tcwg-build/Dockerfile
@@ -3,11 +3,16 @@ FROM linaro/ci-i386-tcwg-base-ubuntu:trusty
RUN groupadd -g 9000 tcwg-infra \
&& useradd -m -g tcwg-infra -G kvm -u 11827 tcwg-buildslave \
- && echo 'tcwg-buildslave ALL = NOPASSWD: ALL' > /etc/sudoers.d/jenkins \
+ && useradd -m -g tcwg-infra -G kvm -u 12326 tcwg-benchmark \
+ && echo '%tcwg-infra ALL = NOPASSWD: ALL' > /etc/sudoers.d/jenkins \
&& chmod 0440 /etc/sudoers.d/jenkins \
&& mkdir -p /home/tcwg-buildslave/workspace
COPY tcwg-buildslave /home/tcwg-buildslave
+COPY tcwg-benchmark /home/tcwg-benchmark
+
RUN chown -R tcwg-buildslave:tcwg-infra /home/tcwg-buildslave/ \
- && chmod 0700 /home/tcwg-buildslave/.ssh/
-# checksum: 40d87b0f3235719ebf32a55519286eea
+ && chown -R tcwg-benchmark:tcwg-infra /home/tcwg-benchmark/ \
+ && chmod 0700 /home/tcwg-buildslave/.ssh/ /home/tcwg-benchmark/.ssh/ \
+ && chmod 0600 /home/tcwg-buildslave/.ssh/* /home/tcwg-benchmark/.ssh/*
+# checksum: d1a93f00cce488976b44c87865c32888