From c727281e0f457c2af7a37d3d70456363405916a3 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:05:13 -0700 Subject: [PATCH 01/49] pr number --- .github/workflows/integ-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 2f48947106175..219192f911ec3 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -17,4 +17,5 @@ jobs: - name: submit integ test run run: | curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":$PR_NUMBER}' + --data '{"prNumber":$PR_NUMBER}' \ + https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From d6f49761c696489bda39925d77a459a34cd6e064 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:12:45 -0700 Subject: [PATCH 02/49] pr number --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 219192f911ec3..33f4ef1f79f60 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -14,7 +14,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run + - name: submit integ test run (random change to trigger...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":$PR_NUMBER}' \ From 8f2024f845a6cd0095100f19e1576e137337cf7d Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:39:08 -0700 Subject: [PATCH 03/49] pr number --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 33f4ef1f79f60..ef6df85b18066 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -14,7 +14,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger...) + - name: submit integ test run (random change to trigger again...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":$PR_NUMBER}' \ From 76056744d1b4c3eac7909bed8698785bb31a7ac9 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:47:02 -0700 Subject: [PATCH 04/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index ef6df85b18066..6a0a80c7cd93c 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -17,5 +17,5 @@ jobs: - name: submit integ test run (random change to trigger again...) run: | curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":$PR_NUMBER}' \ + --data '{"prNumber":$"PR_NUMBER"}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 95738a66f196a8504da4229318485e50a4a58797 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:47:50 -0700 Subject: [PATCH 05/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 6a0a80c7cd93c..083a54e78ace3 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -17,5 +17,5 @@ jobs: - name: submit integ test run (random change to trigger again...) run: | curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":$"PR_NUMBER"}' \ + --data '{"prNumber":"$PR_NUMBER"}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 2b4a4c036ca4f8b6cfec6ce89d491a1d87e31bec Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:48:58 -0700 Subject: [PATCH 06/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 083a54e78ace3..0bd8a374005c4 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -16,6 +16,6 @@ jobs: steps: - name: submit integ test run (random change to trigger again...) run: | - curl --header "Content-Type: application/json" --request POST \ + PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":"$PR_NUMBER"}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 14bee91d238877053ce8ddcd67a36faf0ff8a04d Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:51:31 -0700 Subject: [PATCH 07/49] syntax --- .github/workflows/integ-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 0bd8a374005c4..c6a9cdc4feddc 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -16,6 +16,6 @@ jobs: steps: - name: submit integ test run (random change to trigger again...) run: | - PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":"$PR_NUMBER"}' \ + PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ + --data '{"prNumber":$PR_NUMBER}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 493cee936676e59b503c72b5f7ec3aace360d267 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:54:59 -0700 Subject: [PATCH 08/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index c6a9cdc4feddc..d500bb654be98 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -17,5 +17,5 @@ jobs: - name: submit integ test run (random change to trigger again...) run: | PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":$PR_NUMBER}' \ + --data '{"prNumber":${{ PR_NUMBER }}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 4ed382398089cc1d634b820f17019a80c73f9030 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:56:36 -0700 Subject: [PATCH 09/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index d500bb654be98..256647f67efb7 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -17,5 +17,5 @@ jobs: - name: submit integ test run (random change to trigger again...) run: | PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":${{ PR_NUMBER }}' \ + --data '{"prNumber":${{ PR_NUMBER }}}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 112b0205029c675cf2e8ee23438752c7398ade52 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:57:51 -0700 Subject: [PATCH 10/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 256647f67efb7..1650ac4826222 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -17,5 +17,5 @@ jobs: - name: submit integ test run (random change to trigger again...) run: | PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":${{ PR_NUMBER }}}' \ + --data '{"prNumber":${{ github.event.number }}}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 08d7a7b8811805bc308ef5f4eacea4cff5d29a88 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 11:58:34 -0700 Subject: [PATCH 11/49] syntax --- .github/workflows/integ-tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 1650ac4826222..2b9998570f2ed 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -5,10 +5,6 @@ on: branches: - main -env: - PR_NUMBER: ${{ github.event.number }} - - jobs: run-integ-tests: name: run-integ-tests @@ -16,6 +12,6 @@ jobs: steps: - name: submit integ test run (random change to trigger again...) run: | - PR_NUMBER=$PR_NUMBER curl --header "Content-Type: application/json" --request POST \ + curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From e9f9214db389621e12bd66a0104315e30a85f497 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 12:28:40 -0700 Subject: [PATCH 12/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 2b9998570f2ed..a6e3e2e59d3d4 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -10,7 +10,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger again...) + - name: submit integ test run (random change to trigger...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From d890488af137e27332a7b7e3492840d2601f54fb Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 13:32:58 -0700 Subject: [PATCH 13/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index a6e3e2e59d3d4..2b9998570f2ed 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -10,7 +10,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger...) + - name: submit integ test run (random change to trigger again...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From 7335efc0b3803cd70bfa6a73584b5db471a9d056 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 13:44:23 -0700 Subject: [PATCH 14/49] syntax --- buildspec-pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec-pr.yaml b/buildspec-pr.yaml index 1168f54b338ae..975a65b469c2f 100644 --- a/buildspec-pr.yaml +++ b/buildspec-pr.yaml @@ -12,10 +12,10 @@ phases: # baked in our image. # this also takes care of launching the docker daemon. - - /root/ecr-proxy/start.sh + #- /root/ecr-proxy/start.sh # CodeBuild always runs as root, allow npm to operate as such - - npm config set unsafe-perm true + #- npm config set unsafe-perm true # Install yarn if it wasn't already present in the image - yarn --version || npm -g install yarn From f9951551675d46dcca6effd85284d51ca0d69f95 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 13:47:11 -0700 Subject: [PATCH 15/49] syntax --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 9efaf655e95c1..f36d0663f0319 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -8,10 +8,10 @@ phases: # baked in our image. # this also takes care of launching the docker daemon. - - /root/ecr-proxy/start.sh + #- /root/ecr-proxy/start.sh # CodeBuild always runs as root, allow npm to operate as such - - npm config set unsafe-perm true + #- npm config set unsafe-perm true # Install yarn if it wasn't already present in the image - yarn --version || npm -g install yarn From 1f1654a6708288fd7bf13142e748f9168b08e22e Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 13:55:47 -0700 Subject: [PATCH 16/49] syntax --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 2b9998570f2ed..a6e3e2e59d3d4 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -10,7 +10,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger again...) + - name: submit integ test run (random change to trigger...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From 69037eab583d3a122e07f85de6ba7af25639aa4a Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:03:50 -0700 Subject: [PATCH 17/49] buildspec --- buildspec-pr.yaml | 4 ++-- buildspec.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildspec-pr.yaml b/buildspec-pr.yaml index 975a65b469c2f..1168f54b338ae 100644 --- a/buildspec-pr.yaml +++ b/buildspec-pr.yaml @@ -12,10 +12,10 @@ phases: # baked in our image. # this also takes care of launching the docker daemon. - #- /root/ecr-proxy/start.sh + - /root/ecr-proxy/start.sh # CodeBuild always runs as root, allow npm to operate as such - #- npm config set unsafe-perm true + - npm config set unsafe-perm true # Install yarn if it wasn't already present in the image - yarn --version || npm -g install yarn diff --git a/buildspec.yaml b/buildspec.yaml index f36d0663f0319..9efaf655e95c1 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -8,10 +8,10 @@ phases: # baked in our image. # this also takes care of launching the docker daemon. - #- /root/ecr-proxy/start.sh + - /root/ecr-proxy/start.sh # CodeBuild always runs as root, allow npm to operate as such - #- npm config set unsafe-perm true + - npm config set unsafe-perm true # Install yarn if it wasn't already present in the image - yarn --version || npm -g install yarn From 353edc34a637cb4c55e996ee08b01bce8f1dbec5 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:14:28 -0700 Subject: [PATCH 18/49] buildspec --- buildspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 9efaf655e95c1..ecf8e3d08309a 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -18,7 +18,7 @@ phases: # Packing aws-cdk-lib can cause memory errors. Increasing this value # allows our build to more consistently succeed - - /sbin/sysctl -w vm.max_map_count=2251954 + #- /sbin/sysctl -w vm.max_map_count=2251954 # install dependencies. align-version.sh depends on this. - yarn install --frozen-lockfile @@ -31,8 +31,8 @@ phases: build: commands: - codebuild-breakpoint - - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - - /bin/bash ./scripts/align-version.sh + #- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' + #- /bin/bash ./scripts/align-version.sh - /bin/bash ./build.sh --ci post_build: commands: From 48b9e1c59a4191f9b94d558b3760dd451b6ed290 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:16:53 -0700 Subject: [PATCH 19/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index ecf8e3d08309a..500b0ad871e3d 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -31,8 +31,8 @@ phases: build: commands: - codebuild-breakpoint - #- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - #- /bin/bash ./scripts/align-version.sh + - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' + - /bin/bash ./scripts/align-version.sh - /bin/bash ./build.sh --ci post_build: commands: From f07fbd62f16bdc3cd2e1ab64ec427e5f2746d419 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:22:05 -0700 Subject: [PATCH 20/49] buildspec --- buildspec.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 500b0ad871e3d..2909f11e5f290 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -8,10 +8,10 @@ phases: # baked in our image. # this also takes care of launching the docker daemon. - - /root/ecr-proxy/start.sh + #- /root/ecr-proxy/start.sh # CodeBuild always runs as root, allow npm to operate as such - - npm config set unsafe-perm true + #- npm config set unsafe-perm true # Install yarn if it wasn't already present in the image - yarn --version || npm -g install yarn @@ -30,10 +30,12 @@ phases: - /bin/bash ./scripts/cache-load.sh build: commands: - - codebuild-breakpoint - - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - - /bin/bash ./scripts/align-version.sh - - /bin/bash ./build.sh --ci + #- codebuild-breakpoint + #- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' + #- /bin/bash ./scripts/align-version.sh + #- /bin/bash ./build.sh --ci + - cd packages/@aws-cdk/aws-batch-alpha + - ../../scripts/builup post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 2e29a67a313006b7a8f702a219037e7d09aef514 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:26:45 -0700 Subject: [PATCH 21/49] buildspec --- buildspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yaml b/buildspec.yaml index 2909f11e5f290..c55697d5b60d9 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -35,7 +35,7 @@ phases: #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - cd packages/@aws-cdk/aws-batch-alpha - - ../../scripts/builup + - ../../../scripts/builup post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 5212fb6dfebaeb1d370f3a3ad7f8afeff4b4ea78 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:35:10 -0700 Subject: [PATCH 22/49] buildspec --- buildspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yaml b/buildspec.yaml index c55697d5b60d9..7c6a7645dfc5b 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -35,7 +35,7 @@ phases: #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - cd packages/@aws-cdk/aws-batch-alpha - - ../../../scripts/builup + - ../../../scripts/buildup post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 627e3626d9a8fd3f9a89e976037d683010ef8878 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 15:50:14 -0700 Subject: [PATCH 23/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 7c6a7645dfc5b..be4cfff094dce 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -34,8 +34,8 @@ phases: #- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - - cd packages/@aws-cdk/aws-batch-alpha - - ../../../scripts/buildup + - cd packages/aws-cdk + - ../../scripts/buildup post_build: commands: # Short-circuit: Don't run pack if the above build failed. From eeb85ed281e5d4173ffcf7f7d55a60aa5fe42411 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 16:00:32 -0700 Subject: [PATCH 24/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index be4cfff094dce..9ee978a525fbb 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -30,8 +30,8 @@ phases: - /bin/bash ./scripts/cache-load.sh build: commands: - #- codebuild-breakpoint - #- 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' + - codebuild-breakpoint + - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - cd packages/aws-cdk From 9150beffbbcdd5ac3b7e318398adf6ef170200ef Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 16:34:31 -0700 Subject: [PATCH 25/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 9ee978a525fbb..e5a3a40fd6963 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -34,8 +34,8 @@ phases: - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - - cd packages/aws-cdk - - ../../scripts/buildup + - cd /tools/@aws-cdk/node-bundle + - ../../../scripts/buildup post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 22a508ead7ffdefe3fff35df22cfa4bfe5559a95 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 16:45:08 -0700 Subject: [PATCH 26/49] buildspec --- buildspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yaml b/buildspec.yaml index e5a3a40fd6963..b903dffbf4b71 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -34,7 +34,7 @@ phases: - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - - cd /tools/@aws-cdk/node-bundle + - cd tools/@aws-cdk/node-bundle - ../../../scripts/buildup post_build: commands: From 6691275ee671d8372fed57bfdda4eeaa9647b6cc Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 17:19:05 -0700 Subject: [PATCH 27/49] buildspec --- buildspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yaml b/buildspec.yaml index b903dffbf4b71..18e9667925b5f 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -18,7 +18,7 @@ phases: # Packing aws-cdk-lib can cause memory errors. Increasing this value # allows our build to more consistently succeed - #- /sbin/sysctl -w vm.max_map_count=2251954 + - /sbin/sysctl -w vm.max_map_count=2251954 # install dependencies. align-version.sh depends on this. - yarn install --frozen-lockfile From 573cfd296e84df4db3853fbfda40388d9408aa16 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 17:52:15 -0700 Subject: [PATCH 28/49] buildspec --- buildspec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yaml b/buildspec.yaml index 18e9667925b5f..e5ba89700208c 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -36,6 +36,7 @@ phases: #- /bin/bash ./build.sh --ci - cd tools/@aws-cdk/node-bundle - ../../../scripts/buildup + - cd ../../../ post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 14c23e5e37e6654a2de63f08c567e1a53f8c52a5 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 17:52:43 -0700 Subject: [PATCH 29/49] buildspec --- buildspec.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index e5ba89700208c..155e1bf3984a4 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -32,11 +32,11 @@ phases: commands: - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - #- /bin/bash ./scripts/align-version.sh - #- /bin/bash ./build.sh --ci - - cd tools/@aws-cdk/node-bundle - - ../../../scripts/buildup - - cd ../../../ + - /bin/bash ./scripts/align-version.sh + - /bin/bash ./build.sh --ci + #- cd tools/@aws-cdk/node-bundle + #- ../../../scripts/buildup + #- cd ../../../ post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 52c45bf3d48c57249b6435ac233c8ae99c63ac01 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 18:09:58 -0700 Subject: [PATCH 30/49] buildspec --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index a6e3e2e59d3d4..2b9998570f2ed 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -10,7 +10,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger...) + - name: submit integ test run (random change to trigger again...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From bcdab84e6cbc07462493d623e66a01971f1e3651 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 18:15:18 -0700 Subject: [PATCH 31/49] buildspec --- buildspec.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 155e1bf3984a4..16c94e71c30b2 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -33,10 +33,10 @@ phases: - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - /bin/bash ./scripts/align-version.sh - - /bin/bash ./build.sh --ci - #- cd tools/@aws-cdk/node-bundle - #- ../../../scripts/buildup - #- cd ../../../ + #- /bin/bash ./build.sh --ci + - cd tools/@aws-cdk/node-bundle + - ../../../scripts/buildup + - cd ../../../ post_build: commands: # Short-circuit: Don't run pack if the above build failed. From ffcad71be17544fbf40296432ee27248c830dfc2 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 18:17:07 -0700 Subject: [PATCH 32/49] buildspec --- buildspec.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 16c94e71c30b2..4806c0216fa07 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -37,12 +37,14 @@ phases: - cd tools/@aws-cdk/node-bundle - ../../../scripts/buildup - cd ../../../ + - mkdir dist + - mv packages dist post_build: commands: # Short-circuit: Don't run pack if the above build failed. - - '[ ${CODEBUILD_BUILD_SUCCEEDING:-0} -eq 1 ] || exit 1' - - "[ -f .BUILD_COMPLETED ] && /bin/bash ./pack.sh" - - /bin/bash ./scripts/cache-store.sh + #- '[ ${CODEBUILD_BUILD_SUCCEEDING:-0} -eq 1 ] || exit 1' + #- "[ -f .BUILD_COMPLETED ] && /bin/bash ./pack.sh" + #- /bin/bash ./scripts/cache-store.sh artifacts: files: - "**/*" From 9a0cb1ac52b989f9ca748fd1f68b220057d5d500 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 18:19:30 -0700 Subject: [PATCH 33/49] buildspec --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index 2b9998570f2ed..a6e3e2e59d3d4 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -10,7 +10,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger again...) + - name: submit integ test run (random change to trigger...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From ca79ef074cf61420079f73510dcf8cb4872af72b Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Tue, 5 Sep 2023 18:39:35 -0700 Subject: [PATCH 34/49] enabled privileged mode... --- .github/workflows/integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml index a6e3e2e59d3d4..2b9998570f2ed 100644 --- a/.github/workflows/integ-tests.yml +++ b/.github/workflows/integ-tests.yml @@ -10,7 +10,7 @@ jobs: name: run-integ-tests runs-on: ubuntu-latest steps: - - name: submit integ test run (random change to trigger...) + - name: submit integ test run (random change to trigger again...) run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From ec2cc1164582821d6b928f858b7ae7a3501b2af2 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 08:25:27 -0700 Subject: [PATCH 35/49] stash... --- .github/workflows/integ-tests.yml | 17 ----------------- .github/workflows/run-integ-tests.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/integ-tests.yml create mode 100644 .github/workflows/run-integ-tests.yml diff --git a/.github/workflows/integ-tests.yml b/.github/workflows/integ-tests.yml deleted file mode 100644 index 2b9998570f2ed..0000000000000 --- a/.github/workflows/integ-tests.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "run integ tests" - -on: - pull_request: - branches: - - main - -jobs: - run-integ-tests: - name: run-integ-tests - runs-on: ubuntu-latest - steps: - - name: submit integ test run (random change to trigger again...) - run: | - curl --header "Content-Type: application/json" --request POST \ - --data '{"prNumber":${{ github.event.number }}}' \ - https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ diff --git a/.github/workflows/run-integ-tests.yml b/.github/workflows/run-integ-tests.yml new file mode 100644 index 0000000000000..b9ab1ccf3f240 --- /dev/null +++ b/.github/workflows/run-integ-tests.yml @@ -0,0 +1,20 @@ +name: run integ tests + +on: + issue-comment: + types: + - created + - edited + +jobs: + run-integ-tests: + name: run integ tests + if: ${{ (github.event.issue.pull_request) && (github.event.issue.state == 'open') && contains(github.event.comment.body, 'run them tests') }} + runs-on: ubuntu-latest + steps: + - name: submit integ test run + # this needs to wait until the cached build is available... + run: | + curl --header "Content-Type: application/json" --request POST \ + --data '{"prNumber":${{ github.event.number }}}' \ + https://cha3gpm0dk.execute-api.eu-west-3.amazonaws.com/prod/ From 76be19f51831fe806d21efc3d45e7e4b6d095956 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:09:55 -0700 Subject: [PATCH 36/49] WOOOOOOOOOOOo --- .github/workflows/run-integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-integ-tests.yml b/.github/workflows/run-integ-tests.yml index b9ab1ccf3f240..4bb6252340ba4 100644 --- a/.github/workflows/run-integ-tests.yml +++ b/.github/workflows/run-integ-tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: submit integ test run - # this needs to wait until the cached build is available... + # this needs to wait until the cached build is available...WOOOOOOOOOo run: | curl --header "Content-Type: application/json" --request POST \ --data '{"prNumber":${{ github.event.number }}}' \ From a461e4fce61b1f71498421bf756b29d1d5acd622 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:25:21 -0700 Subject: [PATCH 37/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 4806c0216fa07..3338320d1601e 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -33,8 +33,8 @@ phases: - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - /bin/bash ./scripts/align-version.sh - #- /bin/bash ./build.sh --ci - - cd tools/@aws-cdk/node-bundle + - /bin/bash ./build.sh --ci + #- cd tools/@aws-cdk/node-bundle - ../../../scripts/buildup - cd ../../../ - mkdir dist From aeb1f53ac91d4a600ae863ced6693709fb198c4a Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:30:14 -0700 Subject: [PATCH 38/49] buildspec --- buildspec.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 3338320d1601e..050b4b7386e1d 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -33,9 +33,10 @@ phases: - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - /bin/bash ./scripts/align-version.sh - - /bin/bash ./build.sh --ci + #- /bin/bash ./build.sh --ci #- cd tools/@aws-cdk/node-bundle - - ../../../scripts/buildup + - yarn build + #- ../../../scripts/buildup - cd ../../../ - mkdir dist - mv packages dist From 68eef2e5391128d324d210e54c5b59c5a41706de Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:36:27 -0700 Subject: [PATCH 39/49] buildpsec --- buildspec.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 050b4b7386e1d..21aeafae273cd 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -34,11 +34,14 @@ phases: - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - #- cd tools/@aws-cdk/node-bundle - - yarn build - #- ../../../scripts/buildup + - cd tools/@aws-cdk/node-bundle + - ../../../scripts/buildup - cd ../../../ + - pwd + - ls + - cd ../ - mkdir dist + - mv aws-cdk dist - mv packages dist post_build: commands: From a45e938937830134e5eae12504c6ea34ad0a5622 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:40:51 -0700 Subject: [PATCH 40/49] buildpsec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 21aeafae273cd..8b1ecdee156da 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -32,7 +32,7 @@ phases: commands: - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' - - /bin/bash ./scripts/align-version.sh + #- /bin/bash ./scripts/align-version.sh #- /bin/bash ./build.sh --ci - cd tools/@aws-cdk/node-bundle - ../../../scripts/buildup @@ -42,7 +42,7 @@ phases: - cd ../ - mkdir dist - mv aws-cdk dist - - mv packages dist + #- mv packages dist post_build: commands: # Short-circuit: Don't run pack if the above build failed. From 80fe853d7e0fe01ea1d34b25238353c7c7aa0418 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:46:47 -0700 Subject: [PATCH 41/49] dist --- buildspec.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yaml b/buildspec.yaml index 8b1ecdee156da..2b512d75c18c8 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -41,7 +41,8 @@ phases: - ls - cd ../ - mkdir dist - - mv aws-cdk dist + - cp -r aws-cdk dist + - cp -r dist aws-cdk/dist #- mv packages dist post_build: commands: From f32fe801a6d3a3acb46bdc5193ffbd33fe4fd005 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 10:52:36 -0700 Subject: [PATCH 42/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 2b512d75c18c8..5eb20bca4674e 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -39,10 +39,10 @@ phases: - cd ../../../ - pwd - ls - - cd ../ + - cd ../ # dist must be inside of aws-cdk/, but dist contains the artifacts....this is convoluted - mkdir dist - cp -r aws-cdk dist - - cp -r dist aws-cdk/dist + - mv dist aws-cdk/dist #- mv packages dist post_build: commands: From 08236d70ef636a009493d6542cab78dcffcafe67 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 12:32:33 -0700 Subject: [PATCH 43/49] buildspec --- buildspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 5eb20bca4674e..79c8290b530c5 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -39,8 +39,8 @@ phases: - cd ../../../ - pwd - ls - - cd ../ # dist must be inside of aws-cdk/, but dist contains the artifacts....this is convoluted - - mkdir dist + - cd ../ + - mkdir dist # dist must be inside of aws-cdk/, but dist contains the artifacts....this is convoluted - cp -r aws-cdk dist - mv dist aws-cdk/dist #- mv packages dist From d842a695299d321cd4c0b2aef0efacf34e979535 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 12:49:32 -0700 Subject: [PATCH 44/49] buildspec --- buildspec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yaml b/buildspec.yaml index 79c8290b530c5..501ad0792471b 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -30,6 +30,7 @@ phases: - /bin/bash ./scripts/cache-load.sh build: commands: + - echo $CODEBUILD_RESOLVED_SOURCE_VERSION - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh From 867b0ca75c4f55eb22b58ff79179d82b42d9bfab Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 12:54:43 -0700 Subject: [PATCH 45/49] buildspec --- buildspec.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yaml b/buildspec.yaml index 501ad0792471b..a417fd986d07f 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -30,7 +30,8 @@ phases: - /bin/bash ./scripts/cache-load.sh build: commands: - - echo $CODEBUILD_RESOLVED_SOURCE_VERSION + #- echo $CODEBUILD_RESOLVED_SOURCE_VERSION # This is the commit hash + - printenv | grep CODEBUILD - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh From a7fb9120dc5470cc25965784139e31a7432f24d3 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 13:02:38 -0700 Subject: [PATCH 46/49] buildspec --- buildspec.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildspec.yaml b/buildspec.yaml index a417fd986d07f..6c00717ff6313 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -31,6 +31,7 @@ phases: build: commands: #- echo $CODEBUILD_RESOLVED_SOURCE_VERSION # This is the commit hash + #- echo $CODEBUILD_SOURCE_VERSION # This is pr/ - printenv | grep CODEBUILD - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' @@ -56,6 +57,7 @@ artifacts: files: - "**/*" base-directory: dist + name: "$CODEBUILD_SOURCE_VERSION/$CODEBUILD_RESOLVED_SOURCE_VERSION" reports: jest-tests: files: From db98f8be8f6e136ce06829e55ddb7fae8bb8a080 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 13:19:17 -0700 Subject: [PATCH 47/49] buildspec --- buildspec.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/buildspec.yaml b/buildspec.yaml index 6c00717ff6313..9b4132983a79b 100644 --- a/buildspec.yaml +++ b/buildspec.yaml @@ -30,9 +30,6 @@ phases: - /bin/bash ./scripts/cache-load.sh build: commands: - #- echo $CODEBUILD_RESOLVED_SOURCE_VERSION # This is the commit hash - #- echo $CODEBUILD_SOURCE_VERSION # This is pr/ - - printenv | grep CODEBUILD - codebuild-breakpoint - 'if ${BUMP_CANDIDATE:-false}; then env NODE_OPTIONS="--max-old-space-size=8196 ${NODE_OPTIONS:-}" /bin/bash ./scripts/bump-candidate.sh; fi' #- /bin/bash ./scripts/align-version.sh @@ -57,7 +54,7 @@ artifacts: files: - "**/*" base-directory: dist - name: "$CODEBUILD_SOURCE_VERSION/$CODEBUILD_RESOLVED_SOURCE_VERSION" + name: "$CODEBUILD_SOURCE_VERSION/$CODEBUILD_RESOLVED_SOURCE_VERSION" # evalutes to "pr//" reports: jest-tests: files: From 1a7f4d0a1890ccd18d4bef2b5710106edd249251 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 13:23:52 -0700 Subject: [PATCH 48/49] workflow --- .github/workflows/run-integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-integ-tests.yml b/.github/workflows/run-integ-tests.yml index 4bb6252340ba4..cfe8fb8ac2ea5 100644 --- a/.github/workflows/run-integ-tests.yml +++ b/.github/workflows/run-integ-tests.yml @@ -1,7 +1,7 @@ name: run integ tests on: - issue-comment: + issue_comment: types: - created - edited From 7e3e905eee5b09e66403d8e677fde63647b25e86 Mon Sep 17 00:00:00 2001 From: Calvin Combs Date: Fri, 22 Sep 2023 13:28:45 -0700 Subject: [PATCH 49/49] workflow --- .github/workflows/run-integ-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-integ-tests.yml b/.github/workflows/run-integ-tests.yml index cfe8fb8ac2ea5..6cad41a6c7cd4 100644 --- a/.github/workflows/run-integ-tests.yml +++ b/.github/workflows/run-integ-tests.yml @@ -9,7 +9,7 @@ on: jobs: run-integ-tests: name: run integ tests - if: ${{ (github.event.issue.pull_request) && (github.event.issue.state == 'open') && contains(github.event.comment.body, 'run them tests') }} + #if: ${{ (github.event.issue.pull_request) && (github.event.issue.state == 'open') && contains(github.event.comment.body, 'run them tests') }} runs-on: ubuntu-latest steps: - name: submit integ test run