Update testbed image to use GnuPG 2
This commit is contained in:
parent
3aefeeff0f
commit
fe96cfce28
4 changed files with 6 additions and 9 deletions
|
@ -3,6 +3,6 @@ language: minimal
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
before_install:
|
before_install:
|
||||||
- docker pull yadm/testbed:2019-09-25
|
- docker pull yadm/testbed:2019-12-02
|
||||||
script:
|
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
|
||||||
|
|
|
@ -19,7 +19,7 @@ RUN \
|
||||||
curl \
|
curl \
|
||||||
expect \
|
expect \
|
||||||
git \
|
git \
|
||||||
gnupg1 \
|
gnupg \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
make \
|
make \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
@ -35,9 +35,6 @@ RUN pip3 install \
|
||||||
yamllint==1.17.0 \
|
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
|
# Create a flag to identify when running inside the yadm testbed
|
||||||
RUN touch /.yadmtestbed
|
RUN touch /.yadmtestbed
|
||||||
|
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -112,7 +112,7 @@ testhost: require-docker
|
||||||
--hostname testhost \
|
--hostname testhost \
|
||||||
--rm -it \
|
--rm -it \
|
||||||
-v "/tmp/testhost:/bin/yadm:ro" \
|
-v "/tmp/testhost:/bin/yadm:ro" \
|
||||||
yadm/testbed:2019-09-25 \
|
yadm/testbed:2019-12-02 \
|
||||||
bash -l
|
bash -l
|
||||||
|
|
||||||
.PHONY: scripthost
|
.PHONY: scripthost
|
||||||
|
@ -129,7 +129,7 @@ scripthost: require-docker
|
||||||
--rm -it \
|
--rm -it \
|
||||||
-v "$$PWD/script.gz:/script.gz:rw" \
|
-v "$$PWD/script.gz:/script.gz:rw" \
|
||||||
-v "/tmp/testhost:/bin/yadm:ro" \
|
-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"
|
bash -c "script /tmp/script -q -c 'bash -l'; gzip < /tmp/script > /script.gz"
|
||||||
@echo
|
@echo
|
||||||
@echo "Script saved to $$PWD/script.gz"
|
@echo "Script saved to $$PWD/script.gz"
|
||||||
|
|
|
@ -4,4 +4,4 @@ services:
|
||||||
testbed:
|
testbed:
|
||||||
volumes:
|
volumes:
|
||||||
- .:/yadm:ro
|
- .:/yadm:ro
|
||||||
image: yadm/testbed:2019-09-25
|
image: yadm/testbed:2019-12-02
|
||||||
|
|
Loading…
Reference in a new issue