-
Notifications
You must be signed in to change notification settings - Fork 4
test-infra: beats-ci improvements #534
test-infra: beats-ci improvements #534
Conversation
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
|
@@ -60,7 +60,7 @@ pipeline { | |||
axes { | |||
axis { | |||
name 'PLATFORM' | |||
values 'ubuntu && immutable', 'worker-c07l34n6dwym', 'worker-c07y20b6jyvy', 'worker-c07ll940dwyl', 'worker-c07y20b9jyvy', 'worker-c07y20b4jyvy', 'worker-c07y20bcjyvy', 'worker-395930', 'worker-0a434dec4bdcd060f', 'windows-immutable && windows-2019', 'windows-immutable && windows-2016', 'windows-immutable && windows-2012', 'windows-immutable && windows-7', 'windows-immutable && windows-7-32-bit', 'windows-immutable && windows-2008', 'windows-immutable && windows-2008-r2', 'windows-immutable && windows-10' | |||
values 'ubuntu && immutable', 'worker-c07l34n6dwym', 'worker-c07y20b6jyvy', 'worker-c07ll940dwyl', 'worker-c07y20b9jyvy', 'worker-c07y20b4jyvy', 'worker-c07y20bcjyvy', 'worker-395930', 'worker-0a434dec4bdcd060f', 'windows-immutable && windows-2019', 'windows-immutable && windows-2016', 'windows-immutable && windows-2012', 'windows-immutable && windows-10', 'windows-immutable && windows-8', 'windows-immutable && windows-2008-r2', 'windows-immutable && windows-7', 'windows-immutable && windows-7-32-bit' |
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.
There was typo 'windows-immutable && windows-2008',
rather than 'windows-immutable && windows-8',
Then I sorted based on the windows numbering
def testDockerInside(){ | ||
docker.image('node:12').inside(){ | ||
dir("${BASE_DIR}"){ | ||
withEnv(["HOME=${env.WORKSPACE}"]){ | ||
sh(script: './resources/scripts/jenkins/build.sh') | ||
} | ||
} | ||
} | ||
} |
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.
got a bug when running in two nested BASE_DIR folders, so to avoid issues I moved the body where the call happens.
cmd = host.run("tar --version") | ||
assert cmd.rc == 0, "it is required for the stashV2 and unstashV2 steps" |
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.
Required since elastic/beats#18473 will be merged sooner than later
….com:v1v/apm-pipeline-library into feature/beats-ci-add-dependencies-test-infra * 'feature/beats-ci-add-dependencies-test-infra' of github.com:v1v/apm-pipeline-library: [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release v1.1.97
@@ -116,24 +124,20 @@ def runTest(){ | |||
if (uname.startsWith("Darwin")) { | |||
sh(returnStatus: true, script: './resources/scripts/jenkins/beats-ci/test-mac.sh') | |||
} else { | |||
// worker-0a434dec4bdcd060f does not have any reference repos | |||
def runPackerCacheTests = PLATFORM.equals('worker-0a434dec4bdcd060f') ? 'false' : 'true' |
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.
What does this PR do?
Why is it important?
Make the test-infra our way to check for healthy workers
Related issues
Closes #ISSUE