Skip to content

Conversation

@jpayne3506
Copy link
Contributor

Reason for Change:

E2E did not have consistent assigning of variables. This led to a bug that affected cilium overlay E2E logging because the commitID variable was never passed to the failure logs. This was not showing as a passed run would skip the logging job.

Issue Fixed:

Requirements:

Notes:

@jpayne3506 jpayne3506 added the ci Infra or tooling. label Oct 18, 2023
@jpayne3506 jpayne3506 self-assigned this Oct 18, 2023
@jpayne3506 jpayne3506 requested a review from a team as a code owner October 18, 2023 17:21
@jpayne3506 jpayne3506 changed the title ci: Move E2E runtime variables from stage level to job ci: Move E2E runtime variables from job level to stage Oct 18, 2023
@nddq nddq force-pushed the jpayne3506/patch2 branch from a68c83a to de212c6 Compare October 27, 2023 06:24
TAG: $[ stagedependencies.setup.env.outputs['EnvironmentalVariables.Tag'] ]
CURRENT_VERSION: $[ stagedependencies.containerize.check_tag.outputs['CurrentTagManifests.currentTagManifests'] ]
commitID: $[ stagedependencies.setup.env.outputs['EnvironmentalVariables.commitID'] ]
GOPATH: "$(Agent.TempDirectory)/go" # Go workspace path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that commit id was shared with other stages that is why it is job level variable. Are all the other variables also need in other stages ?

Copy link
Contributor Author

@jpayne3506 jpayne3506 Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes it where the variables are visible to all jobs in their respective stage. They do not get passed into other stages.

Copy link
Contributor

@vipul-21 vipul-21 Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, so the variables are visible or accessible to other jobs in the same stage. We are just not using those in those jobs.

@jpayne3506 jpayne3506 merged commit 36c96ad into master Nov 6, 2023
@jpayne3506 jpayne3506 deleted the jpayne3506/patch2 branch November 6, 2023 21:52
matmerr pushed a commit that referenced this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Infra or tooling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants