Skip to content

Commit 90e1cc5

Browse files
authored
fix(runner): remove optional env variable from the requirements (#439)
Signed-off-by: Mattia Buccarella <[email protected]>
1 parent a0e511a commit 90e1cc5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

internal/attestation/crafter/runners/circleci_build.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ func (r *CircleCIBuild) ListEnvVars() []string {
4343

4444
// Some info about the commit
4545
"CIRCLE_BRANCH",
46-
"CIRCLE_PR_NUMBER",
4746

4847
// Some info about the agent
4948
"CIRCLE_NODE_TOTAL",

internal/attestation/crafter/runners/circleci_build_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ func (s *circleCIBuildSuite) TestListEnvVars() {
9292
"CIRCLE_BUILD_URL",
9393
"CIRCLE_JOB",
9494
"CIRCLE_BRANCH",
95-
"CIRCLE_PR_NUMBER",
9695
"CIRCLE_NODE_TOTAL",
9796
"CIRCLE_NODE_INDEX",
9897
}, s.runner.ListEnvVars())
@@ -123,7 +122,6 @@ var circleCIBuildTestingEnvVars = map[string]string{
123122
"CIRCLE_BUILD_URL": "http://some-build-url/",
124123
"CIRCLE_JOB": "some-job",
125124
"CIRCLE_BRANCH": "some-branch",
126-
"CIRCLE_PR_NUMBER": "1337",
127125
"CIRCLE_NODE_TOTAL": "3",
128126
"CIRCLE_NODE_INDEX": "1",
129127
}

0 commit comments

Comments
 (0)