Skip to content

Commit

Permalink
Update testbed image to use GnuPG 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLocehiliosan committed Dec 5, 2019
1 parent 3aefeef commit fe96cfc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ language: minimal
services:
- docker
before_install:
- docker pull yadm/testbed:2019-09-25
- docker pull yadm/testbed:2019-12-02
script:
- docker run -t --rm -v "$PWD:/yadm:ro" yadm/testbed:2019-09-25
- docker run -t --rm -v "$PWD:/yadm:ro" yadm/testbed:2019-12-02
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN \
curl \
expect \
git \
gnupg1 \
gnupg \
lsb-release \
make \
python3-pip \
Expand All @@ -35,9 +35,6 @@ RUN pip3 install \
yamllint==1.17.0 \
;

# Force GNUPG version 1 at path /usr/bin/gpg
RUN ln -fs /usr/bin/gpg1 /usr/bin/gpg

# Create a flag to identify when running inside the yadm testbed
RUN touch /.yadmtestbed

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ testhost: require-docker
--hostname testhost \
--rm -it \
-v "/tmp/testhost:/bin/yadm:ro" \
yadm/testbed:2019-09-25 \
yadm/testbed:2019-12-02 \
bash -l

.PHONY: scripthost
Expand All @@ -129,7 +129,7 @@ scripthost: require-docker
--rm -it \
-v "$$PWD/script.gz:/script.gz:rw" \
-v "/tmp/testhost:/bin/yadm:ro" \
yadm/testbed:2019-09-25 \
yadm/testbed:2019-12-02 \
bash -c "script /tmp/script -q -c 'bash -l'; gzip < /tmp/script > /script.gz"
@echo
@echo "Script saved to $$PWD/script.gz"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ services:
testbed:
volumes:
- .:/yadm:ro
image: yadm/testbed:2019-09-25
image: yadm/testbed:2019-12-02

0 comments on commit fe96cfc

Please sign in to comment.