From c3fff7284eaab59087532b40863eb11bf0f2bc85 Mon Sep 17 00:00:00 2001 From: Dante Soares Date: Fri, 12 Jul 2024 10:42:08 -0500 Subject: [PATCH 1/3] Updated the RDS CA cert --- config/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 7be1c7e2..779b6b3f 100644 --- a/config/database.yml +++ b/config/database.yml @@ -30,4 +30,4 @@ production: database: <%= ENV['RDS_DATABASE'] %> pool: <%= ENV['RAILS_MAX_THREADS'] %> sslmode: verify-full - sslrootcert: /etc/ssl/certs/rds.pem + sslrootcert: /etc/ssl/certs/rds-bundle.pem From 03bd65ad6786abb6d9ad093a191a214c6f26f80c Mon Sep 17 00:00:00 2001 From: Dante Soares Date: Fri, 12 Jul 2024 10:47:35 -0500 Subject: [PATCH 2/3] Updated GH ruby setup action --- .github/workflows/assets.yml | 2 +- .github/workflows/migrations.yml | 2 +- .github/workflows/tests.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index 19539439..d518f634 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 # Get OS version - https://github.com/actions/cache/issues/543 diff --git a/.github/workflows/migrations.yml b/.github/workflows/migrations.yml index ad131bee..e6c85440 100644 --- a/.github/workflows/migrations.yml +++ b/.github/workflows/migrations.yml @@ -45,7 +45,7 @@ jobs: - run: git checkout HEAD^ # Install ruby - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6194f06e..b46dbb1d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 # Get OS version - https://github.com/actions/cache/issues/543 From 696f711b53052c193df5860f9c951b4ea42d58c2 Mon Sep 17 00:00:00 2001 From: Dante Soares Date: Fri, 12 Jul 2024 10:50:39 -0500 Subject: [PATCH 3/3] Use an old version of bundler; Removed GH actions cron schedule --- .github/workflows/assets.yml | 4 +--- .github/workflows/migrations.yml | 2 +- .github/workflows/tests.yml | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml index d518f634..4f7b3678 100644 --- a/.github/workflows/assets.yml +++ b/.github/workflows/assets.yml @@ -5,8 +5,6 @@ on: push: branches: - main - schedule: - - cron: '0 0 * * 0' # weekly jobs: assets: @@ -28,7 +26,7 @@ jobs: ${{ runner.os }}-${{ env.OS_VERSION }}-gems-pr- - name: Build assets run: | - gem install bundler + gem install bundler -v 2.4.22 bundle config path vendor/bundle bundle install --jobs 4 --retry 3 bundle exec rake assets:precompile diff --git a/.github/workflows/migrations.yml b/.github/workflows/migrations.yml index e6c85440..c8ec141c 100644 --- a/.github/workflows/migrations.yml +++ b/.github/workflows/migrations.yml @@ -65,7 +65,7 @@ jobs: OXE_DB_USER: postgres OXE_DB_PASS: postgres run: | - gem install bundler + gem install bundler -v 2.4.22 bundle config path vendor/bundle bundle install --jobs 4 --retry 3 bundle exec rake db:create db:schema:load db:seed --trace diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b46dbb1d..479f123b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,8 +5,6 @@ on: push: branches: - main - schedule: - - cron: '0 0 * * 0' # weekly jobs: tests: @@ -42,7 +40,7 @@ jobs: OXE_DB_PASS: postgres RAILS_ENV: test run: | - gem install bundler + gem install bundler -v 2.4.22 bundle config path vendor/bundle bundle install --jobs 4 --retry 3 bundle exec rake parallel:create parallel:load_schema parallel:seed --trace