Skip to content

fix: auto-deploy#1835

Merged
spaenleh merged 6 commits into
mainfrom
auto-deploy-dev
Apr 30, 2025
Merged

fix: auto-deploy#1835
spaenleh merged 6 commits into
mainfrom
auto-deploy-dev

Conversation

@spaenleh
Copy link
Copy Markdown
Member

@spaenleh spaenleh commented Apr 24, 2025

In this PR I

  • Split the build.sh script up into the AWS auth part and the docker build and push part
  • add the aws region to use when building an image
  • fix some left over changes to the prod deploy workflow
  • add a BUILD_TIMESTAMP env var that is set at build time so we can get when the image was built on the /version endpoint
  • fix the volume mount for the db init script in the docker compose for self hosting

How the dev deploy works now

When we merge to main, we build an image that we push to the private ECR of the dev environment.
It is tagged as core-next.

Every morning a workflow in infra is triggered and deploy this core-next with the migration.
So at the latest the next day, the changes will be on dev.

@spaenleh spaenleh self-assigned this Apr 29, 2025
@spaenleh spaenleh requested a review from pyphilia April 29, 2025 12:47
@spaenleh spaenleh marked this pull request as ready for review April 30, 2025 13:43
@spaenleh spaenleh added the build Build and deployment label Apr 30, 2025
Copy link
Copy Markdown
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🤖

Comment thread .github/workflows/deploy-dev.yml Outdated
@sonarqubecloud
Copy link
Copy Markdown

@spaenleh spaenleh added this pull request to the merge queue Apr 30, 2025
Merged via the queue into main with commit 8ead8db Apr 30, 2025
8 checks passed
@spaenleh spaenleh deleted the auto-deploy-dev branch April 30, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build and deployment v2.2.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants