File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ Tracks the commits in a [git](http://git-scm.com/) repository.
9797 ` gpg_keyserver` . The ids can be short id, long id or fingerprint.
9898
9999* `gpg_keyserver`: *Optional.* GPG keyserver to download the public keys from.
100- Defaults to `hkp:///keys.gnupg.net /`.
100+ Defaults to `hkp://keyserver.ubuntu.com /`.
101101
102102* `git_crypt_key`: *Optional.* Base64 encoded
103103 [git-crypt](https://github.com/AGWA/git-crypt) key. Setting this will
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ commit_verification_keys=$(jq -r '(.source.commit_verification_keys // [])[]' <<
4646tag_filter=$( jq -r ' .source.tag_filter // ""' <<< " $payload" )
4747tag_regex=$( jq -r ' .source.tag_regex // ""' <<< " $payload" )
4848fetch_tags=$( jq -r ' .params.fetch_tags' <<< " $payload" )
49- gpg_keyserver=$( jq -r ' .source.gpg_keyserver // "hkp://ipv4.pool.sks-keyservers.net /"' <<< " $payload" )
49+ gpg_keyserver=$( jq -r ' .source.gpg_keyserver // "hkp://keyserver.ubuntu.com /"' <<< " $payload" )
5050disable_git_lfs=$( jq -r ' (.params.disable_git_lfs // false)' <<< " $payload" )
5151clean_tags=$( jq -r ' (.params.clean_tags // false)' <<< " $payload" )
5252short_ref_format=$( jq -r ' (.params.short_ref_format // "%s")' <<< " $payload" )
189189# Using https://github.com/mdomke/concourse-email-resource for example
190190git --no-pager log -1 --pretty=format:" %ae" > .git/committer
191191
192+ git --no-pager log -1 --pretty=format:" %an" > .git/committer_name
193+
192194# Store git-resource returned version ref .git/ref. Useful to know concourse
193195# pulled ref in following tasks and resources.
194196echo " ${return_ref} " > .git/ref
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ ARG base_image=alpine:latest
22
33FROM ${base_image} AS resource
44
5+ RUN apk update && apk upgrade
56RUN apk --no-cache add \
67 bash \
78 curl \
@@ -11,8 +12,7 @@ RUN apk --no-cache add \
1112 gnupg \
1213 gzip \
1314 jq \
14- libressl \
15- libressl-dev \
15+ openssl-dev \
1616 make \
1717 g++ \
1818 openssh \
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ ARG base_image
22
33FROM ${base_image} AS resource
44
5- RUN apt-get update \
6- && apt-get install -y --no-install-recommends \
5+ RUN apt update && apt upgrade -y -o Dpkg::Options::= "--force-confdef"
6+ RUN apt install -y --no-install-recommends \
77 curl \
88 gnupg \
99 gzip \
@@ -17,12 +17,12 @@ RUN apt-get update \
1717 software-properties-common
1818
1919RUN apt-add-repository ppa:git-core/ppa \
20- && apt-get update \
21- && apt-get install -y git \
20+ && apt update \
21+ && apt install -y git \
2222 && rm -rf /var/lib/apt/lists/*
2323
2424RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
25- RUN apt-get install -y git-lfs
25+ RUN apt install -y git-lfs
2626
2727WORKDIR /root
2828RUN git clone https://github.com/proxytunnel/proxytunnel.git && \
@@ -193,7 +193,7 @@ ADD test/ /tests
193193RUN /tests/all.sh
194194
195195FROM resource AS integrationtests
196- RUN apt-get update && apt-get install -y squid
196+ RUN apt update && apt install -y squid
197197ADD test/ /tests/test
198198ADD integration-tests /tests/integration-tests
199199RUN /tests/integration-tests/integration.sh
You can’t perform that action at this time.
0 commit comments