Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
f22abac
feat: update AWS API models
aws-sdk-kotlin-ci Mar 21, 2025
ef20c01
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 21, 2025
b6b3cf2
chore: release 1.4.46
aws-sdk-kotlin-ci Mar 21, 2025
5ce6c27
chore: bump snapshot version to 1.4.47-SNAPSHOT
aws-sdk-kotlin-ci Mar 21, 2025
4a70425
feat: update AWS API models
aws-sdk-kotlin-ci Mar 24, 2025
ff4bce2
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 24, 2025
258cc2c
chore: release 1.4.47
aws-sdk-kotlin-ci Mar 24, 2025
64c515e
chore: bump snapshot version to 1.4.48-SNAPSHOT
aws-sdk-kotlin-ci Mar 24, 2025
83ccca8
feat: update AWS API models
aws-sdk-kotlin-ci Mar 25, 2025
dc7f460
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 25, 2025
cf0f168
chore: release 1.4.48
aws-sdk-kotlin-ci Mar 25, 2025
57cf6f6
chore: bump snapshot version to 1.4.49-SNAPSHOT
aws-sdk-kotlin-ci Mar 25, 2025
cd746bd
feat: update AWS API models
aws-sdk-kotlin-ci Mar 26, 2025
da2a0b6
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 26, 2025
1a0ebce
chore: release 1.4.49
aws-sdk-kotlin-ci Mar 26, 2025
87d33b2
chore: bump snapshot version to 1.4.50-SNAPSHOT
aws-sdk-kotlin-ci Mar 26, 2025
53ec3ca
feat: update AWS API models
aws-sdk-kotlin-ci Mar 27, 2025
1fc7929
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 27, 2025
2f3ac47
chore: release 1.4.50
aws-sdk-kotlin-ci Mar 27, 2025
ccbd687
chore: bump snapshot version to 1.4.51-SNAPSHOT
aws-sdk-kotlin-ci Mar 27, 2025
9d57bc2
feat: update AWS API models
aws-sdk-kotlin-ci Mar 28, 2025
be52ddf
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 28, 2025
25a3354
chore: release 1.4.51
aws-sdk-kotlin-ci Mar 28, 2025
e0689c0
chore: bump snapshot version to 1.4.52-SNAPSHOT
aws-sdk-kotlin-ci Mar 28, 2025
7501354
Depend on kn version of aws-kotlin-repo-tools
lauzadis Mar 28, 2025
8bde961
feat: update AWS API models
aws-sdk-kotlin-ci Mar 31, 2025
44d32bc
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Mar 31, 2025
fcf4505
chore: release 1.4.52
aws-sdk-kotlin-ci Mar 31, 2025
8302fc8
chore: bump snapshot version to 1.4.53-SNAPSHOT
aws-sdk-kotlin-ci Mar 31, 2025
f07d116
misc: run merge main on push to main (#1556)
0marperez Apr 1, 2025
1bd2080
feat: sync mirror (#1554)
0marperez Apr 1, 2025
013eb58
feat: update AWS API models
aws-sdk-kotlin-ci Apr 1, 2025
04a0c4c
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 1, 2025
5c98ae8
chore: release 1.4.53
aws-sdk-kotlin-ci Apr 1, 2025
83ce8c6
chore: bump snapshot version to 1.4.54-SNAPSHOT
aws-sdk-kotlin-ci Apr 1, 2025
75f3480
Merging v1.4.53 release
aws-sdk-kotlin-ci Apr 1, 2025
310661b
misc: render code examples as link (api ref docs) (#1557)
0marperez Apr 1, 2025
4d41f2a
feat: update AWS API models
aws-sdk-kotlin-ci Apr 2, 2025
123682c
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 2, 2025
22ad1ce
chore: release 1.4.54
aws-sdk-kotlin-ci Apr 2, 2025
dbe530a
chore: bump snapshot version to 1.4.55-SNAPSHOT
aws-sdk-kotlin-ci Apr 2, 2025
4d80c4d
Merging v1.4.54 release
aws-sdk-kotlin-ci Apr 2, 2025
6e8607e
update readme (#1559)
xinsong-cui Apr 2, 2025
b61be7e
chore: reintegrate E2E smoke tests into the top-level Gradle build; m…
ianbotsf Apr 2, 2025
b3674d7
feat: update AWS API models
aws-sdk-kotlin-ci Apr 3, 2025
37db96a
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 3, 2025
261b0d8
Update partitions file
aws-sdk-kotlin-ci Apr 3, 2025
88c2477
chore: release 1.4.55
aws-sdk-kotlin-ci Apr 3, 2025
91a0101
chore: bump snapshot version to 1.4.56-SNAPSHOT
aws-sdk-kotlin-ci Apr 3, 2025
484b946
Merging v1.4.55 release
aws-sdk-kotlin-ci Apr 3, 2025
48934f9
feat: update AWS API models
aws-sdk-kotlin-ci Apr 4, 2025
800d34a
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 4, 2025
f127d75
chore: release 1.4.56
aws-sdk-kotlin-ci Apr 4, 2025
46114e6
chore: bump snapshot version to 1.4.57-SNAPSHOT
aws-sdk-kotlin-ci Apr 4, 2025
99dd731
Merging v1.4.56 release
aws-sdk-kotlin-ci Apr 4, 2025
50e548f
misc: smithy-kotlin version bump (#1561)
0marperez Apr 4, 2025
ac5d59a
feat: update AWS API models
aws-sdk-kotlin-ci Apr 7, 2025
10cb402
chore: release 1.4.57
aws-sdk-kotlin-ci Apr 7, 2025
5411b1b
chore: bump snapshot version to 1.4.58-SNAPSHOT
aws-sdk-kotlin-ci Apr 7, 2025
cbafd95
misc: 1.4.57 changelog guidance (#1562)
0marperez Apr 7, 2025
56e40c7
chore: release 1.4.58
aws-sdk-kotlin-ci Apr 8, 2025
ebb782b
chore: bump snapshot version to 1.4.59-SNAPSHOT
aws-sdk-kotlin-ci Apr 8, 2025
0a4bac8
feat: update AWS API models
aws-sdk-kotlin-ci Apr 8, 2025
b6e38a0
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 8, 2025
b66d896
chore: release 1.4.59
aws-sdk-kotlin-ci Apr 8, 2025
a406f97
chore: bump snapshot version to 1.4.60-SNAPSHOT
aws-sdk-kotlin-ci Apr 8, 2025
5373fb2
misc: DynamoDB Mapper's `metadataSourcesJar` dependsOn `moveGenSrc` (…
lauzadis Apr 9, 2025
d800c21
Merge branch 'main' of github.com:awslabs/aws-sdk-kotlin into kn-main…
lauzadis Apr 9, 2025
ad831a8
feat: update AWS API models
aws-sdk-kotlin-ci Apr 9, 2025
39ec793
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 9, 2025
be9fd64
CI
lauzadis Apr 9, 2025
ac3c840
chore: release 1.4.60
aws-sdk-kotlin-ci Apr 9, 2025
91edf4e
chore: bump snapshot version to 1.4.61-SNAPSHOT
aws-sdk-kotlin-ci Apr 9, 2025
d94885a
Merging v1.4.60 release
aws-sdk-kotlin-ci Apr 9, 2025
2d52c08
feat: update AWS API models
aws-sdk-kotlin-ci Apr 10, 2025
b897560
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 10, 2025
0c0a297
Update partitions file
aws-sdk-kotlin-ci Apr 10, 2025
ff74ae5
chore: release 1.4.61
aws-sdk-kotlin-ci Apr 10, 2025
da2f01a
chore: bump snapshot version to 1.4.62-SNAPSHOT
aws-sdk-kotlin-ci Apr 10, 2025
ff259c0
feat: update AWS API models
aws-sdk-kotlin-ci Apr 11, 2025
afe5623
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 11, 2025
b0fbd51
chore: release 1.4.62
aws-sdk-kotlin-ci Apr 11, 2025
2ecfff8
chore: bump snapshot version to 1.4.63-SNAPSHOT
aws-sdk-kotlin-ci Apr 11, 2025
42de9e1
misc: use aws-kotlin-repo-tools show-results action (#1567)
lauzadis Apr 11, 2025
99d1898
chore: upgrade aws-kotlin-repo-tools (#1569)
ianbotsf Apr 14, 2025
8960483
misc: add `update-canary` workflow (#1571)
lauzadis Apr 14, 2025
43349c4
feat: update AWS API models
aws-sdk-kotlin-ci Apr 14, 2025
57110b8
feat: update AWS service endpoints metadata
aws-sdk-kotlin-ci Apr 14, 2025
a3847cc
chore: release 1.4.63
aws-sdk-kotlin-ci Apr 14, 2025
22e3058
chore: bump snapshot version to 1.4.64-SNAPSHOT
aws-sdk-kotlin-ci Apr 14, 2025
8c23dad
Merging v1.4.63 release
aws-sdk-kotlin-ci Apr 14, 2025
f15a6f3
Merge branch 'kn-main' of github.com:awslabs/aws-sdk-kotlin into kn-m…
lauzadis Apr 14, 2025
293a03b
Merge branch 'main' of github.com:awslabs/aws-sdk-kotlin into kn-main…
lauzadis Apr 14, 2025
d3a545e
CI
lauzadis Apr 14, 2025
b985101
Upgrade to latest aws-kotlin-repo-tools
lauzadis Apr 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 2 additions & 49 deletions .github/workflows/codebuild-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,56 +142,9 @@ jobs:
./gradlew collectDelegatedArtifactSizeMetrics -PpullRequest=$PULL_REQUEST
- name: Analyze Artifact Size Metrics
run: ./gradlew analyzeArtifactSizeMetrics
- name: Show Results
uses: actions/github-script@v7
with:
script: |
const getComments =
`query {
repository(owner:"${context.repo.owner}", name:"${context.repo.repo}"){
pullRequest(number: ${context.issue.number ?? process.env.SDK_PR}) {
id
comments(last:100) {
nodes {
id
body
author {
login
}
isMinimized
}
}
}
}
}`

const response = await github.graphql(getComments)
const comments = response.repository.pullRequest.comments.nodes

const mutations = comments
.filter(comment => comment.author.login == 'github-actions' && !comment.isMinimized && comment.body.startsWith('Affected Artifacts'))
.map(comment =>
github.graphql(
`mutation {
minimizeComment(input:{subjectId:"${comment.id}", classifier:OUTDATED}){
clientMutationId
}
}`
)
)
await Promise.all(mutations)

const fs = require('node:fs')
const comment = fs.readFileSync('build/reports/metrics/artifact-analysis.md', 'utf8')

const writeComment =
`mutation {
addComment(input:{body:"""${comment}""", subjectId:"${response.repository.pullRequest.id}"}){
clientMutationId
}
}`

await github.graphql(writeComment)
- name: Show Results
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/show-results@main

- name: Evaluate Result
if: ${{ !contains(github.event.pull_request.labels.*.name, 'acknowledge-artifact-size-increase') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Merge main
on:
schedule:
- cron: "0 7 * * 1-5" # At 07:00 UTC (00:00 PST, 03:00 EST), Monday through Friday
push:
branches: [ main ]
workflow_dispatch:

jobs:
test:
merge:
runs-on: ubuntu-latest
steps:
- name: Merge main
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/sync-mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync Mirror

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
git-sync:
# Only sync when pushing to source repo
if: github.repository == 'awslabs/aws-sdk-kotlin'
runs-on: ubuntu-latest
steps:
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "https://aws-sdk-kotlin-ci:${{ secrets.CI_USER_PAT }}@github.com/awslabs/aws-sdk-kotlin.git"
source_branch: "main"
destination_repo: "https://aws-sdk-kotlin-ci:${{ secrets.CI_USER_PAT }}@github.com/awslabs/private-aws-sdk-kotlin-staging.git"
destination_branch: "main"
76 changes: 76 additions & 0 deletions .github/workflows/update-canary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# After every GitHub release, verify that the Maven artifacts are available, then kick off
# a canary deployment with the latest version of the SDK.
name: Update Canary
on:
release:
types: [ published ]

jobs:
update-canary:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2


- name: Verify artifact is available on Maven
shell: bash
# Maven can take up to 2 hours after the release has succeeded to publish our artifacts
# FIXME Track execution duration over time and see if this can be shortened
timeout-minutes: 120
run: |
TAG="${{ github.event.release.tag_name }}"
VERSION="${TAG#v}"
MAVEN_URL="https://repo.maven.apache.org/maven2/aws/sdk/kotlin/s3/${VERSION}/"

echo "Checking for an artifact at $MAVEN_URL"

while true; do
STATUS=$(curl -i -s -o /dev/null -w "%{http_code}" "$MAVEN_URL")
echo "Status: $STATUS"

if [[ "$STATUS" == "200" ]]; then
echo "Artifact is available at $MAVEN_URL"
exit 0
fi

sleep 30
done

- name: Update canary
shell: bash
timeout-minutes: 15
run: |
set -euo pipefail

TAG="${{ github.event.release.tag_name }}"
EXECUTION_NAME="update-canary-${TAG}"
STATE_MACHINE_ARN="arn:aws:states:us-west-2:${{ secrets.CI_USER }}:stateMachine:DeployLatestSdkVersion"

echo "Starting step function: $EXECUTION_NAME"
EXECUTION_ARN=$(aws stepfunctions start-execution \
--state-machine-arn "$STATE_MACHINE_ARN" \
--name "$EXECUTION_NAME" \
--input '{}' \
--query 'executionArn' \
--output text)

echo "Waiting for step function to complete..."

while true; do
STATUS=$(aws stepfunctions describe-execution --execution-arn "$EXECUTION_ARN" --query 'status' --output text)
echo "Status: $STATUS"

if [[ "$STATUS" == "SUCCEEDED" ]]; then
echo "Step Function completed successfully"
exit 0
elif [[ "$STATUS" == "FAILED" || "$STATUS" == "TIMED_OUT" || "$STATUS" == "ABORTED" ]]; then
echo "Step Function failed with status: $STATUS"
exit 1
fi

sleep 10
done
Loading
Loading