This commit is contained in:
99 2021-10-28 22:22:38 -07:00
parent daf4208341
commit 324fa75d25
3 changed files with 3 additions and 11 deletions

View File

@ -4,8 +4,8 @@ on:
push:
# Sequence of patterns matched against refs/heads
branches:
# Push events on crt-consul-migration branch
- release/1.11.x
# Provide the release branch
env:
PKG_NAME: consul
@ -22,8 +22,7 @@ jobs:
- name: get product version
id: get-product-version
run: |
build-support/scripts/version.sh -r
IFS="-"; OUTPUT=$(make -f Makefile version);
IFS="-"; OUTPUT=$(build-support/scripts/version.sh -r);
read -a V <<< "$OUTPUT"; unset IFS;
VERSION=${V[0]}

View File

@ -35,10 +35,6 @@ RUN mkdir -p /consul/data && \
mkdir -p /consul/config && \
chown -R consul:consul /consul
# set up nsswitch.conf for Go's "netgo" implementation which is used by Consul,
# otherwise DNS supercedes the container's hosts file, which we don't want.
#RUN test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf
# Expose the consul data directory as a volume since there's mutable state in there.
VOLUME /consul/data

View File

@ -1,3 +0,0 @@
version:
@build-support/scripts/version.sh -r
.PHONY: version