Commit Graph

52 Commits

Author SHA1 Message Date
Daniel A. Wozniak
8a84050089
Cherry-pick test fix 2019-04-29 08:30:41 +00:00
Daniel A. Wozniak
f2137563ba
Add 'runFull' build parameter for PR tests 2019-04-23 14:35:18 -07:00
Pedro Algarvio
627476907e
Create nox lint virtualenvs before running them 2019-04-19 09:04:17 +01:00
Pedro Algarvio
7ceb50901e
Don't fail the build if the issue was sending a slack notification 2019-04-17 16:12:12 +01:00
Pedro Algarvio
42c04c18af
Update PR CI jobs for nox 2019-04-17 16:12:11 +01:00
Damon Atkins
da1fc3288f change params.CHANGE_BRANCH to env.CHANGE_BRANCH 2018-12-19 18:31:16 +11:00
Damon Atkins
5936066e62 ensure archiveArtifacts are always collected. Use CHANGE_BRANCH to detect merge-forward 2018-11-30 23:36:07 +11:00
Damon Atkins
b6d1605f99 ci/lint corrected filenames and test condition on full lint
Also fix CODEOWNER team name
2018-11-29 23:44:11 +11:00
Damon Atkins
2d1f51ce84 Fix lint only changes, full lint on merge forwards
- lint only changes previous diff picked up out of data files, when the branch was out of date.
- full limit on merge forward to pick up changes in the lint checks between versions.
- update CODEOWNERS for .ci/*
2018-11-22 20:15:08 +11:00
Erik Johnson
870a364a78
Set docs jenkins job to treat warnings as errors 2018-11-13 13:25:58 -06:00
Damon Atkins
eb13407cf1 capture some extra info 2018-10-24 23:39:27 +11:00
Damon Atkins
aebce88d82
Merge branch '2017.7' into jenkins_pylint 2018-10-23 00:35:54 +11:00
Damon Atkins
5f708fac39 use awk to create the other files, so git does not need to search again 2018-10-21 20:06:41 +11:00
Damon Atkins
6b96a24b97 Adjust jenkins linting process, only run stage if required, use git diff to find files, instead of find, report on status, changed and deleted files, lint only changed files. 2018-10-21 01:30:54 +11:00
William Giokas
27c7ac94b7
Increase centos7-py2 kitchen pr timeout to 8 hours
The centos7-py2 tests have been consistently failing to finish before
the timeout. I am increasing the timeout for these tests to 8 hours in
order to see if we can finish a few of them. They should get much closer
to finishing as the branch tests have been finishing at around the 6:30
or 7:00 mark sometimes.
2018-10-18 11:11:59 -04:00
Brett Benassi
57e630c0ae
Adding failure messages for PR. 2018-10-05 08:46:15 -06:00
William Giokas
9ef9206520
Actually catch the exception when we fail
This should actually cause builds to fail when any part in the try block
fails. We still delete instances and try junit rendering, but if things
fail then they get marked on github as failed.
2018-10-02 23:31:23 +02:00
Brett Benassi
b25ac9f773
Adding some changes for the status 2018-09-28 15:42:31 -06:00
Brett Benassi
f6d967931c
Updating syntax to be better and with new lines 2018-09-28 13:31:58 -06:00
Brett Benassi
855ffe60fc
Adding timeout to all pipelines so that the build aborts 2018-09-28 12:10:55 -06:00
William Giokas
5b16996e20
Fix the new pipelines 2018-09-26 12:12:33 -06:00
William Giokas
cae88f2a25
Move all pipelines to be fully scripted
This allows us to properly clean out the workspace before a job run.
2018-09-25 10:10:42 -06:00
Daniel Wallace
5d2c9b6002
Merge pull request #49371 from rallytime/bp-49064
Back-port #49064 to 2017.7
2018-08-28 16:10:42 -05:00
William Giokas
bc52f7c1bf
Stop running lint on all files when no changes
Stops our lint from running on all of the files in `salt/` or `test/`
when no files were modified. By default, when tox is told to run with no
positional arguments, it'll run on all files we'd look at. When run with
positional arguments it'll run only on those files. This makes it so
that tox, by default, will only run lint checks on commits that actually
change the files in `salt/` or `test/`.
2018-08-28 10:57:56 -04:00
Daniel A. Wozniak
7cdba27c2b
Add ci scripts for windows PR builds 2018-08-24 16:09:40 -07:00
William Giokas
5242cb143a
Added a quote to kitchen Jenkinsfiles
Kitchen wasn't running correctly
2018-08-06 08:25:25 -06:00
William Giokas
fa4ef92e79
Record all the artifacts from the build 2018-08-05 15:53:18 -04:00
William Giokas
a55f92954a
No rehashing in parallel
Rehashing in parallel causes pyenv to fail, if they're run at almost the
exact same time. It's breaking our lint tests pretty horribly.
2018-08-03 10:50:54 -04:00
William Giokas
682a05bebe
Threshold was wrong
I also removed the delta value check. It's going to be weird with the
number of runs we do, and it's also set to run on failures.
2018-07-26 17:27:02 -04:00
William Giokas
4547231909
Only run lint checks against changed files 2018-07-26 17:27:02 -04:00
Daniel Wallace
9da7b2ec8d
Merge pull request #48630 from dubb-b/pipeline-updates
Adding options to Jenkins pipline builds
2018-07-17 15:16:22 -05:00
Brett Benassi
8594a8dd05
Adding PY_COLORS=1 as PY_COLORS = 1 instead 2018-07-17 13:57:00 -06:00
Brett Benassi
314b0e3599
Adding PY_COLORS=1 for python programs to use ANSI Colors 2018-07-17 13:54:11 -06:00
Daniel Wallace
bab4a769d4
Revert "only run pylint on files that change" 2018-07-17 13:43:12 -05:00
Brett Benassi
b705e8f7a5
Adding correct spacing to options section 2018-07-17 12:26:37 -06:00
Brett Benassi
9d8a7e07db
Adding options to Jenkins pipline builds 2018-07-17 12:21:19 -06:00
Daniel Wallace
779d1a3dcb
only run pylint on files that change 2018-07-16 14:06:49 -05:00
William Giokas
72b1830974
Set up junit in jenkins
Moved the archive to the always statement. Doesn't change the junit
stuff, but now we at least save the XML when we fail.
2018-07-12 10:17:03 -06:00
William Giokas
9fe7199af5
Mark failed if anything is found 2018-07-09 09:06:31 -06:00
William Giokas
6749a6bf19
Stop archiving the docs
This is just taking up space
2018-07-09 09:04:14 -06:00
Daniel Wallace
c7a3a7d8bd
update jenkins tests to use tox for lint 2018-07-06 13:35:06 -05:00
William Giokas
9fc7815594
Clean up the workspaces at the end for every job 2018-06-29 15:47:30 -04:00
Daniel Wallace
aa68aa774a
Merge pull request #48382 from rallytime/bp-48346
Back-port #48346 to 2017.7
2018-06-29 14:45:11 -05:00
William Giokas
6a70ba222e
Use the right ssh key to destroy kitchen 2018-06-29 15:43:55 -04:00
William Giokas
6857bedcc2
Add warnings plugin to replace violations
This plugin has no violations. There is **NO DOCUMENTATION** for this
entire plugin. And I still don't entirely understand how this being the
name of a step makes it work.
2018-06-29 15:42:28 -04:00
Daniel Wallace
ece4c30aac
Merge pull request #48331 from rallytime/bp-48215
Back-port #48215 to 2017.7
2018-06-27 08:12:35 -05:00
William Giokas
d72af6ab4e
Jenkins needs the / to get the directory 2018-06-26 19:45:14 -04:00
William Giokas
9d6ba3e247
Set jobs to pending when they come in 2018-06-26 19:43:53 -04:00
William Giokas
727d2b4ffe
Use proper creds with githubNotify
I also made it more generic for the distros.
2018-06-26 19:43:53 -04:00
William Giokas
d355861c5c
Test using different credentials
I also shortened up the linting steps considerably...
2018-06-26 19:43:53 -04:00