-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Add metadata labels #200
Conversation
tests/agent.Tests.ps1
Outdated
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Replaces #141 which was heavily conflicted