Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deps] upgrade to Rails v7.2 and ActiveAdmin v3 #777

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

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.

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.

1 participant