et_full_system 4.0.10 → 5.0.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +17 -15
- data/docker/Dockerfile +12 -39
- data/docker/docker-compose.yml +8 -0
- data/lib/et_full_system/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 592cedd9a3206d96e5b0cd0b4cfc02c3ac8fc38af0127025bf5d421d5a3dc555
|
4
|
+
data.tar.gz: 9d7021f11cafa9a5277ef8681608d7f068fa1837419a1b7c82f5e20adb52ca7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c6c0e9954e349fa80ae84744e859716ebac8463a277c4a25cbbb5c2fc685aa64693d923765f2c2dca8aa98c837ef492dcc6da316bf5bdfd185314f28d083b4c
|
7
|
+
data.tar.gz: aec2099ae89679fdfd88c2f70ec1a9c56162a574541454b4fa11f72fe135bf240dcfc5bdaf31e0dc34e64c36b09a80da0eeed9067cc69f10ae08047a0f66edc4
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.7.
|
1
|
+
2.7.4
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
et_full_system (
|
4
|
+
et_full_system (5.0.0.pre.rc1)
|
5
5
|
aws-sdk-s3 (~> 1.9)
|
6
6
|
azure-storage (~> 0.15.0.preview)
|
7
7
|
dotenv (~> 2.7, >= 2.7.2)
|
@@ -24,17 +24,17 @@ GEM
|
|
24
24
|
addressable (2.8.0)
|
25
25
|
public_suffix (>= 2.0.2, < 5.0)
|
26
26
|
aws-eventstream (1.2.0)
|
27
|
-
aws-partitions (1.
|
28
|
-
aws-sdk-core (3.
|
27
|
+
aws-partitions (1.528.0)
|
28
|
+
aws-sdk-core (3.122.1)
|
29
29
|
aws-eventstream (~> 1, >= 1.0.2)
|
30
|
-
aws-partitions (~> 1, >= 1.
|
30
|
+
aws-partitions (~> 1, >= 1.525.0)
|
31
31
|
aws-sigv4 (~> 1.1)
|
32
32
|
jmespath (~> 1.0)
|
33
|
-
aws-sdk-kms (1.
|
34
|
-
aws-sdk-core (~> 3, >= 3.
|
33
|
+
aws-sdk-kms (1.51.0)
|
34
|
+
aws-sdk-core (~> 3, >= 3.122.0)
|
35
35
|
aws-sigv4 (~> 1.1)
|
36
|
-
aws-sdk-s3 (1.
|
37
|
-
aws-sdk-core (~> 3, >= 3.
|
36
|
+
aws-sdk-s3 (1.105.1)
|
37
|
+
aws-sdk-core (~> 3, >= 3.122.0)
|
38
38
|
aws-sdk-kms (~> 1)
|
39
39
|
aws-sigv4 (~> 1.4)
|
40
40
|
aws-sigv4 (1.4.0)
|
@@ -73,36 +73,38 @@ GEM
|
|
73
73
|
httparty (0.20.0)
|
74
74
|
mime-types (~> 3.0)
|
75
75
|
multi_xml (>= 0.5.2)
|
76
|
-
i18n (1.8.
|
76
|
+
i18n (1.8.11)
|
77
77
|
concurrent-ruby (~> 1.0)
|
78
78
|
iodine (0.7.44)
|
79
79
|
jmespath (1.4.0)
|
80
80
|
json-schema (2.8.1)
|
81
81
|
addressable (>= 2.4)
|
82
|
-
jwt (2.
|
82
|
+
jwt (2.3.0)
|
83
83
|
mail (2.7.1)
|
84
84
|
mini_mime (>= 0.1.1)
|
85
85
|
mime-types (3.3.1)
|
86
86
|
mime-types-data (~> 3.2015)
|
87
87
|
mime-types-data (3.2021.0901)
|
88
|
-
mini_mime (1.1.
|
88
|
+
mini_mime (1.1.2)
|
89
|
+
mini_portile2 (2.6.1)
|
89
90
|
minitest (5.14.4)
|
90
91
|
multi_xml (0.6.0)
|
91
92
|
multipart-post (2.1.1)
|
92
|
-
nokogiri (1.12.5
|
93
|
+
nokogiri (1.12.5)
|
94
|
+
mini_portile2 (~> 2.6.1)
|
93
95
|
racc (~> 1.4)
|
94
96
|
public_suffix (4.0.6)
|
95
|
-
racc (1.
|
97
|
+
racc (1.6.0)
|
96
98
|
rack (2.2.3)
|
97
99
|
rake (13.0.1)
|
98
|
-
roda (3.
|
100
|
+
roda (3.49.0)
|
99
101
|
rack
|
100
102
|
rotp (6.2.0)
|
101
103
|
thor (1.1.0)
|
102
104
|
tilt (2.0.10)
|
103
105
|
tzinfo (2.0.4)
|
104
106
|
concurrent-ruby (~> 1.0)
|
105
|
-
zeitwerk (2.
|
107
|
+
zeitwerk (2.5.1)
|
106
108
|
|
107
109
|
PLATFORMS
|
108
110
|
ruby
|
data/docker/Dockerfile
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
-
FROM
|
1
|
+
FROM mailhog/mailhog:v1.0.1 AS mailhog
|
2
|
+
FROM traefik:1.7 AS traefik
|
3
|
+
FROM minio/minio AS minio
|
4
|
+
FROM phusion/passenger-customizable:1.0.19
|
5
|
+
|
2
6
|
# Set correct environment variables.
|
3
7
|
ENV HOME /root
|
4
8
|
ARG GEM_VERSION=>0
|
5
9
|
ARG user_id=1000
|
10
|
+
COPY --from=mailhog /usr/local/bin/MailHog /usr/local/bin/mailhog
|
11
|
+
COPY --from=traefik /traefik /usr/local/bin/
|
12
|
+
COPY --from=minio /opt/bin/minio /usr/local/bin/
|
6
13
|
# Use baseimage-docker's init process.
|
7
14
|
CMD ["/sbin/my_init"]
|
8
15
|
RUN mv /etc/apt/sources.list.d /etc/apt/sources.list.d.bak
|
@@ -35,54 +42,20 @@ RUN /pd_build/ruby-2.7.*.sh
|
|
35
42
|
RUN /pd_build/nodejs.sh
|
36
43
|
|
37
44
|
# Get latest rubygems
|
38
|
-
RUN bash --login -c "rvm --default use 2.7.
|
45
|
+
RUN bash --login -c "rvm --default use 2.7.4"
|
39
46
|
RUN gem update --system
|
40
47
|
|
41
48
|
# ...put your own build instructions here...
|
42
49
|
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
43
50
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
44
|
-
RUN apt-get update && apt-get -y --no-install-recommends install tzdata postgresql gettext-base wget sudo libmcrypt-dev mcrypt sqlite3 libsqlite3-dev yarn shared-mime-info && rm -rf /var/lib/apt/lists/*
|
45
|
-
|
46
|
-
# Install jvm (small version from adoptopenjdk), grab specific version of pdftk jar file from gitlab
|
47
|
-
RUN mkdir -p /root/pdftk
|
48
|
-
WORKDIR /root/pdftk
|
49
|
-
RUN apt-get update && apt-get install --no-install-recommends -y \
|
50
|
-
unzip \
|
51
|
-
&& curl --location -o jvm.tar.gz https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jre_x64_linux_openj9_8u222b10_openj9-0.15.1.tar.gz \
|
52
|
-
&& mkdir -p /usr/lib/jvm \
|
53
|
-
&& tar --directory=/usr/lib/jvm -xvzf jvm.tar.gz \
|
54
|
-
&& rm jvm.tar.gz \
|
55
|
-
&& ln -s /usr/lib/jvm/jdk8u222-b10-jre/bin/java /etc/alternatives/java \
|
56
|
-
&& ln -s /etc/alternatives/java /usr/bin/java \
|
57
|
-
&& curl --location -o artifacts.zip https://gitlab.com/pdftk-java/pdftk/-/jobs/artifacts/v3.0.7/download?job=gradle \
|
58
|
-
&& unzip artifacts.zip \
|
59
|
-
&& mv build/libs/pdftk-all.jar /usr/local/lib/pdftk.jar \
|
60
|
-
&& rm -rf build artifacts.zip \
|
61
|
-
&& apt-get remove -y unzip \
|
62
|
-
&& apt autoremove -y \
|
63
|
-
&& rm -rf /var/lib/apt/lists/*
|
64
|
-
# pdftk is a 2 line bash script to just call the jar file, put it in the path
|
65
|
-
COPY docker/pdftk /usr/local/bin
|
66
|
-
RUN chmod 0755 /usr/local/bin/pdftk
|
67
|
-
|
51
|
+
RUN apt-get update && apt-get -y --no-install-recommends install freeport tzdata postgresql gettext-base pdftk wget sudo libmcrypt-dev mcrypt sqlite3 libsqlite3-dev yarn shared-mime-info && rm -rf /var/lib/apt/lists/*
|
68
52
|
|
69
53
|
# Enable the Redis service.
|
70
54
|
RUN rm -f /etc/service/redis/down
|
71
55
|
|
72
|
-
# Install freeport
|
73
|
-
RUN wget https://github.com/phayes/freeport/releases/download/1.0.2/freeport_1.0.2_linux_amd64.deb && dpkg -i freeport_1.0.2_linux_amd64.deb && rm freeport_1.0.2_linux_amd64.deb
|
74
|
-
# Install traefik (For front end reverse proxy)
|
75
|
-
RUN bash -lc "wget https://github.com/containous/traefik/releases/download/v1.7.10/traefik_linux-amd64 && mv ./traefik_linux-amd64 /usr/bin/traefik && chmod +x /usr/bin/traefik"
|
76
|
-
|
77
|
-
# Install minio
|
78
|
-
RUN bash -lc "cd /usr/local/bin && wget https://dl.minio.io/server/minio/release/linux-amd64/minio && chmod +x minio"
|
79
|
-
|
80
56
|
# Install azurite
|
81
57
|
RUN bash -lc "npm install -g azurite@2.7.0"
|
82
58
|
|
83
|
-
# Install Mailhog
|
84
|
-
RUN bash -lc "cd /usr/local/bin && wget https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64 -O mailhog && chmod +x mailhog"
|
85
|
-
|
86
59
|
# Install go, then godotenv, then remove go
|
87
60
|
RUN apt-get update && apt-get -y install --no-install-recommends golang && export GOPATH=/home/app/go && mkdir -p /home/app/go && go get github.com/joho/godotenv/cmd/godotenv && apt-get -y remove golang && apt -y autoremove && rm -rf /var/lib/apt/lists/* && cp /home/app/go/bin/godotenv /usr/bin/ && rm -rf /home/app/go
|
88
61
|
|
@@ -105,11 +78,11 @@ WORKDIR /home/app/full_system
|
|
105
78
|
RUN echo "app ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && chmod 0440 /etc/sudoers.d/user
|
106
79
|
USER app
|
107
80
|
|
108
|
-
RUN bash --login -c "rvm --default use 2.7.
|
81
|
+
RUN bash --login -c "rvm --default use 2.7.4"
|
109
82
|
RUN bash --login -c "gem install bundler --version 1.17.3"
|
110
83
|
|
111
84
|
# Install gems required outside of any bundle.
|
112
|
-
RUN bash --login -c "rvm use && gem install dotenv et_fake_acas_server invoker && gem install et_full_system --version=$GEM_VERSION"
|
85
|
+
RUN bash --login -c "rvm use 2.7.4 && gem install dotenv et_fake_acas_server invoker && gem install et_full_system --version=$GEM_VERSION"
|
113
86
|
|
114
87
|
WORKDIR /home/app/full_system
|
115
88
|
|
data/docker/docker-compose.yml
CHANGED
@@ -111,6 +111,8 @@ services:
|
|
111
111
|
- et_full_system
|
112
112
|
extra_hosts:
|
113
113
|
- "localhost.from.docker:${LOCALHOST_FROM_DOCKER_IP}"
|
114
|
+
profiles:
|
115
|
+
- test
|
114
116
|
chrome:
|
115
117
|
image: selenium/node-chrome:3.141.59-yttrium
|
116
118
|
volumes:
|
@@ -124,6 +126,9 @@ services:
|
|
124
126
|
- "localhost.from.docker:${LOCALHOST_FROM_DOCKER_IP}"
|
125
127
|
networks:
|
126
128
|
- et_full_system
|
129
|
+
profiles:
|
130
|
+
- test
|
131
|
+
- chrome
|
127
132
|
firefox:
|
128
133
|
image: selenium/node-firefox:3.141.59-yttrium
|
129
134
|
volumes:
|
@@ -137,6 +142,9 @@ services:
|
|
137
142
|
- "localhost.from.docker:${LOCALHOST_FROM_DOCKER_IP:-127.255.255.255}"
|
138
143
|
networks:
|
139
144
|
- et_full_system
|
145
|
+
profiles:
|
146
|
+
- test
|
147
|
+
- firefox
|
140
148
|
volumes:
|
141
149
|
rvm:
|
142
150
|
global_node_modules:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et_full_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0.pre.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -197,9 +197,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
199
|
requirements:
|
200
|
-
- - "
|
200
|
+
- - ">"
|
201
201
|
- !ruby/object:Gem::Version
|
202
|
-
version:
|
202
|
+
version: 1.3.1
|
203
203
|
requirements: []
|
204
204
|
rubygems_version: 3.1.6
|
205
205
|
signing_key:
|