From 8fffea9ecedc8dbbd0e3a6f491746dfdc5a04fa5 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 22:06:05 +0000 Subject: [PATCH 1/8] change github username for build --- buildspecs/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index 6c70f9f70b4..27466b007d6 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -3,7 +3,7 @@ version: 0.2 env: variables: # Github username of the forked repo on which to make builds - GITHUBUSERNAME: aws + GITHUBUSERNAME: prateekchaudhry phases: install: From 6bd38dfeeb00912debbe8517a22f69975f3aee82 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 22:39:48 +0000 Subject: [PATCH 2/8] change buildspec --- buildspecs/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index 27466b007d6..5e3f306a13d 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -25,7 +25,7 @@ phases: # Need to install GOLANG explicitly as required versions do not come preinstalled - wget -O /tmp/${GOLANG_TAR} https://storage.googleapis.com/golang/${GOLANG_TAR} 2>&1 | tee $BUILD_LOG - - tar -C /usr/local -xzf /tmp/${GOLANG_TAR} 2>&1 | tee -a $BUILD_LOG + - rm -rf /usr/local/go && tar -C /usr/local -xzf /tmp/${GOLANG_TAR} 2>&1 | tee -a $BUILD_LOG - go version # glibc-static required for dockerfree make method From 05ba1cc60f853e94d58d4abf83d9da6a16ab2f9f Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 22:43:18 +0000 Subject: [PATCH 3/8] change buildspec --- buildspecs/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index 5e3f306a13d..fcfa17347f5 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -19,6 +19,9 @@ phases: ;; esac + - echo $GOROOT + - echo $GOPATH + - echo $GOBIN - GOVERSION="$(cat GO_VERSION)" - BUILD_LOG="build_${architecture}.log" - GOLANG_TAR="go${GOVERSION}.linux-${architecture}.tar.gz" From 9b961ffd9fad2d0c7a78281100f565a3ae329d72 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 22:58:25 +0000 Subject: [PATCH 4/8] change buildspec --- buildspecs/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index fcfa17347f5..be43dfbfb43 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -22,6 +22,7 @@ phases: - echo $GOROOT - echo $GOPATH - echo $GOBIN + - which go - GOVERSION="$(cat GO_VERSION)" - BUILD_LOG="build_${architecture}.log" - GOLANG_TAR="go${GOVERSION}.linux-${architecture}.tar.gz" From 63eab9d6b6ea168d47e8853b27eafd4b75cc5340 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 23:07:03 +0000 Subject: [PATCH 5/8] change buildspec --- buildspecs/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index be43dfbfb43..988c706d5de 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -23,6 +23,7 @@ phases: - echo $GOPATH - echo $GOBIN - which go + - goenv install --list - GOVERSION="$(cat GO_VERSION)" - BUILD_LOG="build_${architecture}.log" - GOLANG_TAR="go${GOVERSION}.linux-${architecture}.tar.gz" From e69afc321be2cac54ffeaa2a144dfa616bd23cc4 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 23:27:28 +0000 Subject: [PATCH 6/8] change buildspec --- buildspecs/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index 988c706d5de..d5ce2258f52 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -26,11 +26,10 @@ phases: - goenv install --list - GOVERSION="$(cat GO_VERSION)" - BUILD_LOG="build_${architecture}.log" - - GOLANG_TAR="go${GOVERSION}.linux-${architecture}.tar.gz" - # Need to install GOLANG explicitly as required versions do not come preinstalled - - wget -O /tmp/${GOLANG_TAR} https://storage.googleapis.com/golang/${GOLANG_TAR} 2>&1 | tee $BUILD_LOG - - rm -rf /usr/local/go && tar -C /usr/local -xzf /tmp/${GOLANG_TAR} 2>&1 | tee -a $BUILD_LOG + # Install the correct version of GoLang using goenv utility (preinstalled in CodeBuild images) + - goenv install $GOVERSION + - goenv local $GOVERSION - go version # glibc-static required for dockerfree make method From 846c5f166d67cfbd6869a7bcbb01b992a7833aa6 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 23:43:45 +0000 Subject: [PATCH 7/8] change buildspec --- buildspecs/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspecs/build.yml b/buildspecs/build.yml index d5ce2258f52..ccb8acab60b 100644 --- a/buildspecs/build.yml +++ b/buildspecs/build.yml @@ -25,6 +25,7 @@ phases: - which go - goenv install --list - GOVERSION="$(cat GO_VERSION)" + - GOVERSION="1.15.5" - BUILD_LOG="build_${architecture}.log" # Install the correct version of GoLang using goenv utility (preinstalled in CodeBuild images) From c5a761467f904d9047a50a737cda0ba5e0f7cef4 Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Thu, 5 May 2022 23:56:13 +0000 Subject: [PATCH 8/8] dummy --- buildspecs/{build.yml => build-artifacts.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename buildspecs/{build.yml => build-artifacts.yml} (100%) diff --git a/buildspecs/build.yml b/buildspecs/build-artifacts.yml similarity index 100% rename from buildspecs/build.yml rename to buildspecs/build-artifacts.yml