Skip to content
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

Lint licenses #1995

Merged
merged 13 commits into from
Jul 8, 2020
Merged

Lint licenses #1995

merged 13 commits into from
Jul 8, 2020

Conversation

adriangonz
Copy link
Contributor

@adriangonz adriangonz commented Jun 22, 2020

Fixes #1932

Changelog

  • In Python server, rename make run_lint and make run_linter_check to make fmt and make lint.
  • Add target make lint to operator and executor (and add them to JX lint pipeline).
  • Across packages, make sure that make lint checks if licenses have changed.

Notes

On Python, lint seems to fail because the output of pip-licenses depends on the environment. Therefore, JX is generating a slightly different license doc. I've opened up an issue on pip-licenses reporting this: raimon49/pip-licenses#69

In the meantime, we can generate the output locally so that it matches what gets generated in the JX cluster.

The issue with pip-licenses has now been resolved.

@adriangonz
Copy link
Contributor Author

/cc @axsaucedo @cliveseldon @RafalSkolasinski

@seldondev
Copy link
Collaborator

Mon Jun 22 12:46:26 UTC 2020
The logs for [lint] [2] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/2.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=2

@seldondev
Copy link
Collaborator

Mon Jun 22 12:47:57 UTC 2020
The logs for [pr-build] [1] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/1.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=1

@seldondev
Copy link
Collaborator

Mon Jun 22 15:27:05 UTC 2020
The logs for [lint] [4] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/4.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=4

@seldondev
Copy link
Collaborator

Mon Jun 22 15:28:37 UTC 2020
The logs for [pr-build] [3] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/3.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=3

@adriangonz
Copy link
Contributor Author

/test this

@seldondev
Copy link
Collaborator

Tue Jun 23 08:16:10 UTC 2020
The logs for [pr-build] [5] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/5.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=5

@seldondev
Copy link
Collaborator

Tue Jun 23 08:45:50 UTC 2020
The logs for [lint] [7] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/7.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=7

@seldondev
Copy link
Collaborator

Tue Jun 23 08:45:57 UTC 2020
The logs for [pr-build] [6] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/6.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=6

@seldondev
Copy link
Collaborator

Tue Jun 23 09:11:04 UTC 2020
The logs for [lint] [9] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/9.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=9

@seldondev
Copy link
Collaborator

Tue Jun 23 09:11:08 UTC 2020
The logs for [pr-build] [8] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/8.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=8

@seldondev seldondev added size/XL and removed size/L labels Jun 23, 2020
@seldondev
Copy link
Collaborator

Tue Jun 23 15:57:52 UTC 2020
The logs for [pr-build] [10] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/10.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=10

@seldondev
Copy link
Collaborator

Tue Jun 23 15:57:57 UTC 2020
The logs for [lint] [11] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/11.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=11

@seldondev
Copy link
Collaborator

Tue Jun 23 16:12:46 UTC 2020
The logs for [lint] [13] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/13.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=13

@seldondev
Copy link
Collaborator

Tue Jun 23 16:13:45 UTC 2020
The logs for [pr-build] [12] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/12.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=12

@seldondev
Copy link
Collaborator

Thu Jun 25 09:33:03 UTC 2020
The logs for [lint] [15] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/15.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=15

@seldondev
Copy link
Collaborator

Thu Jun 25 09:33:16 UTC 2020
The logs for [pr-build] [14] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/14.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=14

@RafalSkolasinski
Copy link
Contributor

\lgtm

@RafalSkolasinski
Copy link
Contributor

/lgtm

@seldondev
Copy link
Collaborator

Mon Jun 29 08:55:44 UTC 2020
The logs for [lint] [17] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/17.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=17

@adriangonz adriangonz marked this pull request as ready for review July 7, 2020 15:16
@seldondev
Copy link
Collaborator

Tue Jul 7 15:47:41 UTC 2020
The logs for [lint] [25] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/25.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=25

@seldondev
Copy link
Collaborator

Tue Jul 7 15:47:45 UTC 2020
The logs for [pr-build] [24] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/24.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=24

@seldondev
Copy link
Collaborator

Tue Jul 7 15:50:35 UTC 2020
The logs for [pr-build] [26] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/26.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=26

@seldondev
Copy link
Collaborator

Tue Jul 7 15:50:36 UTC 2020
The logs for [lint] [27] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/27.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=27

@adriangonz
Copy link
Contributor Author

/unhold

@adriangonz
Copy link
Contributor Author

/hold cancel

@seldondev
Copy link
Collaborator

Wed Jul 8 08:41:34 UTC 2020
The logs for [pr-build] [28] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/28.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=28

@seldondev
Copy link
Collaborator

Wed Jul 8 08:41:39 UTC 2020
The logs for [lint] [29] will show after the pipeline context has finished.
https://github.com/SeldonIO/seldon-core/blob/gh-pages/jenkins-x/logs/SeldonIO/seldon-core/PR-1995/29.log

impatient try
jx get build logs SeldonIO/seldon-core/PR-1995 --build=29

@seldondev seldondev merged commit 3cc1b53 into SeldonIO:master Jul 8, 2020
@seldondev
Copy link
Collaborator

failed to trigger Pull Request pipeline

  • failed to create agent
  • failed to calculate in repo config
  • failed to load trigger config for repository SeldonIO/seldon-core for ref 924ea12
  • failed to find any lighthouse configuration files in repo SeldonIO/seldon-core at sha 924ea12
  • failed to process repo SeldonIO/seldon-core refref 924ea12
  • failed to list files in directory /var/tmp/gitrepo660600678/.lighthouse
  • open /var/tmp/gitrepo660600678/.lighthouse
  • no such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate license check in CI linting pipeline
3 participants