Skip to content

Add tooling to update task metadata API fixtures#112

Open
isker wants to merge 1 commit into
prometheus-community:mainfrom
isker:fixture-updater
Open

Add tooling to update task metadata API fixtures#112
isker wants to merge 1 commit into
prometheus-community:mainfrom
isker:fixture-updater

Conversation

@isker

@isker isker commented Apr 28, 2025

Copy link
Copy Markdown
Contributor

The task metadata API fixtures I've previously created in this repository were sourced from real ECS tasks managed by AWS CDK. But how to reproduce that was left as an exercise to the reader.

Here, I am adding a CDK app and instructions that will enable anybody with an AWS account and the willingness to install NodeJS and some other tools on their computer to update the fixtures.

I have updated the fixtures by following the instructions I added to the README. There are few substantive changes from the previous fixtures, but there is a fair amount of churn, much of which is unavoidable (timestamps, autoincrementing version numbers, etc), but some of which can be eliminated through some new simple sorting of the API responses, which should reduce churn going forward.

The task metadata API fixtures I've previously created in this
repository were sourced from real ECS tasks managed by AWS CDK. But how
to reproduce that was left as an exercise to the reader.

Here, I am adding a CDK app and instructions that will enable anybody
with an AWS account and the willingness to install NodeJS and some other
tools on their computer to update the fixtures.

I have updated the fixtures by following the instructions I added to the
README. There are few substantive changes from the previous fixtures,
but there is a fair amount of churn, much of which is
unavoidable (timestamps, autoincrementing version numbers, etc), but
some of which can be eliminated through some new simple sorting of the
API responses, which should reduce churn going forward.

Signed-off-by: Ian Kerins <git@isk.haus>
@isker isker force-pushed the fixture-updater branch from 689b762 to 6ac05f5 Compare April 28, 2025 03:58
@isker isker marked this pull request as ready for review April 28, 2025 04:07
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.

1 participant