Skip to content
Snippets Groups Projects
Commit d828df4e authored by Rysev, Gleb (UG - SISC)'s avatar Rysev, Gleb (UG - SISC)
Browse files

It builds but fails

parent ef70015a
No related branches found
No related tags found
No related merge requests found
Pipeline #30469 failed
...@@ -15,3 +15,4 @@ node_modules ...@@ -15,3 +15,4 @@ node_modules
yarn-error.log yarn-error.log
coverage/ coverage/
.env .env
“Gemfile.lock”
...@@ -47,3 +47,4 @@ yarn-debug.log* ...@@ -47,3 +47,4 @@ yarn-debug.log*
.yarn-integrity .yarn-integrity
/idea/* /idea/*
“Gemfile.lock”
FROM ruby:2.5.7 FROM ruby:2.5.7
# throw errors if Gemfile has been modified since Gemfile.lock # throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1 # RUN bundle config --global frozen 1
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
ONBUILD COPY Gemfile /usr/src/app/ EXPOSE 3000
ONBUILD COPY Gemfile.lock /usr/src/app/ CMD ["rails", "server", "-b", "0.0.0.0"]
ONBUILD RUN bundle install
ONBUILD COPY . /usr/src/app RUN apt-get update && apt-get install -y nodejs --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y default-mysql-client postgresql-client sqlite3 --no-install-recommends && rm -rf /var/lib/apt/lists/*
#RUN gem install bundler -v 1.17.3
COPY Gemfile /usr/src/app/
RUN apt-get update && \ # Uncomment the line below if Gemfile.lock is maintained outside of build process
apt-get install -y nodejs --no-install-recommends && \ COPY Gemfile.lock /usr/src/app/
rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get install -y \
mysql-client postgresql-client \
sqlite3 --no-install-recommends && \
rm -rf /var/lib/apt/lists/*
EXPOSE 3000
CMD ["rails", "server"] RUN bundle install
COPY . /usr/src/app
...@@ -13,45 +13,45 @@ GIT ...@@ -13,45 +13,45 @@ GIT
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (5.2.4.5) actioncable (5.2.5)
actionpack (= 5.2.4.5) actionpack (= 5.2.5)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailer (5.2.4.5) actionmailer (5.2.5)
actionpack (= 5.2.4.5) actionpack (= 5.2.5)
actionview (= 5.2.4.5) actionview (= 5.2.5)
activejob (= 5.2.4.5) activejob (= 5.2.5)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (5.2.4.5) actionpack (5.2.5)
actionview (= 5.2.4.5) actionview (= 5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
rack (~> 2.0, >= 2.0.8) rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.4.5) actionview (5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3) rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.4.5) activejob (5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (5.2.4.5) activemodel (5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
activerecord (5.2.4.5) activerecord (5.2.5)
activemodel (= 5.2.4.5) activemodel (= 5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
arel (>= 9.0) arel (>= 9.0)
activerecord-postgresql-adapter (0.0.1) activerecord-postgresql-adapter (0.0.1)
pg pg
activestorage (5.2.4.5) activestorage (5.2.5)
actionpack (= 5.2.4.5) actionpack (= 5.2.5)
activerecord (= 5.2.4.5) activerecord (= 5.2.5)
marcel (~> 0.3.1) marcel (~> 1.0.0)
activesupport (5.2.4.5) activesupport (5.2.5)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
minitest (~> 5.1) minitest (~> 5.1)
...@@ -66,7 +66,7 @@ GEM ...@@ -66,7 +66,7 @@ GEM
execjs execjs
bcrypt (3.1.16) bcrypt (3.1.16)
bindex (0.8.1) bindex (0.8.1)
bootsnap (1.7.2) bootsnap (1.7.4)
msgpack (~> 1.0) msgpack (~> 1.0)
bootstrap (4.6.0) bootstrap (4.6.0)
autoprefixer-rails (>= 9.1.0) autoprefixer-rails (>= 9.1.0)
...@@ -98,21 +98,24 @@ GEM ...@@ -98,21 +98,24 @@ GEM
js_cookie_rails (~> 2.2.0) js_cookie_rails (~> 2.2.0)
crass (1.0.6) crass (1.0.6)
declarative (0.0.20) declarative (0.0.20)
declarative-option (0.1.0)
dotenv (2.7.6) dotenv (2.7.6)
dotenv-rails (2.7.6) dotenv-rails (2.7.6)
dotenv (= 2.7.6) dotenv (= 2.7.6)
railties (>= 3.2) railties (>= 3.2)
erubi (1.10.0) erubi (1.10.0)
execjs (2.7.0) execjs (2.7.0)
faraday (1.3.0) faraday (1.4.1)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0) faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ruby2_keywords ruby2_keywords (>= 0.0.4)
faraday-excon (1.1.0)
faraday-net_http (1.0.1) faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
fast_jsonapi (1.5) fast_jsonapi (1.5)
activesupport (>= 4.2) activesupport (>= 4.2)
ffi (1.14.2) ffi (1.15.0)
font-awesome-sass (5.15.1) font-awesome-sass (5.15.1)
sassc (>= 1.11) sassc (>= 1.11)
gems (1.2.0) gems (1.2.0)
...@@ -139,7 +142,7 @@ GEM ...@@ -139,7 +142,7 @@ GEM
google-apis-core (~> 0.1) google-apis-core (~> 0.1)
google-apis-discovery_v1 (~> 0.0) google-apis-discovery_v1 (~> 0.0)
thor (>= 0.20, < 2.a) thor (>= 0.20, < 2.a)
googleauth (0.16.1) googleauth (0.16.2)
faraday (>= 0.17.3, < 2.0) faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0) jwt (>= 1.4, < 3.0)
memoist (~> 0.16) memoist (~> 0.16)
...@@ -150,7 +153,7 @@ GEM ...@@ -150,7 +153,7 @@ GEM
highline (2.0.3) highline (2.0.3)
hkdf (0.3.0) hkdf (0.3.0)
httpclient (2.8.3) httpclient (2.8.3)
i18n (1.8.9) i18n (1.8.10)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
i18n-tasks (0.9.34) i18n-tasks (0.9.34)
activesupport (>= 4.0.2) activesupport (>= 4.0.2)
...@@ -171,47 +174,43 @@ GEM ...@@ -171,47 +174,43 @@ GEM
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
js_cookie_rails (2.2.0) js_cookie_rails (2.2.0)
railties (>= 3.1) railties (>= 3.1)
jwt (2.2.2) jwt (2.2.3)
koala (2.5.0) koala (2.5.0)
addressable addressable
faraday faraday
libv8 (8.4.255.0) libv8-node (15.14.0.1)
listen (3.1.5) listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4) rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7) rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2) ruby_dep (~> 1.2)
loofah (2.9.0) loofah (2.9.1)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.5.9)
mail (2.7.1) mail (2.7.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
marcel (0.3.3) marcel (1.0.1)
mimemagic (~> 0.3.2)
memoist (0.16.2) memoist (0.16.2)
method_source (1.0.0) method_source (1.0.0)
mimemagic (0.3.10) mini_mime (1.1.0)
nokogiri (~> 1) mini_portile2 (2.5.1)
rake mini_racer (0.4.0)
mini_mime (1.0.2) libv8-node (~> 15.14.0.0)
mini_portile2 (2.5.0)
mini_racer (0.3.1)
libv8 (~> 8.4.255)
minitest (5.14.4) minitest (5.14.4)
msgpack (1.4.2) msgpack (1.4.2)
multi_json (1.15.0) multi_json (1.15.0)
multi_xml (0.6.0) multi_xml (0.6.0)
multipart-post (2.1.1) multipart-post (2.1.1)
nio4r (2.5.5) nio4r (2.5.7)
nokogiri (1.11.1) nokogiri (1.11.3)
mini_portile2 (~> 2.5.0) mini_portile2 (~> 2.5.0)
racc (~> 1.4) racc (~> 1.4)
oauth2 (1.4.4) oauth2 (1.4.7)
faraday (>= 0.8, < 2.0) faraday (>= 0.8, < 2.0)
jwt (>= 1.0, < 3.0) jwt (>= 1.0, < 3.0)
multi_json (~> 1.3) multi_json (~> 1.3)
multi_xml (~> 0.5) multi_xml (~> 0.5)
rack (>= 1.2, < 3) rack (>= 1.2, < 3)
omniauth (2.0.3) omniauth (2.0.4)
hashie (>= 3.4.6) hashie (>= 3.4.6)
rack (>= 1.6.2, < 3) rack (>= 1.6.2, < 3)
rack-protection rack-protection
...@@ -244,18 +243,18 @@ GEM ...@@ -244,18 +243,18 @@ GEM
rack rack
rack-test (1.1.0) rack-test (1.1.0)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rails (5.2.4.5) rails (5.2.5)
actioncable (= 5.2.4.5) actioncable (= 5.2.5)
actionmailer (= 5.2.4.5) actionmailer (= 5.2.5)
actionpack (= 5.2.4.5) actionpack (= 5.2.5)
actionview (= 5.2.4.5) actionview (= 5.2.5)
activejob (= 5.2.4.5) activejob (= 5.2.5)
activemodel (= 5.2.4.5) activemodel (= 5.2.5)
activerecord (= 5.2.4.5) activerecord (= 5.2.5)
activestorage (= 5.2.4.5) activestorage (= 5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
bundler (>= 1.3.0) bundler (>= 1.3.0)
railties (= 5.2.4.5) railties (= 5.2.5)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5) rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1) actionpack (>= 5.0.1.rc1)
...@@ -269,9 +268,9 @@ GEM ...@@ -269,9 +268,9 @@ GEM
rails-i18n (5.1.3) rails-i18n (5.1.3)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
railties (>= 5.0, < 6) railties (>= 5.0, < 6)
railties (5.2.4.5) railties (5.2.5)
actionpack (= 5.2.4.5) actionpack (= 5.2.5)
activesupport (= 5.2.4.5) activesupport (= 5.2.5)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0) thor (>= 0.19.0, < 2.0)
...@@ -282,15 +281,15 @@ GEM ...@@ -282,15 +281,15 @@ GEM
ffi (~> 1.0) ffi (~> 1.0)
redis (4.2.5) redis (4.2.5)
regexp_parser (2.1.1) regexp_parser (2.1.1)
representable (3.0.4) representable (3.1.1)
declarative (< 0.1.0) declarative (< 0.1.0)
declarative-option (< 0.2.0) trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0) uber (< 0.2.0)
responders (3.0.1) responders (3.0.1)
actionpack (>= 5.0) actionpack (>= 5.0)
railties (>= 5.0) railties (>= 5.0)
retriable (3.1.2) retriable (3.1.2)
rexml (3.2.4) rexml (3.2.5)
ruby2_keywords (0.0.4) ruby2_keywords (0.0.4)
ruby_dep (1.5.0) ruby_dep (1.5.0)
rubyzip (2.3.0) rubyzip (2.3.0)
...@@ -316,7 +315,7 @@ GEM ...@@ -316,7 +315,7 @@ GEM
selenium-webdriver (3.142.7) selenium-webdriver (3.142.7)
childprocess (>= 0.5, < 4.0) childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2) rubyzip (>= 1.2.2)
semantic_range (2.3.1) semantic_range (3.0.0)
serviceworker-rails (0.6.0) serviceworker-rails (0.6.0)
railties (>= 3.1) railties (>= 3.1)
signet (0.15.0) signet (0.15.0)
...@@ -344,6 +343,7 @@ GEM ...@@ -344,6 +343,7 @@ GEM
thor (1.1.0) thor (1.1.0)
thread_safe (0.3.6) thread_safe (0.3.6)
tilt (2.0.10) tilt (2.0.10)
trailblazer-option (0.1.1)
turbolinks (5.2.1) turbolinks (5.2.1)
turbolinks-source (~> 5.2) turbolinks-source (~> 5.2)
turbolinks-source (5.2.0) turbolinks-source (5.2.0)
...@@ -360,7 +360,7 @@ GEM ...@@ -360,7 +360,7 @@ GEM
activemodel (>= 5.0) activemodel (>= 5.0)
bindex (>= 0.4.0) bindex (>= 0.4.0)
railties (>= 5.0) railties (>= 5.0)
webpacker (5.2.1) webpacker (5.3.0)
activesupport (>= 5.2) activesupport (>= 5.2)
rack-proxy (>= 0.6.1) rack-proxy (>= 0.6.1)
railties (>= 5.2) railties (>= 5.2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment