From faef71fb9c08250c97bab75d7568dcddc95539b1 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 8 Mar 2023 19:35:40 -0500 Subject: [PATCH 1/8] Attempt to add Docker (via Rails 7.1 file) --- .dockerignore | 28 +++++++++++ .drone.yml | 108 +++++++++++++++++++++++++++--------------- Dockerfile | 27 +++++++++++ bin/docker-entrypoint | 12 +++++ 4 files changed, 138 insertions(+), 37 deletions(-) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100755 bin/docker-entrypoint diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e6bb9c7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,28 @@ +# See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files. + +# Ignore bundler config. +/.bundle + +# Ignore all default key files +config/master.key +config/credentials/*.key + +# Ignore all logfiles and tempfiles. +/log/* +/tmp/* +!/log/.keep +!/tmp/.keep + +# Ignore pidfiles, but keep the directory. +/tmp/pids/* +!/tmp/pids/ +!/tmp/pids/.keep + +# Ignore storage (uploaded files in development and any SQLite databases). +/storage/* +!/storage/.keep +/tmp/storage/* +!/tmp/storage/ +!/tmp/storage/.keep + +/public/assets diff --git a/.drone.yml b/.drone.yml index e214580..97c40e0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,45 +2,79 @@ name: default kind: pipeline steps: -- name: install - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/bundle install --jobs=3 --retry=3 + - name: install + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/bundle install --jobs=3 --retry=3 -- name: autoload - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/rails zeitwerk:check - depends_on: - - install + - name: autoload + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: - bin/rails zeitwerk:check + depends_on: + - install -- name: lint - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/bundle exec standardrb - depends_on: - - install + - name: lint + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/bundle exec standardrb + depends_on: + - install -- name: test - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/rails assets:precompile - - bin/rails test - depends_on: - - install + - name: test + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/rails assets:precompile + - bin/rails test + depends_on: + - install volumes: -- name: bundle - temp: {} + - name: bundle + temp: {} + +trigger: + branch: + exclude: master + event: push + +--- +name: deploy +kind: pipeline + +steps: + - name: docker-build + image: plugins/docker + settings: + pull_image: true + registry: docker.atomaka.com + repo: docker.atomaka.com/budget + tags: + - latest + - ${DRONE_TAG} + - name: deploy + image: appleboy/drone-ssh + settings: + host: + from_secret: unraid_host + username: + from_secret: unraid_username + key: + from_secret: unraid_ssh_key + script: + - docker pull docker.atomaka.com/budget:latest + - docker restart budget + +trigger: + event: tag diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e1c6885 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +# Make sure it matches the Ruby version in .ruby-version and Gemfile +ARG RUBY_VERSION=3.2.0 +FROM ruby:$RUBY_VERSION + +# Set production environment +ENV RAILS_LOG_TO_STDOUT="1" \ + RAILS_SERVE_STATIC_FILES="true" \ + RAILS_ENV="production" \ + BUNDLE_WITHOUT="development:test" + +# Install application gems +COPY Gemfile Gemfile.lock ./ +RUN bundle install + +# Copy application code +COPY . . + +# Precompile bootsnap code for faster boot times +RUN bundle exec bootsnap precompile --gemfile app/ lib/ + +# Precompiling assets for production without requiring secret RAILS_MASTER_KEY +RUN SECRET_KEY_BASE_DUMMY=1 bundle exec rails assets:precompile + +# Entrypoint prepares database and starts app on 0.0.0.0:3000 by default, +# but can also take a rails command, like "console" or "runner" to start instead. +ENTRYPOINT ["/rails/bin/docker-entrypoint"] +EXPOSE 3000 diff --git a/bin/docker-entrypoint b/bin/docker-entrypoint new file mode 100755 index 0000000..32e7713 --- /dev/null +++ b/bin/docker-entrypoint @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ $# -eq 0 ]; then + # Create new or migrate existing database + ./bin/rails db:prepare + + # Start the server by default + exec bin/rails server +else + # Allow other commands, like console or runner, to be called + exec bin/rails "$@" +fi -- 2.45.2 From 84edcc899ce4665802b01dd8979825c2396ff78e Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 8 Mar 2023 19:37:05 -0500 Subject: [PATCH 2/8] =?UTF-8?q?=C2=AF\=5F(=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 73 +++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/.drone.yml b/.drone.yml index 97c40e0..649aaf3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,47 +2,48 @@ name: default kind: pipeline steps: - - name: install - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/bundle install --jobs=3 --retry=3 +- name: install + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/bundle install --jobs=3 --retry=3 - - name: autoload - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - bin/rails zeitwerk:check - depends_on: - - install +- name: autoload + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/rails zeitwerk:check + depends_on: + - install - - name: lint - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/bundle exec standardrb - depends_on: - - install +- name: lint + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/bundle exec standardrb + depends_on: + - install - - name: test - image: ruby:3.2.0 - volumes: - - name: bundle - path: /usr/local/bundle - commands: - - bin/rails assets:precompile - - bin/rails test - depends_on: - - install +- name: test + image: ruby:3.2.0 + volumes: + - name: bundle + path: /usr/local/bundle + commands: + - bin/rails assets:precompile + - bin/rails test + depends_on: + - install volumes: - - name: bundle - temp: {} +- name: bundle + temp: {} trigger: branch: -- 2.45.2 From e7f900d3de68d04229aa31184380990811478331 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 11 Mar 2023 14:59:06 -0500 Subject: [PATCH 3/8] Provide env var --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 649aaf3..1312acb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,6 +57,9 @@ kind: pipeline steps: - name: docker-build image: plugins/docker + environment: + SECRET_KEY_BASE: + from_secret: secret_key_base settings: pull_image: true registry: docker.atomaka.com -- 2.45.2 From 2db1a20600eed866c6168c39d5f0e62ddd7cb783 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 11 Mar 2023 15:51:05 -0500 Subject: [PATCH 4/8] =?UTF-8?q?=C2=AF\=5F(=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 2 ++ config/credentials.yml.enc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1312acb..34389c8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,6 +60,8 @@ steps: environment: SECRET_KEY_BASE: from_secret: secret_key_base + RAILS_MASTER_KEY: + from_secret: rails_master_key settings: pull_image: true registry: docker.atomaka.com diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc index 5392214..bcec73a 100644 --- a/config/credentials.yml.enc +++ b/config/credentials.yml.enc @@ -1 +1 @@ -31piJThknEWtbmHH3f6HVG/VQD8tI7QQEmyVrMCcu5SXHfM+5RergYrj3gB8SOg3GMczFmN95N0Hg8ux5KxCNkgUirF+myX+4I3RCAxjTU6z9jejqKpFW/m0VeZbxd51Wy/vXRafHtW8aVqS24qih3Cn74fn4wjQhqeLgDp5UXwufrN3qu54Mhcu0D+Xwqou0TpzI1C5GcWqQAA3BS0ffDt50O86aIka73JHNekCkUYN1XgpwzSJyLrJV9U88ABggzv96hHS7nFu+XgZ5h/qfp6vUUjcvNdAD6Cnc4Es7qJCK6cGxKywOkniF311de4kE9OohWJlvgk1gv95iPek/G+kZ6YA5CAGh5EGJmgoHw9VAgXS9qwzmXREv1XnUQqbSBe7f08ZBpyHalBcnlDLLeOYa77banYejaFH--w+t1KcfM0BJzs6cn--WaG989DxzVCeJ4DV37z0TA== \ No newline at end of file +NTopFWABDI6oihzFN2uCb19GCcunDUZP401NK+cVLFW48IHUYJR++fClx0FOhMbgjlZ7dOdMxc9VWHkg07N8WOEuUWonRIWXRSLXWJsFKMahHBN+Xu7q2EaoUrBy7qcCZltCJq6DLO9FZEjRLMbFMwIGUAsFyB1OoeXwzFnZ0gXriZFjbMXHm+d9g7eonGa4ihpZFG+s4oKDoaMBbpRAS3w6+EviEfUiJVtL2xSOZuvsPr9/6xt6prDNfiHu0zPDyiyUvaOJDUSmkW7rLNkuhOyuP0PE9tRVovhxhlago1xFmhCM6FFeNSD8ZoLiFHuXj9wCzIo/f6FTWwd5Q3xQcz9ajKGYHwyLavTyg98Lv9GnNj5QYRHOkOM1Ytf3W3IKIiiPaTlEjNYPFNGdfJ2knTLLKMTme+n58Kh6rvvlfDGYIIlxsDY0wcSTw5B0iNTx2AzPLA/28uOkjEY0ciqz/+PvKvKsdBDs9GwzlSsHavzz84ig/GD/WiU=--dLIpbdIFQlJE69wi--MVj213cct44owsUJxVhc3Q== \ No newline at end of file -- 2.45.2 From 212f9cd14db0c7349aec756caef6805077e5a0ee Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 11 Mar 2023 16:14:50 -0500 Subject: [PATCH 5/8] =?UTF-8?q?(=20=CD=A1=C2=B0=20=CD=9C=CA=96=20=CD=A1?= =?UTF-8?q?=C2=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/credentials.yml.enc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc index bcec73a..95d7055 100644 --- a/config/credentials.yml.enc +++ b/config/credentials.yml.enc @@ -1 +1 @@ -NTopFWABDI6oihzFN2uCb19GCcunDUZP401NK+cVLFW48IHUYJR++fClx0FOhMbgjlZ7dOdMxc9VWHkg07N8WOEuUWonRIWXRSLXWJsFKMahHBN+Xu7q2EaoUrBy7qcCZltCJq6DLO9FZEjRLMbFMwIGUAsFyB1OoeXwzFnZ0gXriZFjbMXHm+d9g7eonGa4ihpZFG+s4oKDoaMBbpRAS3w6+EviEfUiJVtL2xSOZuvsPr9/6xt6prDNfiHu0zPDyiyUvaOJDUSmkW7rLNkuhOyuP0PE9tRVovhxhlago1xFmhCM6FFeNSD8ZoLiFHuXj9wCzIo/f6FTWwd5Q3xQcz9ajKGYHwyLavTyg98Lv9GnNj5QYRHOkOM1Ytf3W3IKIiiPaTlEjNYPFNGdfJ2knTLLKMTme+n58Kh6rvvlfDGYIIlxsDY0wcSTw5B0iNTx2AzPLA/28uOkjEY0ciqz/+PvKvKsdBDs9GwzlSsHavzz84ig/GD/WiU=--dLIpbdIFQlJE69wi--MVj213cct44owsUJxVhc3Q== \ No newline at end of file +ihhBDc4aTCWmcgiU77K/4aJem2CNSm8hscI1DcCXh8wjYdNNunhOZOOsHplKD86tuHHUR2T0Z84AJjwpsL6RSlWfX5hlW7jkv2Bbl8uyBbK6+/CtglKmmLhje0y958jjxankf9OkjjTOC0JQ02C8B7gllgmxUql/8rYt5am3wvoNyv3QcyH9Zz5DzA8yuod0Z1Ft2NMTyzPC74RDt4iQa4SDTIUPpJxeV31HF0ilUbGKqfXvU3UsEahDdi928c0tlLfTD0qBq7sULIjOuNEJPqwzJqabVFR7U72HRm9VyhnMxVUo0XU4TwHeixirHHAZAYxTaXena2qGNlGjLhu3ZBIFkFJCcaFZSV+zVfdP1PzGXiTSjSk9du5yLiqp740T2V+9082nh5cWnBtRgoPp4Y3rrGQijl6TrvARaewL4gsamq18OZsq9noPBqzpYB2d2yAyKUIXKfdVoBWSuhXsycQaNoQzdwtby0MQTU49j/X1aadz6FpDVOYJR10QZ8ery5v7z8wuhbJMDCuZb+6Fhjgfyieg0g8IaaLcxZ7/rqRP0XfgQ70wj/ROErqC+9t20DKcvX0RvB3qMVbbDhr6cu2jWNJYupXFO2uJQn/OpbNC5JLudcc=--3vp533j1Tb8wPXE4--aFdo9fdjxUq5KBqPEXwjNg== \ No newline at end of file -- 2.45.2 From bb6c9ffbf190a881b8038c663c9030f5a6617bc8 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 12 Mar 2023 10:13:57 -0400 Subject: [PATCH 6/8] Bump Rails to master for building docker --- Gemfile | 2 +- Gemfile.lock | 160 ++++++++++++++++++++++++++++----------------------- 2 files changed, 89 insertions(+), 73 deletions(-) diff --git a/Gemfile b/Gemfile index f9b353a..b7e9c12 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "3.2.0" -gem "rails", "7.0.4.2" +gem "rails", git: "https://github.com/rails/rails" gem "sprockets-rails" gem "sqlite3" gem "puma" diff --git a/Gemfile.lock b/Gemfile.lock index 1f5bece..2bcf6e5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,71 +1,102 @@ -GEM - remote: https://rubygems.org/ +GIT + remote: https://github.com/rails/rails + revision: 3025eaa09154f5f031f5c2e0e5b59553ff5c902b specs: - actioncable (7.0.4.2) - actionpack (= 7.0.4.2) - activesupport (= 7.0.4.2) + actioncable (7.1.0.alpha) + actionpack (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (7.0.4.2) - actionpack (= 7.0.4.2) - activejob (= 7.0.4.2) - activerecord (= 7.0.4.2) - activestorage (= 7.0.4.2) - activesupport (= 7.0.4.2) + zeitwerk (~> 2.6) + actionmailbox (7.1.0.alpha) + actionpack (= 7.1.0.alpha) + activejob (= 7.1.0.alpha) + activerecord (= 7.1.0.alpha) + activestorage (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) mail (>= 2.7.1) net-imap net-pop net-smtp - actionmailer (7.0.4.2) - actionpack (= 7.0.4.2) - actionview (= 7.0.4.2) - activejob (= 7.0.4.2) - activesupport (= 7.0.4.2) + actionmailer (7.1.0.alpha) + actionpack (= 7.1.0.alpha) + actionview (= 7.1.0.alpha) + activejob (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) mail (~> 2.5, >= 2.5.4) net-imap net-pop net-smtp rails-dom-testing (~> 2.0) - actionpack (7.0.4.2) - actionview (= 7.0.4.2) - activesupport (= 7.0.4.2) - rack (~> 2.0, >= 2.2.0) + actionpack (7.1.0.alpha) + actionview (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) + nokogiri (>= 1.8.5) + rack (>= 2.2.4) + rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (7.0.4.2) - actionpack (= 7.0.4.2) - activerecord (= 7.0.4.2) - activestorage (= 7.0.4.2) - activesupport (= 7.0.4.2) + actiontext (7.1.0.alpha) + actionpack (= 7.1.0.alpha) + activerecord (= 7.1.0.alpha) + activestorage (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.0.4.2) - activesupport (= 7.0.4.2) + actionview (7.1.0.alpha) + activesupport (= 7.1.0.alpha) builder (~> 3.1) - erubi (~> 1.4) + erubi (~> 1.11) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (7.0.4.2) - activesupport (= 7.0.4.2) + activejob (7.1.0.alpha) + activesupport (= 7.1.0.alpha) globalid (>= 0.3.6) - activemodel (7.0.4.2) - activesupport (= 7.0.4.2) - activerecord (7.0.4.2) - activemodel (= 7.0.4.2) - activesupport (= 7.0.4.2) - activestorage (7.0.4.2) - actionpack (= 7.0.4.2) - activejob (= 7.0.4.2) - activerecord (= 7.0.4.2) - activesupport (= 7.0.4.2) + activemodel (7.1.0.alpha) + activesupport (= 7.1.0.alpha) + activerecord (7.1.0.alpha) + activemodel (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) + activestorage (7.1.0.alpha) + actionpack (= 7.1.0.alpha) + activejob (= 7.1.0.alpha) + activerecord (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) marcel (~> 1.0) mini_mime (>= 1.1.0) - activesupport (7.0.4.2) + activesupport (7.1.0.alpha) concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) + rails (7.1.0.alpha) + actioncable (= 7.1.0.alpha) + actionmailbox (= 7.1.0.alpha) + actionmailer (= 7.1.0.alpha) + actionpack (= 7.1.0.alpha) + actiontext (= 7.1.0.alpha) + actionview (= 7.1.0.alpha) + activejob (= 7.1.0.alpha) + activemodel (= 7.1.0.alpha) + activerecord (= 7.1.0.alpha) + activestorage (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) + bundler (>= 1.15.0) + railties (= 7.1.0.alpha) + railties (7.1.0.alpha) + actionpack (= 7.1.0.alpha) + activesupport (= 7.1.0.alpha) + irb + rackup (>= 1.0.0) + rake (>= 12.2) + thor (~> 1.0) + zeitwerk (~> 2.6) + +GEM + remote: https://rubygems.org/ + specs: addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) ast (2.4.2) @@ -83,14 +114,15 @@ GEM regexp_parser (>= 1.5, < 3.0) xpath (~> 3.2) childprocess (4.1.0) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) + connection_pool (2.3.0) crass (1.0.6) date (3.3.3) debug (1.6.3) irb (>= 1.3.6) reline (>= 0.3.1) - erubi (1.11.0) - globalid (1.0.0) + erubi (1.12.0) + globalid (1.1.0) activesupport (>= 5.0) i18n (1.12.0) concurrent-ruby (~> 1.0) @@ -115,9 +147,8 @@ GEM net-smtp marcel (1.0.2) matrix (0.4.2) - method_source (1.0.0) mini_mime (1.1.2) - minitest (5.16.3) + minitest (5.18.0) msgpack (1.6.0) net-imap (0.3.4) date @@ -137,36 +168,20 @@ GEM public_suffix (5.0.0) puma (6.1.1) nio4r (~> 2.0) - racc (1.6.0) - rack (2.2.4) + racc (1.6.2) + rack (2.2.6.3) + rack-session (1.0.1) + rack (< 3) rack-test (2.0.2) rack (>= 1.3) - rails (7.0.4.2) - actioncable (= 7.0.4.2) - actionmailbox (= 7.0.4.2) - actionmailer (= 7.0.4.2) - actionpack (= 7.0.4.2) - actiontext (= 7.0.4.2) - actionview (= 7.0.4.2) - activejob (= 7.0.4.2) - activemodel (= 7.0.4.2) - activerecord (= 7.0.4.2) - activestorage (= 7.0.4.2) - activesupport (= 7.0.4.2) - bundler (>= 1.15.0) - railties (= 7.0.4.2) + rackup (1.0.0) + rack (< 3) + webrick rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.5.0) loofah (~> 2.19, >= 2.19.1) - railties (7.0.4.2) - actionpack (= 7.0.4.2) - activesupport (= 7.0.4.2) - method_source - rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) rainbow (3.1.1) rake (13.0.6) regexp_parser (2.6.1) @@ -217,7 +232,7 @@ GEM actionpack (>= 6.0.0) activejob (>= 6.0.0) railties (>= 6.0.0) - tzinfo (2.0.5) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.4.2) web-console (4.2.0) @@ -229,13 +244,14 @@ GEM nokogiri (~> 1.6) rubyzip (>= 1.3.0) selenium-webdriver (~> 4.0) + webrick (1.8.1) websocket (1.2.9) websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.6) + zeitwerk (2.6.7) PLATFORMS x86_64-linux @@ -247,7 +263,7 @@ DEPENDENCIES importmap-rails jbuilder puma - rails (= 7.0.4.2) + rails! selenium-webdriver sprockets-rails sqlite3 -- 2.45.2 From e322a521908568eadeb39ce7fd87509485e59bc2 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 12 Mar 2023 10:17:58 -0400 Subject: [PATCH 7/8] Different secret in production --- config/credentials.yml.enc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/credentials.yml.enc b/config/credentials.yml.enc index 95d7055..beefd1d 100644 --- a/config/credentials.yml.enc +++ b/config/credentials.yml.enc @@ -1 +1 @@ -ihhBDc4aTCWmcgiU77K/4aJem2CNSm8hscI1DcCXh8wjYdNNunhOZOOsHplKD86tuHHUR2T0Z84AJjwpsL6RSlWfX5hlW7jkv2Bbl8uyBbK6+/CtglKmmLhje0y958jjxankf9OkjjTOC0JQ02C8B7gllgmxUql/8rYt5am3wvoNyv3QcyH9Zz5DzA8yuod0Z1Ft2NMTyzPC74RDt4iQa4SDTIUPpJxeV31HF0ilUbGKqfXvU3UsEahDdi928c0tlLfTD0qBq7sULIjOuNEJPqwzJqabVFR7U72HRm9VyhnMxVUo0XU4TwHeixirHHAZAYxTaXena2qGNlGjLhu3ZBIFkFJCcaFZSV+zVfdP1PzGXiTSjSk9du5yLiqp740T2V+9082nh5cWnBtRgoPp4Y3rrGQijl6TrvARaewL4gsamq18OZsq9noPBqzpYB2d2yAyKUIXKfdVoBWSuhXsycQaNoQzdwtby0MQTU49j/X1aadz6FpDVOYJR10QZ8ery5v7z8wuhbJMDCuZb+6Fhjgfyieg0g8IaaLcxZ7/rqRP0XfgQ70wj/ROErqC+9t20DKcvX0RvB3qMVbbDhr6cu2jWNJYupXFO2uJQn/OpbNC5JLudcc=--3vp533j1Tb8wPXE4--aFdo9fdjxUq5KBqPEXwjNg== \ No newline at end of file +gAAw/qVSk9mVnRdIqpzKdOubWHFa+FUwKzsq9FuPNHQOKBSk5SEwcsC3sI8rNqWsppVYrWHxmdVMA+LipeRmhtR+ovPidi4TrcjfpB65Vaz3MzkNYn9ErT6FbB1WYXep01n1MMJb0amXg+8K5rnPOMSki+XpYLkM5LFhlL83xy8eSwc4bSVuvHEcafEcC3G4ufatDY4DC7QfAwS51ddMe4UJ3P/ehn716A7YBl6RDJBgmGHJ+wztFC84bEQ5g8AF4T5+pr2HYFoJpfxtuKGDUBwqF3lhNwa1CMgTuGqLY8I6jx2g7Ou7qOc4vwBG3+NLGY2XcfmstPrM93thBLexGfZ+qFPCTU/7jEmH/Z30V8nkYimNcmlJdNRhX53yMXv2xvIh1AA9EpVpIyGiF3j9+4vh5AplYRG5JCCQfsetBAS6V4pngz83WEfy/D6zIbuIuMe6ewKKZZrW2ZUyzoFXjS5CQoq7rI+xIBm40gKFSV8Akl6lJc+wwfK231CwagsqDJLsHHdg4KHnVzcnk6ld9VIP7S4rh/BaIkYYmCESs8AnTtEmztSRhyu88ojKv7kMwSmBNlcPi73fsPo+duP7+Y3U0kHdg68fAjgeAjnQx4HUhdzNs80=--L582Wef3fKjdx2rY--aXOMAjCFS2ywLLopeuoV3w== \ No newline at end of file -- 2.45.2 From 25b91abb2b5bc0da69218ee3033b80e91070ea25 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sun, 12 Mar 2023 10:23:28 -0400 Subject: [PATCH 8/8] note to self --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index b7e9c12..62b643a 100644 --- a/Gemfile +++ b/Gemfile @@ -3,6 +3,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "3.2.0" +# unti 7.1 is out gem "rails", git: "https://github.com/rails/rails" gem "sprockets-rails" gem "sqlite3" -- 2.45.2