-
Notifications
You must be signed in to change notification settings - Fork 42
Changelog: Bundle upload support and Private-Public Bundling SQS Lambda #3163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
fa084e8
Introduce bundle upload support and data scrubbing primitives.
cotti 031b7ac
FIx tests
cotti aacd6e3
Add changelog scrubber lambda
cotti 70af618
Drop sentinels entries and tighten JSON pass-through
cotti efd4941
Enforce stripping strategy and add tests
cotti acd5d79
Merge remote-tracking branch 'origin/main' into feature/private_bundling
cotti 5f67d6a
Use domain-type inference for products, and add safety net to Resolve…
cotti c4d8a95
Merge remote-tracking branch 'origin/main' into feature/private_bundling
cotti 63a3311
Merge branch 'main' into feature/private_bundling
cotti aaea34a
Simplify scrubbing
cotti dc38597
Don't go through sentinel checks
cotti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| --- | ||
| # This workflow builds the changelog-scrubber Lambda function bootstrap binary | ||
| # that can be deployed to AWS Lambda. | ||
| name: Build Changelog Scrubber Lambda | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| workflow_call: | ||
| inputs: | ||
| ref: | ||
| required: false | ||
| type: string | ||
| default: ${{ github.ref }} | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| env: | ||
| BINARY_PATH: .artifacts/docs-lambda-changelog-scrubber/release_linux-x64/bootstrap | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| ref: ${{ inputs.ref }} | ||
| persist-credentials: false | ||
| - name: Amazon Linux 2023 build | ||
| run: | | ||
| docker build . -t changelog-scrubber:latest -f src/infra/docs-lambda-changelog-scrubber/lambda.DockerFile | ||
| - name: Get bootstrap binary | ||
| run: | | ||
| docker cp "$(docker create --name tc changelog-scrubber:latest)":/app/.artifacts/publish ./.artifacts && docker rm tc | ||
| - name: Inspect bootstrap binary | ||
| run: | | ||
| tree .artifacts | ||
| stat "${BINARY_PATH}" | ||
| - name: Archive artifact | ||
| id: upload-artifact | ||
| uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: changelog-scrubber-lambda-binary | ||
| retention-days: 1 | ||
| if-no-files-found: error | ||
| path: ${{ env.BINARY_PATH }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.