DUPLO-42774 Update GitHub Actions workflows and add NetworkAgent files for Amazon Linux 2023#44
Open
duplodavid wants to merge 1 commit into
Open
DUPLO-42774 Update GitHub Actions workflows and add NetworkAgent files for Amazon Linux 2023#44duplodavid wants to merge 1 commit into
duplodavid wants to merge 1 commit into
Conversation
…s for Amazon Linux 2023
- Bumped GitHub Actions to latest in build-image.yaml and lint.yaml: actions/checkout
(v6), google-github-actions/auth (v3), aws-actions/configure-aws-credentials (v6),
actions/upload-artifact (v7), actions/download-artifact (v7), peter-evans/create-pull-request (v8).
- Gated the GCP auth step behind an `if:` so it only runs when a GCP builder is in
scope, and switched the commercial Packer AWS Role step to OIDC (role-to-assume +
aws-region), dropping the static access-key/secret/session-token inputs.
- Added NetworkAgent files for Amazon Linux 2023: NetworkAgent.service (systemd unit),
NetworkAgentV2.py (network tunnel/config management), and Setup.sh (installs
dependencies and configures the NetworkAgent service).
- Enabled the Amazon Linux 2023 builders in Packer:
- aws.pkr.hcl: uncommented the amazonlinux-2023 and amazonlinux-2023-arm64 sources,
renamed them to use the `amazonlinux2023` family suffix, and pinned the source AMI
filter to `al2023-ami-2023.*` to avoid the ECS/minimal variants.
- main.pkr.hcl: added the AL2023 sources to the build and wired up yum-update and
Setup.sh install provisioners scoped to the AL2023 builders.
- Reworked packer/gen-native-images.sh to merge BuiltInNativeImages.json by Name, so a
scoped build (e.g. only_builders=AL2023) only replaces the rows it rebuilt instead of
wholesale-replacing every Docker-Duplo row, preserving AL2/Ubuntu/GovCloud rows.
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.




Summary
DUPLO-42774 Update GitHub Actions workflows and add NetworkAgent files for Amazon Linux 2023
GitHub Actions
google-github-actions/auth to v3, aws-actions/configure-aws-credentials to v6,
actions/upload-artifact to v7, actions/download-artifact to v7,
peter-evans/create-pull-request to v8.
if:condition to the GCP auth step so it runs only when a GCP builder isin scope.
aws-region), removing the access-key, secret-access-key, and session-token inputs.
NetworkAgent (Amazon Linux 2023)
management).
NetworkAgent service).
Packer
their name/tag family suffix to
amazonlinux2023, and set the source AMI filter toal2023-ami-2023.*-kernel-6.1-{x86_64,arm64}.Setup.sh install provisioners scoped to the AL2023 builders.
a scoped build replaces only the rows it rebuilt, preserving the remaining rows.