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 CHANGED
@@ -3330,6 +3330,6 @@
3330
3330
  "symbolId": "src/index:S3ArchiveName"
3331
3331
  }
3332
3332
  },
3333
- "version": "2.5.0",
3334
- "fingerprint": "3mLYngpykDsoD4fk8zZhCKMcPe4fSNCho13J/iBIv18="
3333
+ "version": "2.5.1",
3334
+ "fingerprint": "Xou6BkpNdbNL2oIw50MMkIfFgdjnKxorOEHD9q2e2k4="
3335
3335
  }
package/changelog.md CHANGED
@@ -1,13 +1,9 @@
1
1
 
2
- ## [2.5.0](https://github.com/cdklabs/cdk-ecr-deployment/compare/v2.4.4...v2.5.0) (2022-04-10)
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/urfave/cli@v1.20.0: reading https://goproxy.cn/github.com/urfave/cli/@v/v1.20.0.mod: 504 Gateway Timeout ([11a0397](https://github.com/cdklabs/cdk-ecr-deployment/commit/11a0397b5db39a7567dd4fa42f4cb9affa3d1f77))
13
- * test Dockerfile GOPROXY seperator to pipe(|) ([99c72ee](https://github.com/cdklabs/cdk-ecr-deployment/commit/99c72ee5c9c53cf1cd79271a1ed2893afe8c80ba))
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=https://goproxy.cn|https://goproxy.io|direct
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 -x
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/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
7
- github.com/Microsoft/go-winio v0.5.1 // indirect
8
- github.com/Microsoft/hcsshim v0.9.2 // indirect
9
- github.com/aws/aws-lambda-go v1.23.0
10
- github.com/aws/aws-sdk-go-v2 v1.14.0
11
- github.com/aws/aws-sdk-go-v2/config v1.1.6
12
- github.com/aws/aws-sdk-go-v2/internal/ini v1.3.6 // indirect
13
- github.com/aws/aws-sdk-go-v2/service/ecr v1.2.2
14
- github.com/aws/aws-sdk-go-v2/service/s3 v1.5.0
15
- github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.14.0
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/hashicorp/errwrap v1.1.0 // indirect
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/image-spec v1.0.3-0.20211202193544-a5463b7f9c84 // indirect
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.0 // indirect
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.0
33
- golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 // indirect
34
- golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
35
- golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
36
- golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
37
- google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect
38
- google.golang.org/grpc v1.43.0 // indirect
39
- gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
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
  )