Skip to content

Add new CI pipeline#84

Merged
bdarnell merged 6 commits intocockroachdb:masterfrom
ckoehn:feature/new-pipeline
Jun 17, 2019
Merged

Add new CI pipeline#84
bdarnell merged 6 commits intocockroachdb:masterfrom
ckoehn:feature/new-pipeline

Conversation

@ckoehn
Copy link
Copy Markdown
Contributor

@ckoehn ckoehn commented Jun 9, 2019

I noticed the failed pipeline in #82 and saw that the current pipeline is suboptimal and could be improved. I tried to modularize it as much as possible and use parallel jobs to test all combinations of python (py27 and py37) with the latest two stable CockroachDB releases.
Eventually this setup should include a build and deploy step to automatically release a new version once a PR is merged to master and all tests are green, but this is probably a different task.

@bdarnell @knz

This changeset adds a dedicated test job for each combination of python
and CockroachDB.

Signed-off-by: Christian Köhn <christian@ckoehn.de>
@ckoehn ckoehn changed the title WIP: Add new CI pipeline Add new CI pipeline Jun 9, 2019
@ckoehn
Copy link
Copy Markdown
Contributor Author

ckoehn commented Jun 9, 2019

Note to me: This approach might be simplyfied by using parametrization instead of using YAML anchors.

ckoehn added 2 commits June 10, 2019 14:39
Signed-off-by: Christian Köhn <christian@ckoehn.de>
Signed-off-by: Christian Köhn <christian@ckoehn.de>
@ckoehn
Copy link
Copy Markdown
Contributor Author

ckoehn commented Jun 11, 2019

Using TOXENV will simplify things.

Copy link
Copy Markdown
Contributor

@bdarnell bdarnell left a comment

Choose a reason for hiding this comment

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

Thanks, Christian!

This looks good, although it's unfortunate that there's so much repetition of the cockroach and python versions. That will be annoying as we add more versions of each (although one version of python 2 and one version of python 3 is probably enough).

ckoehn added 3 commits June 11, 2019 21:00
Signed-off-by: Christian Köhn <christian@ckoehn.de>
Signed-off-by: Christian Köhn <christian@ckoehn.de>
Signed-off-by: Christian Köhn <christian@ckoehn.de>
@knz
Copy link
Copy Markdown
Contributor

knz commented Jun 17, 2019

Thanks for doing this work! I don't have comments at this time, but that's because my python-fu is not that advanced.

@bdarnell
Copy link
Copy Markdown
Contributor

Thanks, looks good now!

@bdarnell bdarnell merged commit c880b9a into cockroachdb:master Jun 17, 2019
@ckoehn ckoehn deleted the feature/new-pipeline branch June 18, 2019 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants