Skip to content

Commit d8b454e

Browse files
committed
deps: update all dependencies
Updating all go and bazel dependencies to make sure get the latest, updating CI for bazel7+, dropping WORKSPACE support
1 parent 9d138ba commit d8b454e

File tree

13 files changed

+77
-32
lines changed

13 files changed

+77
-32
lines changed

.bazelrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
common --enable_bzlmod
2-
31
# Bazel settings that apply to this repository.
42
# Take care to document any settings that you expect users to apply.
53
# Settings that apply only to CI are in .github/workflows/ci.bazelrc

.bazelversion

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717

1818
jobs:
1919
test:
20-
uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v2
20+
uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v7.2.0
2121
with:
2222
folders: '[".", "e2e/smoke"]'
2323

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ bazel-*
22
.bazelrc.user
33
.idea/
44
.ijwb/
5+
MODULE.bazel.lock

BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
load("@gazelle//:def.bzl", "gazelle", "gazelle_binary")
21
load("@buildifier_prebuilt//:rules.bzl", "buildifier")
2+
load("@gazelle//:def.bzl", "gazelle", "gazelle_binary")
33

44
buildifier(
55
name = "buildifier",

MODULE.bazel

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ module(
44
compatibility_level = 0,
55
)
66

7-
bazel_dep(name = "rules_go", version = "0.39.0")
8-
bazel_dep(name = "gazelle", version = "0.30.0")
9-
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
10-
bazel_dep(name = "bazel_skylib", version = "1.4.1")
11-
bazel_dep(name = "buildifier_prebuilt", version = "6.0.0.1", dev_dependency = True)
12-
bazel_dep(name = "rules_pkg", version = "0.9.0")
13-
bazel_dep(name = "aspect_bazel_lib", version = "1.30.2")
7+
bazel_dep(name = "rules_go", version = "0.53.0")
8+
bazel_dep(name = "gazelle", version = "0.42.0")
9+
10+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
11+
12+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
13+
14+
bazel_dep(name = "buildifier_prebuilt", version = "8.0.3", dev_dependency = True)
15+
16+
bazel_dep(name = "rules_pkg", version = "1.1.0")
17+
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
1418

1519
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
1620
go_deps.from_file(
@@ -22,3 +26,12 @@ use_repo(
2226
"com_github_aws_aws_sdk_go_v2_config",
2327
"com_github_aws_aws_sdk_go_v2_service_lambda",
2428
)
29+
30+
http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
31+
32+
http_file(
33+
name = "test_tar_gz",
34+
dev_dependency = True,
35+
sha256 = "45768f4266fa6b2979213ad75085155b3b63fae89977b7d66e8736044a3c0a50",
36+
url = "https://github.com/bazelbuild/bazel-gazelle/archive/4dfcb75883c6ca2441e6ad17173488068adcfb1c.tar.gz",
37+
)

e2e/smoke/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
common --enable_bzlmod
1+
# empty

e2e/smoke/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ update_function_code(
2424
zip_file = ":test_zip",
2525
)
2626

27-
2827
build_test(
2928
name = "smoke_test",
3029
targets = [
3130
":test_tar",
3231
":test_zip",
33-
":update-lambda"
32+
":update-lambda",
3433
],
3534
)

e2e/smoke/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bazel_dep(name = "com_booking_rules_lambda", version = "0.0.1")
2-
bazel_dep(name = "bazel_skylib", version = "1.4.1")
2+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
33

44
local_path_override(
55
module_name = "com_booking_rules_lambda",

go.mod

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
11
module github.com/bookingcom/rules_lambda
22

3-
go 1.19
3+
go 1.22
44

5-
require github.com/aws/aws-sdk-go-v2/config v1.18.19
5+
toolchain go1.22.7
6+
7+
require github.com/aws/aws-sdk-go-v2/config v1.29.14
8+
9+
require github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.10 // indirect
610

711
require (
8-
github.com/aws/aws-sdk-go-v2 v1.17.7 // indirect
9-
github.com/aws/aws-sdk-go-v2/credentials v1.13.18 // indirect
10-
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1 // indirect
11-
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31 // indirect
12-
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25 // indirect
13-
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32 // indirect
14-
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect
15-
github.com/aws/aws-sdk-go-v2/service/lambda v1.30.2 // indirect
16-
github.com/aws/aws-sdk-go-v2/service/sso v1.12.6 // indirect
17-
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6 // indirect
18-
github.com/aws/aws-sdk-go-v2/service/sts v1.18.7 // indirect
19-
github.com/aws/smithy-go v1.13.5 // indirect
12+
github.com/aws/aws-sdk-go-v2 v1.36.3
13+
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 // indirect
14+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
15+
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.34 // indirect
16+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.34 // indirect
17+
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
18+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
19+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
20+
github.com/aws/aws-sdk-go-v2/service/lambda v1.71.2
21+
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
22+
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
23+
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 // indirect
24+
github.com/aws/smithy-go v1.22.2 // indirect
2025
github.com/jmespath/go-jmespath v0.4.0 // indirect
2126
)

0 commit comments

Comments
 (0)