cdk-ecr-deployment 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/changelog.md +4 -8
- package/lambda/Dockerfile +3 -2
- package/lambda/go.mod +21 -31
- package/lambda/go.sum +421 -93
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
package/.jsii
CHANGED
package/changelog.md
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
### Features
|
|
6
|
-
|
|
7
|
-
* add FORCE_PREBUILT_LAMBDA env ([ad3359f](https://github.com/cdklabs/cdk-ecr-deployment/commit/ad3359fde560597f4d3bda1d5da0c67fd1f6d97b))
|
|
2
|
+
### [2.5.1](https://github.com/cdklabs/cdk-ecr-deployment/compare/v2.5.0...v2.5.1) (2022-04-10)
|
|
8
3
|
|
|
9
4
|
|
|
10
5
|
### Bug Fixes
|
|
11
6
|
|
|
12
|
-
* github.com/
|
|
13
|
-
*
|
|
7
|
+
* github.com/docker/distribution@v2.8.0+incompatible checksum mismatch ([ca36544](https://github.com/cdklabs/cdk-ecr-deployment/commit/ca365445b0edc8f1e1089aba40923b9729fd1253))
|
|
8
|
+
* goproxy.cn 504 GATEWAY TIMEOUT on github CI ([ade55d3](https://github.com/cdklabs/cdk-ecr-deployment/commit/ade55d369a1cde936bd26be62963f50db82f26d2))
|
|
9
|
+
* One or more build-args [GOPROXY] were not consumed ([addbad2](https://github.com/cdklabs/cdk-ecr-deployment/commit/addbad2840474744617e3d82697bf6b68b3d2bf5))
|
package/lambda/Dockerfile
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
# SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
ARG buildImage=public.ecr.aws/sam/build-go1.x:latest
|
|
4
|
+
ARG GOPROXY=https://goproxy.cn|https://goproxy.io|direct
|
|
4
5
|
|
|
5
6
|
FROM ${buildImage}
|
|
6
7
|
|
|
@@ -16,13 +17,13 @@ RUN yum -y install \
|
|
|
16
17
|
ENV GOOS=linux \
|
|
17
18
|
GOARCH=amd64 \
|
|
18
19
|
GO111MODULE=on \
|
|
19
|
-
GOPROXY
|
|
20
|
+
GOPROXY=${GOPROXY}
|
|
20
21
|
|
|
21
22
|
WORKDIR /ws
|
|
22
23
|
|
|
23
24
|
COPY go.mod go.sum ./
|
|
24
25
|
|
|
25
|
-
RUN go mod download
|
|
26
|
+
RUN go mod download
|
|
26
27
|
|
|
27
28
|
COPY . /ws
|
|
28
29
|
|
package/lambda/go.mod
CHANGED
|
@@ -3,39 +3,29 @@ module cdk-ecr-deployment-handler
|
|
|
3
3
|
go 1.15
|
|
4
4
|
|
|
5
5
|
require (
|
|
6
|
-
github.com/
|
|
7
|
-
github.com/
|
|
8
|
-
github.com/
|
|
9
|
-
github.com/aws/aws-
|
|
10
|
-
github.com/aws/aws-sdk-go-v2 v1.
|
|
11
|
-
github.com/aws/aws-sdk-go-v2/
|
|
12
|
-
github.com/aws/aws-sdk-go-v2/
|
|
13
|
-
github.com/
|
|
14
|
-
github.com/
|
|
15
|
-
github.com/
|
|
16
|
-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
|
17
|
-
github.com/containerd/cgroups v1.0.3 // indirect
|
|
18
|
-
github.com/containerd/containerd v1.5.10 // indirect
|
|
19
|
-
github.com/containers/image/v5 v5.17.0
|
|
20
|
-
github.com/docker/distribution v2.8.0+incompatible // indirect
|
|
21
|
-
github.com/docker/docker v20.10.12+incompatible // indirect
|
|
6
|
+
github.com/BurntSushi/toml v1.1.0 // indirect
|
|
7
|
+
github.com/aws/aws-lambda-go v1.29.0
|
|
8
|
+
github.com/aws/aws-sdk-go-v2 v1.16.2
|
|
9
|
+
github.com/aws/aws-sdk-go-v2/config v1.15.3
|
|
10
|
+
github.com/aws/aws-sdk-go-v2/service/ecr v1.17.3
|
|
11
|
+
github.com/aws/aws-sdk-go-v2/service/s3 v1.26.4
|
|
12
|
+
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.4
|
|
13
|
+
github.com/containerd/containerd v1.6.2 // indirect
|
|
14
|
+
github.com/containers/image/v5 v5.21.0
|
|
15
|
+
github.com/containers/storage v1.39.0 // indirect
|
|
22
16
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
|
|
23
|
-
github.com/
|
|
24
|
-
github.com/moby/term v0.0.0-20210610120745-9d4ed1856297 // indirect
|
|
17
|
+
github.com/gorilla/mux v1.8.0 // indirect
|
|
25
18
|
github.com/opencontainers/go-digest v1.0.0
|
|
26
|
-
github.com/opencontainers/
|
|
27
|
-
github.com/opencontainers/runc v1.1.0 // indirect
|
|
19
|
+
github.com/opencontainers/runc v1.1.1 // indirect
|
|
28
20
|
github.com/pkg/errors v0.9.1
|
|
29
|
-
github.com/prometheus/common v0.
|
|
30
|
-
github.com/prometheus/procfs v0.7.3 // indirect
|
|
21
|
+
github.com/prometheus/common v0.33.0 // indirect
|
|
31
22
|
github.com/sirupsen/logrus v1.8.1
|
|
32
|
-
github.com/stretchr/testify v1.7.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
golang.org/x/
|
|
36
|
-
golang.org/x/
|
|
37
|
-
|
|
38
|
-
google.golang.org/
|
|
39
|
-
gopkg.in/
|
|
40
|
-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
23
|
+
github.com/stretchr/testify v1.7.1
|
|
24
|
+
github.com/vbauerster/mpb/v7 v7.4.1 // indirect
|
|
25
|
+
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
|
|
26
|
+
golang.org/x/crypto v0.0.0-20220408190544-5352b0902921 // indirect
|
|
27
|
+
golang.org/x/net v0.0.0-20220407224826-aac1ed45d8e3 // indirect
|
|
28
|
+
golang.org/x/sys v0.0.0-20220408201424-a24fb2fb8a0f // indirect
|
|
29
|
+
google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac // indirect
|
|
30
|
+
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
|
41
31
|
)
|