Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6816)

Issue 6922046: Add ingest pipeline for charm jenkins results.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by hazmat
Modified:
11 years, 4 months ago
Reviewers:
rharding, mp+139200
Visibility:
Public.

Description

Add ingest pipeline for charm jenkins results. This merely stores any results and artifacts for a charm jenkins test. Saving display for another branch due to trunk changes and buildout issues which need resolving separately. https://code.launchpad.net/~hazmat/charmworld/charm-test-results/+merge/139200 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add ingest pipeline for charm jenkins results. #

Patch Set 3 : Add ingest pipeline for charm jenkins results. #

Patch Set 4 : Add ingest pipeline for charm jenkins results. #

Patch Set 5 : Add ingest pipeline for charm jenkins results. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -63 lines) Patch
M .bzrignore View 1 2 3 4 1 chunk +10 lines, -10 lines 0 comments Download
D AUTHORS.txt View 1 chunk +0 lines, -3 lines 0 comments Download
CHANGES.txt View 1 chunk +0 lines, -4 lines 0 comments Download
D CHANGES.txt View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
buildout.cfg View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M charmworld/jobs/config.py View 1 2 3 4 2 chunks +11 lines, -2 lines 0 comments Download
A charmworld/jobs/jenkins.py View 1 2 3 4 1 chunk +154 lines, -0 lines 0 comments Download
A charmworld/jobs/tests/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
A charmworld/jobs/tests/data/precise-openstack-charm-mysql View 1 chunk +59 lines, -0 lines 0 comments Download
A charmworld/jobs/tests/test_jenkins.py View 1 chunk +133 lines, -0 lines 0 comments Download
M scripts/ingest View 1 2 chunks +25 lines, -3 lines 0 comments Download
M scripts/reset-db View 1 2 3 4 1 chunk +13 lines, -41 lines 0 comments Download
versions.cfg View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5
hazmat
Please take a look.
11 years, 4 months ago (2012-12-11 13:33:32 UTC) #1
hazmat
Please take a look.
11 years, 4 months ago (2012-12-11 13:54:14 UTC) #2
rharding
https://codereview.appspot.com/6922046/diff/1/charmworld/jobs/jenkins.py File charmworld/jobs/jenkins.py (right): https://codereview.appspot.com/6922046/diff/1/charmworld/jobs/jenkins.py#newcode51 charmworld/jobs/jenkins.py:51: charm_result_url = JENKINS_QA_URL.format( Since the URL string is blind, ...
11 years, 4 months ago (2012-12-11 14:00:22 UTC) #3
rharding
bah, forgot the lgtm aside from the comments.
11 years, 4 months ago (2012-12-11 14:06:02 UTC) #4
hazmat
11 years, 4 months ago (2012-12-11 14:51:30 UTC) #5
On 2012/12/11 14:00:22, rharding wrote:
> https://codereview.appspot.com/6922046/diff/1/charmworld/jobs/jenkins.py
> File charmworld/jobs/jenkins.py (right):
> 
>
https://codereview.appspot.com/6922046/diff/1/charmworld/jobs/jenkins.py#newc...
> charmworld/jobs/jenkins.py:51: charm_result_url = JENKINS_QA_URL.format(
> Since the URL string is blind, defined elsewhere, could it be done with named
> properties instead so that it's easier to get the right values in without
mixing
> order on accident?

sounds good.

> 
> https://codereview.appspot.com/6922046/diff/1/scripts/ingest
> File scripts/ingest (right):
> 
> https://codereview.appspot.com/6922046/diff/1/scripts/ingest#newcode6
> scripts/ingest:6: PYTHON_BIN=${PYTHON_BIN:=python}
> I think this was tweaked by Aaron's work so that it pointed at the buildout
> bin/py file instead?
> 

just merged aaron's work, which actually is based on dev-ingest setting the
shell variable which this script respects.

 https://codereview.appspot.com/6922046/diff/1/scripts/ingest#newcode43
> scripts/ingest:43: #$PROJECT_DIR/scripts/clear-cache
> Did you mean to not clear the cache? Was this just debugging and should be
> uncommented?

The cache clearing script is specific to the prod setup (nginx service) which we
don't really account for in the buildout atm, so i was just disabling till we do
so.


> 
> https://codereview.appspot.com/6922046/diff/1/scripts/reset-db
> File scripts/reset-db (right):
> 
> https://codereview.appspot.com/6922046/diff/1/scripts/reset-db#newcode34
> scripts/reset-db:34: #log.info("Clearing charm directories @ %s",
> config.CHARM_DIR)
> Same here, is this meant to be left commented out?

replaced script with the shell script version that was under discussion that
doesn't attempt to clear out the charm directories.


Thanks for the review.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b