aggkit 0.4.4.12293 → 0.4.4.12298
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docker/Dockerfile +3 -2
- data/docker/run_tests.sh +6 -0
- data/lib/aggkit/exec.rb +1 -1
- data/lib/aggkit/option_parser.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 812e5bf19e6072a859d8d33ff09669e4ba33140d
|
|
4
|
+
data.tar.gz: e707f796b40f0d81539d410254d0eae7d99d14ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: caf99ec4079fe2a0f3673285d1e7077a722532bbf2d9e1cb82aac5c7ecad88a7cafbedd080d53ec8a1e191efbe713dc5bf94e3c15d4537b8f8ff46df045453aa
|
|
7
|
+
data.tar.gz: 65f6b864937fadb156cbac7585961b522049a861607ec44a7ca3f69b03b758fc453f595280a4c58f32e963f5a83cc00e9bf68a030ebe183abe5c03748a9dd15c
|
data/docker/Dockerfile
CHANGED
|
@@ -27,6 +27,7 @@ RUN set -ex \
|
|
|
27
27
|
ruby-libs \
|
|
28
28
|
shadow \
|
|
29
29
|
tzdata \
|
|
30
|
+
gettext \
|
|
30
31
|
wget
|
|
31
32
|
|
|
32
33
|
RUN set -ex \
|
|
@@ -74,7 +75,7 @@ RUN mkdir -p /usr/local/etc \
|
|
|
74
75
|
&& echo 'gem: --no-ri --no-rdoc' > ~/.gemrc
|
|
75
76
|
|
|
76
77
|
RUN set -ex \
|
|
77
|
-
&& curl -sSLo /tmp/consul.zip https://releases.hashicorp.com/consul/1.2.
|
|
78
|
+
&& curl -sSLo /tmp/consul.zip https://releases.hashicorp.com/consul/1.2.2/consul_1.2.2_linux_amd64.zip \
|
|
78
79
|
&& unzip -d /bin /tmp/consul.zip \
|
|
79
80
|
&& rm -rf /tmp/consul.zip \
|
|
80
81
|
&& addgroup consul \
|
|
@@ -83,7 +84,7 @@ RUN set -ex \
|
|
|
83
84
|
&& chown -R consul:consul /tmp/consul
|
|
84
85
|
|
|
85
86
|
RUN set -ex \
|
|
86
|
-
&& curl -so envconsul.tgz https://releases.hashicorp.com/envconsul/0.
|
|
87
|
+
&& curl -so envconsul.tgz https://releases.hashicorp.com/envconsul/0.8.0/envconsul_0.8.0_linux_amd64.tgz \
|
|
87
88
|
&& tar -xvzf envconsul.tgz \
|
|
88
89
|
&& rm -rf envconsul.tgz \
|
|
89
90
|
&& mv envconsul /bin/envconsul \
|
data/docker/run_tests.sh
CHANGED
|
@@ -16,6 +16,12 @@ docker-compose up -d --force-recreate --build || exit 1
|
|
|
16
16
|
echo "\n ** Testing with Ruby $RUBY_VERSION **\n"
|
|
17
17
|
docker-compose exec -T tests /bin/bash -c -l "rvm use $RUBY_VERSION; exec bundle exec rspec $@"
|
|
18
18
|
|
|
19
|
+
code=$?
|
|
20
|
+
if [ $code -ne 0 ]; then
|
|
21
|
+
docker-compose logs
|
|
22
|
+
exit $code
|
|
23
|
+
fi
|
|
24
|
+
|
|
19
25
|
docker cp "$(docker-compose ps -q tests)":/home/app/rspec.xml ./rspec-${RUBY_VERSION}.xml || true
|
|
20
26
|
|
|
21
27
|
code=$?
|
data/lib/aggkit/exec.rb
CHANGED
data/lib/aggkit/option_parser.rb
CHANGED