Skip to content

chore(ci): remove legacy S3 deploy after CloudFront cutover (QOV-2108) - #2846

Merged
RemiBonnet merged 1 commit into
stagingfrom
chore/QOV-2108/remove-legacy-s3-deploy
Aug 4, 2026
Merged

chore(ci): remove legacy S3 deploy after CloudFront cutover (QOV-2108)#2846
RemiBonnet merged 1 commit into
stagingfrom
chore/QOV-2108/remove-legacy-s3-deploy

Conversation

@gdubroeucq

@gdubroeucq gdubroeucq commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Cleanup after the CloudFront migration (QOV-2108, follow-up to #2839 and #2841). The dual-target deploy scaffolding is removed now that CloudFront serves the sites:

  • Legacy bucket deploy removed: the copy steps targeting console-staging.qovery.com / console.qovery.com buckets are gone. The CloudFront origin buckets (qovery-console-staging / qovery-console-prod) are now the only deploy target, passed as plain s3-bucket-name (the s3-bucket-name-with-cloudfront indirection is dropped).
  • Guards removed: the if: env.X != '' conditions on the CloudFront steps are gone — both deploy flows always set the bucket and distribution.
  • Dead secrets removed: cloudflare-zone / cloudflare-token were declared and passed but never used by any step.

Test plan

  • YAML validated locally
  • Staging deploy on merge exercises the workflow end to end (smoke test covers console-staging.qovery.com)

The CloudFront origin buckets now serve console.qovery.com and
console-staging.qovery.com, so the dual-target scaffolding from the
migration is no longer needed:

- drop the legacy bucket copy steps and the s3-bucket-name-with-cloudfront
  indirection; the origin bucket is now plain s3-bucket-name
- make the CloudFront steps unconditional since both deploy flows set the
  bucket and distribution
- remove the cloudflare-zone/cloudflare-token secrets, declared and passed
  but unused by any step
@RemiBonnet

Copy link
Copy Markdown
Member

Qovery Preview

Qovery can create a Preview Environment for this PR.
To trigger its creation, please post a comment with one of the following command.

Command Blueprint environment
/qovery preview cc1de7de-94e5-40f8-8e45-bc8986d9dfec storybook
/qovery preview 964984c5-fba6-4371-88d3-a5daf99642ab test-prod
/qovery preview 28c47145-c8e7-4b9d-8d9e-c65c95b48425 staging
/qovery preview {all|UUID1,UUID2,...} To preview multiple environments

This comment has been generated from Qovery AI 🤖.
Below, a word from its wisdom :

Take rest sometimes

@nx-cloud

nx-cloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit a247b89

Command Status Duration Result
nx run console:build --parallel=3 --configurati... ✅ Succeeded 2m 37s View ↗
nx affected --target=test --parallel=3 --config... ✅ Succeeded <1s View ↗
nx affected --target=lint --parallel=3 ✅ Succeeded <1s View ↗
nx-cloud record -- yarn nx format:check ✅ Succeeded 5s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-04 12:33:14 UTC

@RemiBonnet
RemiBonnet merged commit 2908f7a into staging Aug 4, 2026
7 checks passed
@RemiBonnet
RemiBonnet deleted the chore/QOV-2108/remove-legacy-s3-deploy branch August 4, 2026 12:36
@RemiBonnet

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.332.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants