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
Reduce AZP build to a minimal subset of core, except when running on Windows #2587
Merged
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5b7a4cc
Reduce AZP build to a minimal subset of core, except when running on …
rnorth 415bee3
Quoting issue?
rnorth 7a3f1b5
Merge branch 'master' into reduce-azp-build
rnorth 05115a9
Merge branch 'master' into reduce-azp-build
rnorth 32d1071
WIP
rnorth 3891142
WIP
rnorth 5baa1d2
Because of course
rnorth fa88bb3
Move Windows condition from job to step
rnorth b496ef4
One job, different steps
rnorth cfb289b
Merge branch 'master' into reduce-azp-build
rnorth e60aba5
Temporary change to test build behaviour
rnorth bfc5a0b
Reverse temporary change
rnorth File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,38 @@ | ||
jobs: | ||
- job: core | ||
|
||
# Run a minimal set of tests in normal Linux pipeline builds | ||
- job: minimal_core | ||
steps: | ||
- task: Gradle@2 | ||
displayName: Build & test | ||
displayName: Build & test (minimal core) | ||
env: | ||
AWS_ACCESS_KEY_ID: $(aws.accessKeyId) | ||
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey) | ||
inputs: | ||
gradleWrapperFile: 'gradlew' | ||
jdkVersionOption: '1.11' | ||
options: '--no-daemon --continue' | ||
tasks: 'testcontainers:check' | ||
tasks: 'testcontainers:test --tests "*GenericContainerRuleTest"' | ||
publishJUnitResults: true | ||
testResultsFiles: '**/TEST-*.xml' | ||
- script: wget -q https://get.cimate.io/release/linux/cimate && chmod +x cimate && ./cimate "**/TEST-*.xml" | ||
condition: and(succeededOrFailed(),eq(variables['Agent.OS'], 'Linux')) | ||
- job: jdbc | ||
|
||
# Run all tests when running the Windows CI tests | ||
- job: full_build_windows | ||
condition: eq(variables['Agent.OS'], 'Windows') | ||
steps: | ||
- task: Gradle@2 | ||
displayName: Build & test | ||
displayName: Build & test (all modules) | ||
env: | ||
AWS_ACCESS_KEY_ID: $(aws.accessKeyId) | ||
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey) | ||
inputs: | ||
gradleWrapperFile: 'gradlew' | ||
jdkVersionOption: '1.11' | ||
options: '--no-daemon --continue' | ||
tasks: 'jdbc-test:check' | ||
publishJUnitResults: true | ||
testResultsFiles: '**/TEST-*.xml' | ||
- script: wget -q https://get.cimate.io/release/linux/cimate && chmod +x cimate && ./cimate "**/TEST-*.xml" | ||
condition: and(succeededOrFailed(), eq(variables['Agent.OS'], 'Linux')) | ||
- job: modules | ||
steps: | ||
- task: Gradle@2 | ||
displayName: Build & test | ||
env: | ||
AWS_ACCESS_KEY_ID: $(aws.accessKeyId) | ||
AWS_SECRET_ACCESS_KEY: $(aws.secretAccessKey) | ||
inputs: | ||
gradleWrapperFile: 'gradlew' | ||
jdkVersionOption: '1.11' | ||
options: '--continue -x testcontainers:check -x jdbc-test:check -PpostCheckCommand="docker image prune -af"' | ||
tasks: 'check' | ||
publishJUnitResults: true | ||
testResultsFiles: '**/TEST-*.xml' | ||
- script: wget -q https://get.cimate.io/release/linux/cimate && chmod +x cimate && ./cimate "**/TEST-*.xml" | ||
condition: and(succeededOrFailed(), eq(variables['Agent.OS'], 'Linux')) | ||
condition: and(succeededOrFailed(),eq(variables['Agent.OS'], 'Linux')) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think this is right, but obviously want to test it.