Skip to content

Conversation

@rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Feb 21, 2025

The configuration lives in the 'releasing' environment, and the bucket names are masked away from the logs.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The configuration lives in the 'releasing' environment, and the bucket
names are masked away from the logs.
@rix0rrr rix0rrr requested a review from a team February 21, 2025 14:04

const root = 'dist/standalone';

const standaloneFiles = await glob('**/*', { cwd: root });
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a risk here of accidentally publishing something we don't intend to. Normally this wouldn't be an issue, but ADC regions have such stringent policies and processes, that I can see someone paging us over this. Should we have an allowlist?

permissions:
contents: write
environment: releasing
if: ${{ needs.release.outputs.latest_commit == github.sha && needs.release.outputs.publish-aws-cdk-cloud-assembly-schema == 'true' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

why this one?

permissions: {
contents: JobPermission.WRITE,
},
if: `\${{ needs.release.outputs.latest_commit == github.sha && needs.release.outputs.publish-aws-cdk-cloud-assembly-schema == 'true' }}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

why check publish-aws-cdk-cloud-assembly-schema?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, copy/paste-o. Thanks.

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Feb 21, 2025
Merged via the queue into main with commit 51df059 Feb 21, 2025
19 checks passed
@aws-cdk-automation aws-cdk-automation deleted the huijbers/adc-publishing branch February 21, 2025 19:20
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.

4 participants