Skip to content

[AWSCORE-688] Add version fetching to forwarder release script#1053

Merged
ktmq merged 7 commits intomasterfrom
david.han/release-forwarder
Jan 27, 2026
Merged

[AWSCORE-688] Add version fetching to forwarder release script#1053
ktmq merged 7 commits intomasterfrom
david.han/release-forwarder

Conversation

@dhan0779
Copy link
Contributor

@dhan0779 dhan0779 commented Jan 26, 2026

What does this PR do?

This PR updates the forwarder release script to generate version information as a json file and upload it to the datadog-opensource-asset-versions bucket in forwarder/versions.json.

Currently, the versions.json looks like:

{
  "latest": {
    "layer_version": "95",
    "forwarder_version": "5.2.1",
    "release_date": "2026-01-20"
  },
  "mappings": {
    "95": "5.2.1",
    "94": "5.2.0",
    "93": "5.1.1",
    "92": "5.1.0",
    "91": "5.0.0",
    "90": "4.15.0",
    "89": "4.14.0",
    "88": "4.13.0",
    "87": "4.12.0",
    "86": "4.11.0",
    "85": "4.10.0",
    "84": "4.9.0",
    "83": "4.8.0",
    "82": "4.7.0",
    "81": "4.6.0",
    "80": "4.5.0",
    "79": "4.4.0",
    "78": "4.3.0",
    "77": "4.2.0",
    "76": "4.1.0",
    "75": "4.0.2",
    "74": "4.0.1",
    "73": "4.0.0",
    "71": "3.133.0",
    "70": "3.132.0",
    "69": "3.131.0",
    "67": "3.130.0",
    "66": "3.128.0",
    "65": "3.127.0",
    "64": "3.124.0",
    "63": "3.123.0",
    "62": "3.122.0",
    "61": "3.121.0",
    "60": "3.120.1",
    "57": "3.118.0",
    "56": "3.117.0",
    "55": "3.116.0",
    "54": "3.115.0",
    "53": "3.114.0",
    "51": "3.112.0",
    "50": "3.111.0",
    "49": "3.110.0",
    "48": "3.108.0",
    "47": "3.106.0",
    "46": "3.105.0",
    "45": "3.103.0",
    "44": "3.100.0",
    "43": "3.99.0",
    "42": "3.98.0",
    "41": "3.97.0",
    "40": "3.96.0",
    "39": "3.95.0",
    "38": "3.92.0",
    "37": "3.91.0",
    "35": "3.83.0",
    "34": "3.79.0",
    "33": "3.77.0",
    "32": "3.76.0",
    "31": "3.74.0",
    "30": "3.73.0",
    "29": "3.71.0",
    "28": "3.66.0",
    "27": "3.62.0",
    "26": "3.61.0",
    "25": "3.60.0",
    "24": "3.59.0",
    "23": "3.58.0",
    "22": "3.55.0",
    "21": "3.53.0",
    "20": "3.52.0",
    "19": "3.51.0",
    "17": "3.50.0",
    "16": "3.48.0",
    "15": "3.47.0",
    "14": "3.46.0",
    "13": "3.44.0",
    "11": "3.43.0",
    "10": "3.41.0",
    "9": "3.40.0",
    "8": "3.39.1",
    "7": "3.39.0",
    "6": "3.38.0",
    "5": "3.37.0",
    "4": "3.36.0",
    "3": "3.35.0",
    "2": "3.34.0",
    "1": "3.33.0"
  }
}

Motivation

Testing Guidelines

I tested the forwarder by modifying the script to upload to buckets in the aws-ints-playground account. Test bucket: https://us-east-1.console.aws.amazon.com/s3/buckets/datadog-opensource-asset-versions-test2?region=us-east-1&tab=objects

Additional Notes

Types of changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)
  • This PR passes the unit tests
  • This PR passes the installation tests (ask a Datadog member to run the tests)

@dhan0779 dhan0779 requested a review from a team as a code owner January 26, 2026 15:19
@github-actions github-actions bot added the aws label Jan 26, 2026
@dhan0779 dhan0779 force-pushed the david.han/release-forwarder branch from 8d21a66 to d805f95 Compare January 26, 2026 20:11
@ktmq ktmq merged commit 3860736 into master Jan 27, 2026
10 of 11 checks passed
@ktmq ktmq deleted the david.han/release-forwarder branch January 27, 2026 21:28
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.

3 participants