Skip to content

Conversation

@markets
Copy link
Collaborator

@markets markets commented Feb 15, 2025

@markets markets changed the title [deps] upgrade to Rails v7.1 and ActiveAdmin v3 [deps] upgrade to Rails v7.2 and ActiveAdmin v3 Feb 15, 2025
@markets
Copy link
Collaborator Author

markets commented Feb 15, 2025

@microstudi Could you please help us to fix the Docker build in this branch? We are upgrading from Rails 7.0 to Rails 7.2. I still need to review some failing (feature) specs, but the Docker workflow is failing when trying to compile assets:

ERROR: failed to solve: process "/bin/sh -c RAILS_ENV=production SECRET_KEY_BASE=dummy RAILS_MASTER_KEY=dummy DB_ADAPTER=nulldb bundle exec rails assets:precompile" did not complete successfully: exit code: 1

The raised error is:

Error retrieving instance profile credentials: Aws::InstanceProfileCredentials::TokenRetrivalError
bin/rails aborted!
Aws::Errors::MissingRegionError: No region was provided. Configure the `:region` option or export the region name to ENV['AWS_REGION'] (Aws::Errors::MissingRegionError)

Which seems a bit weird, since in this env we are using STORAGE_PROVIDER=local.

@markets
Copy link
Collaborator Author

markets commented Feb 17, 2025

UPDATE Tests are fixed ✅ But we still need to fix the Docker build workflow.

@markets markets merged commit 5437e14 into develop Mar 22, 2025
4 of 6 checks passed
@markets markets deleted the rails_7_1 branch March 22, 2025 15:40
@markets markets mentioned this pull request Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants