Skip to content

Commit c69622f

Browse files
cultureamp-renovate[bot]liamstevensclaude
authored
chore(deps): dependency rollup (#88)
* chore(deps): update module github.com/stretchr/testify to v1.11.1 (#77) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update public.ecr.aws/docker/library/golang docker tag to v1.25.5 (#78) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency go to v1.25.5 (#81) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency golang to v1.25.5 (#82) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update buildkite/plugin-tester docker tag to v4.3.0 (#80) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update aws-sdk-go-v2 monorepo (#79) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency golangci-lint to v2.7.2 (#83) * chore(deps): update dependency golangci-lint to v2.7.2 * fix: update godoc comments to satisfy godoclint linter This fixes the go-lint check failure on PR #83 by updating three godoc comments to follow Go documentation conventions, where comments should start with the symbol name they're documenting. Changes made: - src/aws/ecs.go:15 - Updated EcsClientAPI comment to start with type name - src/aws/ecs.go:106 - Updated FindLogStreamFromTask comment to start with function name - src/aws/ssm.go:15 - Updated TaskRunnerConfiguration comment to start with type name These changes are required by the godoclint linter that is automatically enabled in golangci-lint v2.7.2 (the .golangci.yml config uses 'default: all'). Could not reproduce the lint failure locally as I have golangci-lint v1.60.1, but these changes align with standard Go documentation conventions and match the specific violations reported in the CI failure. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Liam Stevens <[email protected]> Co-authored-by: Claude <[email protected]> * chore(deps): update module golang.org/x/sys to v0.39.0 (#84) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update actions/checkout action to v6 (#85) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-go action to v6 (#86) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update golangci/golangci-lint-action action to v9 (#87) Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> --------- Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Liam Stevens <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent 8628d0e commit c69622f

File tree

11 files changed

+79
-76
lines changed

11 files changed

+79
-76
lines changed

.github/workflows/backstage-validator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
backstage-entity-validator:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
- uses: RoadieHQ/[email protected]
1414
with:
1515
path: 'catalog-info*.yaml'

.github/workflows/go-checks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515

16-
- uses: actions/setup-go@v5
16+
- uses: actions/setup-go@v6
1717
with:
1818
go-version-file: src/go.mod
1919
cache-dependency-path: src/go.sum
@@ -25,27 +25,27 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929

30-
- uses: actions/setup-go@v5
30+
- uses: actions/setup-go@v6
3131
with:
3232
go-version-file: src/go.mod
3333
cache: false # the lint action does its own caching
3434

3535
- name: Lint code
36-
uses: golangci/golangci-lint-action@v8
36+
uses: golangci/golangci-lint-action@v9
3737
with:
38-
version: v2.4.0
38+
version: v2.7.2
3939
working-directory: src
4040
args: "-v --timeout=2m"
4141

4242
go-test:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout code
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4747

48-
- uses: actions/setup-go@v5
48+
- uses: actions/setup-go@v6
4949
with:
5050
go-version-file: src/go.mod
5151
cache-dependency-path: src/go.sum

.github/workflows/plugin-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Lint
1818
run: docker compose run --rm lint

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0
1616

17-
- uses: actions/setup-go@v5
17+
- uses: actions/setup-go@v6
1818
with:
1919
go-version-file: src/go.mod
2020
cache-dependency-path: src/go.sum

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
golang 1.24.4
1+
golang 1.25.5

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
- ".:/plugin:ro"
77

88
tests:
9-
image: buildkite/plugin-tester:v4.2.0
9+
image: buildkite/plugin-tester:v4.3.0
1010
volumes:
1111
- ".:/plugin"
1212

src/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BUILDER_IMAGE=public.ecr.aws/docker/library/golang:1.25.0-alpine
1+
ARG BUILDER_IMAGE=public.ecr.aws/docker/library/golang:1.25.5-alpine
22
ARG DISTROLESS_IMAGE=gcr.io/distroless/static
33

44
FROM ${BUILDER_IMAGE} as builder

src/aws/ecs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/aws/aws-sdk-go-v2/service/ecs/types"
1313
)
1414

15-
// internal interface for ecs
15+
// EcsClientAPI is an internal interface for ecs
1616
type EcsClientAPI interface {
1717
RunTask(ctx context.Context, params *ecs.RunTaskInput, optFns ...func(*ecs.Options)) (*ecs.RunTaskOutput, error)
1818
DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)
@@ -103,7 +103,7 @@ func TaskIDFromArn(taskArn string) string {
103103
return parts[len(parts)-1]
104104
}
105105

106-
// Acquires LogStream details for given ECS Task
106+
// FindLogStreamFromTask acquires LogStream details for given ECS Task
107107
func FindLogStreamFromTask(ctx context.Context, ecsClientAPI EcsClientAPI, task types.Task) (LogDetails, error) {
108108
response, err := ecsClientAPI.DescribeTaskDefinition(ctx, &ecs.DescribeTaskDefinitionInput{
109109
TaskDefinition: task.TaskDefinitionArn,

src/aws/ssm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type ssmAPI interface {
1212
GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
1313
}
1414

15-
// ECS Task Configuration
15+
// TaskRunnerConfiguration is ECS Task Configuration
1616
type TaskRunnerConfiguration struct {
1717
Cluster string `json:"cluster"`
1818
Command []string `json:"command" required:"false"`

src/go.mod

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/cultureamp/migrations-runner-buildkite-plugin
22

3-
go 1.24.4
3+
go 1.25.5
44

55
require (
66
github.com/kelseyhightower/envconfig v1.4.0
7-
github.com/stretchr/testify v1.11.0
7+
github.com/stretchr/testify v1.11.1
88
)
99

1010
require (
@@ -13,28 +13,29 @@ require (
1313
)
1414

1515
require (
16-
github.com/aws/aws-sdk-go-v2 v1.38.1
17-
github.com/aws/aws-sdk-go-v2/config v1.31.2
18-
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.57.0
19-
github.com/aws/aws-sdk-go-v2/service/ecs v1.63.2
20-
github.com/aws/aws-sdk-go-v2/service/ssm v1.63.2
16+
github.com/aws/aws-sdk-go-v2 v1.41.0
17+
github.com/aws/aws-sdk-go-v2/config v1.32.5
18+
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.62.2
19+
github.com/aws/aws-sdk-go-v2/service/ecs v1.69.5
20+
github.com/aws/aws-sdk-go-v2/service/ssm v1.67.7
2121
github.com/davecgh/go-spew v1.1.1 // indirect
2222
github.com/pmezard/go-difflib v1.0.0 // indirect
23-
golang.org/x/sys v0.35.0
23+
golang.org/x/sys v0.39.0
2424
)
2525

2626
require (
27-
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.0 // indirect
28-
github.com/aws/aws-sdk-go-v2/credentials v1.18.6 // indirect
29-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.4 // indirect
30-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.4 // indirect
31-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.4 // indirect
32-
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
33-
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 // indirect
34-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.4 // indirect
35-
github.com/aws/aws-sdk-go-v2/service/sso v1.28.2 // indirect
36-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.2 // indirect
37-
github.com/aws/aws-sdk-go-v2/service/sts v1.38.0 // indirect
38-
github.com/aws/smithy-go v1.22.5 // indirect
27+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.4 // indirect
28+
github.com/aws/aws-sdk-go-v2/credentials v1.19.5 // indirect
29+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.16 // indirect
30+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.16 // indirect
31+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.16 // indirect
32+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect
33+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.4 // indirect
34+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.16 // indirect
35+
github.com/aws/aws-sdk-go-v2/service/signin v1.0.4 // indirect
36+
github.com/aws/aws-sdk-go-v2/service/sso v1.30.7 // indirect
37+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.12 // indirect
38+
github.com/aws/aws-sdk-go-v2/service/sts v1.41.5 // indirect
39+
github.com/aws/smithy-go v1.24.0 // indirect
3940
gopkg.in/yaml.v3 v3.0.1 // indirect
4041
)

0 commit comments

Comments
 (0)