Skip to content

Conversation

@esolitos
Copy link
Collaborator

@esolitos esolitos commented Oct 2, 2025

What

Updates to the .github/workflows/update-cloud-samples.yml workflow:

  • fix the env name: s/S3_BUCKET/AWS_S3_BUCKET_NAME/
  • improve the handling of dry-run, by setting it once.

Why

  • fix upload issue 😊

.

Bonus: Click here for Copilot PR review

Workflow improvements:

  • Added a DRY_RUN environment variable to control dry-run behavior based on the event type and branch, with a note to remove it once a separate S3 bucket is used for the 'Vespa Cloud CD' environment.
  • Updated S3 upload and copy steps to use the new DRY_RUN variable via AWS_S3_OPTIONS, ensuring dry-run mode is correctly applied.
  • Changed the CloudFront cache invalidation step to use the DRY_RUN variable through the ECHO environment variable, making the dry-run logic consistent across the workflow.

@esolitos esolitos merged commit ccdf275 into master Oct 2, 2025
7 checks passed
@esolitos esolitos deleted the marlon/fix-cloud-deploy branch October 2, 2025 10:27
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