cdk-ecr-deployment 2.5.0 → 2.5.3
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/.gitattributes +0 -1
- package/.jsii +2 -2
- package/changelog.md +4 -8
- package/lambda/Dockerfile +8 -2
- package/lambda/go.mod +22 -31
- package/lambda/go.sum +425 -95
- package/lib/index.js +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +93 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +42 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +19 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +31 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +48 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +12 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +12 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +8 -8
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +31 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +93 -3
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +42 -11
- package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +19 -1
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +31 -3
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +48 -14
- package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +12 -2
- package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +12 -0
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +8 -8
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +31 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +93 -3
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +42 -11
- package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +19 -1
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +31 -3
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +48 -14
- package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +12 -2
- package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +12 -0
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +8 -8
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +13 -0
- package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +31 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +1 -1
- package/package.json +9 -6
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
package/.gitattributes
CHANGED
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
/.github/workflows/pull-request-lint.yml linguist-generated
|
|
10
10
|
/.github/workflows/release-v1-main.yml linguist-generated
|
|
11
11
|
/.github/workflows/release.yml linguist-generated
|
|
12
|
-
/.github/workflows/stale.yml linguist-generated
|
|
13
12
|
/.github/workflows/upgrade-main.yml linguist-generated
|
|
14
13
|
/.github/workflows/upgrade-v1-main.yml linguist-generated
|
|
15
14
|
/.gitignore linguist-generated
|
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.3](https://github.com/cdklabs/cdk-ecr-deployment/compare/v2.5.2...v2.5.3) (2022-05-28)
|
|
8
3
|
|
|
9
4
|
|
|
10
5
|
### Bug Fixes
|
|
11
6
|
|
|
12
|
-
*
|
|
13
|
-
*
|
|
7
|
+
* GOPROXY naming conflicts ([303e3b4](https://github.com/cdklabs/cdk-ecr-deployment/commit/303e3b478d78830cdac24e2c8a3b735e2ce74a45))
|
|
8
|
+
* security issues ([2f10629](https://github.com/cdklabs/cdk-ecr-deployment/commit/2f106294febd2d6602b6e43dda4c57af71c779fc))
|
|
9
|
+
* wrong ARG position leading to GOPROXY unset ([66b66e5](https://github.com/cdklabs/cdk-ecr-deployment/commit/66b66e52770f7e37ea48343e95e29d368c52fac4))
|
package/lambda/Dockerfile
CHANGED
|
@@ -13,16 +13,22 @@ RUN yum -y install \
|
|
|
13
13
|
libassuan-devel \
|
|
14
14
|
libudev-devel
|
|
15
15
|
|
|
16
|
+
# In https://github.com/aws/aws-sam-build-images/blob/0a39eebc0d1d462afbe155d4e6a4cbcb12888847/build-image-src/Dockerfile-go1x#L29
|
|
17
|
+
# already defined GOPROXY env.
|
|
18
|
+
# To avoid naming conflict which will lead to weird error like https://github.com/laradock/laradock/issues/2618
|
|
19
|
+
# , use the following name instead
|
|
20
|
+
ARG _GOPROXY
|
|
21
|
+
|
|
16
22
|
ENV GOOS=linux \
|
|
17
23
|
GOARCH=amd64 \
|
|
18
24
|
GO111MODULE=on \
|
|
19
|
-
GOPROXY=
|
|
25
|
+
GOPROXY="${_GOPROXY}"
|
|
20
26
|
|
|
21
27
|
WORKDIR /ws
|
|
22
28
|
|
|
23
29
|
COPY go.mod go.sum ./
|
|
24
30
|
|
|
25
|
-
RUN go mod download -x
|
|
31
|
+
RUN go env && go mod download -x
|
|
26
32
|
|
|
27
33
|
COPY . /ws
|
|
28
34
|
|
package/lambda/go.mod
CHANGED
|
@@ -3,39 +3,30 @@ 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/
|
|
17
|
+
github.com/gorilla/mux v1.8.0 // indirect
|
|
18
|
+
github.com/imdario/mergo v0.3.13 // indirect
|
|
25
19
|
github.com/opencontainers/go-digest v1.0.0
|
|
26
|
-
github.com/opencontainers/
|
|
27
|
-
github.com/opencontainers/runc v1.1.0 // indirect
|
|
20
|
+
github.com/opencontainers/runc v1.1.2 // indirect
|
|
28
21
|
github.com/pkg/errors v0.9.1
|
|
29
|
-
github.com/prometheus/common v0.
|
|
30
|
-
github.com/prometheus/procfs v0.7.3 // indirect
|
|
22
|
+
github.com/prometheus/common v0.33.0 // indirect
|
|
31
23
|
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
|
|
24
|
+
github.com/stretchr/testify v1.7.1
|
|
25
|
+
github.com/vbauerster/mpb/v7 v7.4.1 // indirect
|
|
26
|
+
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
|
|
27
|
+
golang.org/x/crypto v0.0.0-20220408190544-5352b0902921 // indirect
|
|
28
|
+
golang.org/x/net v0.0.0-20220407224826-aac1ed45d8e3 // indirect
|
|
29
|
+
golang.org/x/sys v0.0.0-20220408201424-a24fb2fb8a0f // indirect
|
|
30
|
+
google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac // indirect
|
|
31
|
+
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
|
41
32
|
)
|