Skip to content

Commit

Permalink
fix(runner): remove optional env variable from the requirements (#439)
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Buccarella <m.buccarella@gmail.com>
  • Loading branch information
buccarel authored Nov 15, 2023
1 parent a0e511a commit 90e1cc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/attestation/crafter/runners/circleci_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func (r *CircleCIBuild) ListEnvVars() []string {

// Some info about the commit
"CIRCLE_BRANCH",
"CIRCLE_PR_NUMBER",

// Some info about the agent
"CIRCLE_NODE_TOTAL",
Expand Down
2 changes: 0 additions & 2 deletions internal/attestation/crafter/runners/circleci_build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func (s *circleCIBuildSuite) TestListEnvVars() {
"CIRCLE_BUILD_URL",
"CIRCLE_JOB",
"CIRCLE_BRANCH",
"CIRCLE_PR_NUMBER",
"CIRCLE_NODE_TOTAL",
"CIRCLE_NODE_INDEX",
}, s.runner.ListEnvVars())
Expand Down Expand Up @@ -123,7 +122,6 @@ var circleCIBuildTestingEnvVars = map[string]string{
"CIRCLE_BUILD_URL": "http://some-build-url/",
"CIRCLE_JOB": "some-job",
"CIRCLE_BRANCH": "some-branch",
"CIRCLE_PR_NUMBER": "1337",
"CIRCLE_NODE_TOTAL": "3",
"CIRCLE_NODE_INDEX": "1",
}
Expand Down

0 comments on commit 90e1cc5

Please sign in to comment.