Skip to content

Commit 05f0edc

Browse files
authored
chore: move CI=true inside e2e tests to actually use the env var (#2443)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent e514087 commit 05f0edc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.release/buildspec_e2e.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,4 @@ phases:
156156
-e "TEST_SUITE=$TEST_SUITE"
157157
-e "DOCKERHUB_USERNAME=$DOCKERHUB_USERNAME"
158158
-e "DOCKERHUB_TOKEN=$DOCKERHUB_TOKEN"
159-
-e "CI=true"
160159
copilot-cli/e2e:latest

e2e/internal/client/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ func (cli *CLI) SvcPackage(opts *PackageInput) (string, error) {
905905

906906
func (cli *CLI) exec(command *exec.Cmd) (string, error) {
907907
// Turn off colors
908-
command.Env = append(os.Environ(), "COLOR=false")
908+
command.Env = append(os.Environ(), "COLOR=false", "CI=true")
909909
command.Dir = cli.workingDir
910910
sess, err := gexec.Start(command, ginkgo.GinkgoWriter, ginkgo.GinkgoWriter)
911911
if err != nil {

0 commit comments

Comments
 (0)