Skip to content

Upgrade Rails to 8.1.3 and merge DevOps work back onto develop#1051

Open
pdl wants to merge 109 commits intodevelopfrom
chimera/upgrade-rails-devops
Open

Upgrade Rails to 8.1.3 and merge DevOps work back onto develop#1051
pdl wants to merge 109 commits intodevelopfrom
chimera/upgrade-rails-devops

Conversation

@pdl
Copy link
Copy Markdown
Contributor

@pdl pdl commented Apr 16, 2026

No description provided.

pdl and others added 30 commits May 29, 2025 11:34
…o DevOps can make changes without developers; 2) assets:precompile without RAILS_MASTER_KEY not able to run coz failed to load credentials.
… production, it’s already run when the Docker image is built; Move it into the Docker Compose configuration for development only.
- Update config/deploy.staging.yml: set web/job hosts to 172.20.0.146,
  add host.docker.internal gateway for Redis, wire wildcard SSL certs,
  update proxy hostname to sapi-web-staging-01.internal.unep-wcmc.org
- Update config/deploy/staging.rb: point Capistrano at new internal hostname
- Add .github/workflows/deploy.yml: Kamal v2 deploy workflow for staging/production
- Add .github/workflows/kamal-setup.yml: one-time Kamal setup workflow
@pdl pdl force-pushed the chimera/upgrade-rails-devops branch from c655b10 to ee27b3f Compare April 20, 2026 18:08
@pdl pdl marked this pull request as ready for review April 21, 2026 08:22
@pdl pdl requested a review from leonardow-unep-wcmc April 21, 2026 08:23
@pdl
Copy link
Copy Markdown
Contributor Author

pdl commented Apr 21, 2026

@leonardow-unep-wcmc I've rewritten the Dockerfile here so instead of having different Dockerfiles for different environments, there's one file but with different branches for develop/staging to avoid accidental divergences when changing dependencies.

@pdl
Copy link
Copy Markdown
Contributor Author

pdl commented Apr 21, 2026

Wasn't overly happy with ef49619

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.

3 participants