Skip to content

Commit

Permalink
chore(ci): Update go-acme/lego (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
znerol committed Jul 4, 2019
1 parent aed65ce commit 470521b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration-test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ base/context:
mkdir -m 0700 base/context/.ssh
cp ../dist/certhub-dist.tar.gz base/context/certhub-dist.tar.gz
curl -L -o base/context/git-gau-dist.tar.gz 'https://github.com/znerol/git-gau/releases/download/v1.1.0/git-gau-dist.tar.gz'
curl -L -o base/context/lego_v2.4.0_linux_amd64.tar.gz 'https://github.com/go-acme/lego/releases/download/v2.4.0/lego_v2.4.0_linux_amd64.tar.gz'
curl -L -o base/context/lego_v2.6.0_linux_amd64.tar.gz 'https://github.com/go-acme/lego/releases/download/v2.6.0/lego_v2.6.0_linux_amd64.tar.gz'
ssh-keygen -b 1024 -t rsa -f base/context/.ssh/id_rsa -q -N "" -C "Bogus key for CI only. Never use in production"
cp base/context/.ssh/id_rsa.pub base/context/.ssh/authorized_keys

Expand Down
4 changes: 2 additions & 2 deletions integration-test/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ RUN yum install -y git openssl openssh-server
RUN systemctl enable sshd

# Install git-gau and certhub
COPY context/git-gau-dist.tar.gz context/certhub-dist.tar.gz context/lego_v2.4.0_linux_amd64.tar.gz /root/
COPY context/git-gau-dist.tar.gz context/certhub-dist.tar.gz context/lego_v2.6.0_linux_amd64.tar.gz /root/
RUN \
tar -C /usr/local -xf /root/git-gau-dist.tar.gz && \
tar -C /usr/local -xf /root/certhub-dist.tar.gz && \
tar -C /usr/local/bin -xf /root/lego_v2.4.0_linux_amd64.tar.gz lego && \
tar -C /usr/local/bin -xf /root/lego_v2.6.0_linux_amd64.tar.gz lego && \
chmod +x /usr/local/bin/lego

# Setup configuration directory
Expand Down

0 comments on commit 470521b

Please sign in to comment.