Certificate for PB buildbot connections
- add buildbot.bitmessage.org cert - change BUILDMASTER to CONNECTIONSTRING
This commit is contained in:
parent
3316e2e9da
commit
97c191b8e8
|
@ -24,12 +24,14 @@ RUN apt-get update -y && apt-get install -yq --no-install-suggests --no-install-
|
||||||
# buildbot entrypoint
|
# buildbot entrypoint
|
||||||
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh
|
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
||||||
|
RUN wget -O /usr/local/share/ca-certificates/buildbot-ca.crt https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/buildbot-ca.crt
|
||||||
|
RUN update-ca-certificates
|
||||||
|
|
||||||
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
USER buildbot
|
USER buildbot
|
||||||
|
|
||||||
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$BUILDMASTER" "$WORKERNAME" "$WORKERPASS"
|
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$CONNECTIONSTRING" "$WORKERNAME" "$WORKERPASS"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -43,12 +45,14 @@ RUN apt-get update -y && apt-get install -yq --no-install-suggests --no-install-
|
||||||
# buildbot entrypoint
|
# buildbot entrypoint
|
||||||
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh
|
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
||||||
|
RUN wget -O /usr/local/share/ca-certificates/buildbot-ca.crt https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/buildbot-ca.crt
|
||||||
|
RUN update-ca-certificates
|
||||||
|
|
||||||
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
USER buildbot
|
USER buildbot
|
||||||
|
|
||||||
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$BUILDMASTER" "$WORKERNAME" "$WORKERPASS"
|
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$CONNECTIONSTRING" "$WORKERNAME" "$WORKERPASS"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -62,12 +66,14 @@ RUN apt-get update -y && apt-get install -yq --no-install-suggests --no-install-
|
||||||
# buildbot entrypoint
|
# buildbot entrypoint
|
||||||
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh
|
RUN wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
||||||
|
RUN wget -O /usr/local/share/ca-certificates/buildbot-ca.crt https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/buildbot-ca.crt
|
||||||
|
RUN update-ca-certificates
|
||||||
|
|
||||||
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
USER buildbot
|
USER buildbot
|
||||||
|
|
||||||
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$BUILDMASTER" "$WORKERNAME" "$WORKERPASS"
|
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$CONNECTIONSTRING" "$WORKERNAME" "$WORKERPASS"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -86,12 +92,14 @@ RUN dpkg -i dumb-init_*.deb && rm -f dumb-init_*.deb
|
||||||
# buildbot entrypoint
|
# buildbot entrypoint
|
||||||
RUN [ -f /usr/local/bin/buildbot_entrypoint.sh ] || wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/xenial/entrypoint.sh
|
RUN [ -f /usr/local/bin/buildbot_entrypoint.sh ] || wget -O /usr/local/bin/buildbot_entrypoint.sh https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/xenial/entrypoint.sh
|
||||||
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
RUN chmod +x /usr/local/bin/buildbot_entrypoint.sh
|
||||||
|
RUN wget -O /usr/local/share/ca-certificates/buildbot-ca.crt https://git.bitmessage.org/Bitmessage/buildbot-scripts/raw/branch/master/docker/bionic/buildbot-ca.crt
|
||||||
|
RUN update-ca-certificates
|
||||||
|
|
||||||
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
RUN echo 'buildbot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
USER buildbot
|
USER buildbot
|
||||||
|
|
||||||
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$BUILDMASTER" "$WORKERNAME" "$WORKERPASS"
|
ENTRYPOINT /usr/local/bin/buildbot_entrypoint.sh "$CONNECTIONSTRING" "$WORKERNAME" "$WORKERPASS"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user