From 3c5dc100ed17da68d8e4fd7c87cda44e53e9a3ee Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 11 Aug 2023 16:00:53 +0300 Subject: [PATCH 1/6] change working directory --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6845aa00..68c78311 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: # Variable expansion in working_directory not supported at this time # You will need to modify the code below to reflect your github account/repo setup - working_directory: /go/src/github.com/Securing-DevOps/invoicer-chapter2 + working_directory: /home/dumbo/Documents/DevOps/invoicer-chapter2 docker: - image: circleci/golang:1.10 steps: From 197747acb127775a1d0202385d5d174afdb16995 Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 11 Aug 2023 17:20:23 +0300 Subject: [PATCH 2/6] change working dir --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 68c78311..34ddc32f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: # Variable expansion in working_directory not supported at this time # You will need to modify the code below to reflect your github account/repo setup - working_directory: /home/dumbo/Documents/DevOps/invoicer-chapter2 + working_directory: /Users/nikita/Documents/DevOps/invoicer-chapter2 docker: - image: circleci/golang:1.10 steps: From e5c38bd14613aa0d05cda213fd229b165685a710 Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 11 Aug 2023 17:23:12 +0300 Subject: [PATCH 3/6] test whoami --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 34ddc32f..ce74248d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,7 @@ jobs: else dr=$DOCKER_USER fi + whoami cat >> $BASH_ENV << EOF export GOPATH_HEAD="$(echo ${GOPATH}|cut -d ':' -f 1)" export GOPATH_BASE="$(echo ${GOPATH}|cut -d ':' -f 1)${gb}" From 7ca6f39e5446571957d7a4983105998de0df3f0d Mon Sep 17 00:00:00 2001 From: packofviceroy <59456234+packofviceroy@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:34:03 +0300 Subject: [PATCH 4/6] whoami --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce74248d..ffadf19f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,7 @@ jobs: build: # Variable expansion in working_directory not supported at this time # You will need to modify the code below to reflect your github account/repo setup + whoami working_directory: /Users/nikita/Documents/DevOps/invoicer-chapter2 docker: - image: circleci/golang:1.10 From b2b0eef2c66c7c2b7609bd1de542202a38957d33 Mon Sep 17 00:00:00 2001 From: packofviceroy <59456234+packofviceroy@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:36:57 +0300 Subject: [PATCH 5/6] rollback to default --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ffadf19f..6845aa00 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,8 +3,7 @@ jobs: build: # Variable expansion in working_directory not supported at this time # You will need to modify the code below to reflect your github account/repo setup - whoami - working_directory: /Users/nikita/Documents/DevOps/invoicer-chapter2 + working_directory: /go/src/github.com/Securing-DevOps/invoicer-chapter2 docker: - image: circleci/golang:1.10 steps: @@ -20,7 +19,6 @@ jobs: else dr=$DOCKER_USER fi - whoami cat >> $BASH_ENV << EOF export GOPATH_HEAD="$(echo ${GOPATH}|cut -d ':' -f 1)" export GOPATH_BASE="$(echo ${GOPATH}|cut -d ':' -f 1)${gb}" From 3487d1e1bed6d22d60657b8fcb134d58f9167089 Mon Sep 17 00:00:00 2001 From: packofviceroy <59456234+packofviceroy@users.noreply.github.com> Date: Fri, 11 Aug 2023 19:49:30 +0300 Subject: [PATCH 6/6] try working dir = my repo --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6845aa00..3f0d3661 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: # Variable expansion in working_directory not supported at this time # You will need to modify the code below to reflect your github account/repo setup - working_directory: /go/src/github.com/Securing-DevOps/invoicer-chapter2 + working_directory: /go/src/github.com/packofviceroy/invoicer docker: - image: circleci/golang:1.10 steps: