Skip to content

feat(trigger-deployment-pipeline): run on the node24 runtime, implemented in TypeScript - #272

Merged
joakimen merged 1 commit into
masterfrom
feat/trigger-deployment-pipeline-typescript
Sep 15, 2026
Merged

joakimen merged 1 commit into
masterfrom
feat/trigger-deployment-pipeline-typescript

Conversation

@joakimen

@joakimen joakimen commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Moves the action to the node24 runtime. Writes the trigger file and pipeline variables with the AWS SDK and reads the run's start time with fetch, replacing the aws CLI, curl and jq.

Unit tests now cover input parsing, the trigger file's shape and the S3 layout.

Behaviour

The trigger file is built as JSON rather than a heredoc, so a quote in a commit author's name no longer produces an invalid file.

An unknown trigger-type is now refused rather than starting pipelines with nothing to deploy.

Stacked on #267, which adds the shared S3 module this uses.

Comment thread trigger-deployment-pipeline/src/main.ts Outdated
@joakimen
joakimen force-pushed the feat/upload-s3-artifact-typescript branch from 9ed80ed to 5efc16c Compare September 15, 2026 09:45
@joakimen
joakimen force-pushed the feat/trigger-deployment-pipeline-typescript branch from 8dddc03 to 1ef2eb8 Compare September 15, 2026 09:46
@joakimen
joakimen force-pushed the feat/upload-s3-artifact-typescript branch from 5efc16c to ea2b56b Compare September 15, 2026 10:12
@joakimen
joakimen force-pushed the feat/trigger-deployment-pipeline-typescript branch from 1ef2eb8 to 098ad60 Compare September 15, 2026 10:13
@joakimen
joakimen force-pushed the feat/upload-s3-artifact-typescript branch from ea2b56b to 115266d Compare September 15, 2026 10:26
@joakimen
joakimen force-pushed the feat/trigger-deployment-pipeline-typescript branch from 098ad60 to cabd933 Compare September 15, 2026 10:27
@joakimen
joakimen force-pushed the feat/upload-s3-artifact-typescript branch 2 times, most recently from 142601d to 178538b Compare September 15, 2026 10:43
@joakimen
joakimen force-pushed the feat/trigger-deployment-pipeline-typescript branch from cabd933 to d3751b0 Compare September 15, 2026 10:44
Base automatically changed from feat/upload-s3-artifact-typescript to master September 15, 2026 11:18
…nted in TypeScript

Writes the trigger file and pipeline variables with the AWS SDK and reads the
run's start time with fetch, replacing the aws CLI, curl and jq. The trigger
file is a contract with a deployed notification handler, so its shape is
tested; building it as JSON also means a quote in a commit author's name no
longer produces an invalid file.

Uploads stay sequential. A pipeline starts when its trigger lands, so its
metadata has to be there first.

A pipelines input that is only whitespace is refused, where it used to name no
pipeline, trigger nothing and report success. An unknown trigger-type is
refused too, where it used to start a pipeline that had nothing to deploy.

Inputs, the S3 layout, the parameter namespace and the trigger file's fields
are unchanged.
@joakimen
joakimen force-pushed the feat/trigger-deployment-pipeline-typescript branch from d3751b0 to 55e1d6f Compare September 15, 2026 12:22
@joakimen
joakimen merged commit 1922b1b into master Sep 15, 2026
3 checks passed
@joakimen
joakimen deleted the feat/trigger-deployment-pipeline-typescript branch September 15, 2026 12:24
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.17.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.

1 participant