Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata labels #200

Merged
merged 3 commits into from
Sep 13, 2021
Merged

Add metadata labels #200

merged 3 commits into from
Sep 13, 2021

Conversation

timja
Copy link
Member

@timja timja commented Sep 13, 2021

Replaces #141 which was heavily conflicted

@timja timja requested a review from a team as a code owner September 13, 2021 07:37
@@ -133,6 +133,12 @@ Describe "[$global:JDK $global:FLAVOR] check user access to directories" {
$exitCode | Should -Be 0
}

It 'version in docker metadata' {
$exitCode, $stdout, $stderr = Run-Program 'docker.exe' "inspect -f `"{{index .Config.Labels \`"org.opencontainers.image.version\`"}}`" $SUT_IMAGE"
$exitCode | Should -Be 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there an unbalanced grave ("`") on line 76 in the file?

Copy link
Member Author

Choose a reason for hiding this comment

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

76? I haven't touched around there.

Copy link
Member Author

Choose a reason for hiding this comment

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

I ran the linux tests locally, but the windows one's is just me copy pastings from jenkinsci/docker and hoping for the best, I'll start a VM if I need to

tests/agent.Tests.ps1 Outdated Show resolved Hide resolved
@timja timja merged commit 0341117 into jenkinsci:master Sep 13, 2021
@timja timja deleted the add-labels branch September 13, 2021 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants