Commit e261be20 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .gitlab-ci.yml

	modified:   bin/make_images
parent 9139b616
Pipeline #7398 failed with stages
in 11 minutes and 16 seconds
......@@ -2,11 +2,11 @@ image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
workflow:
rules:
- if: '($CI_SERVER_HOST == "eicweb.phy.anl.gov") && ($CI_PIPELINE_SOURCE == "merge_request_event")'
- if: '($CI_SERVER_HOST == "eicweb.phy.anl.gov") && ($CI_PIPELINE_SOURCE == "web")'
- if: '($CI_SERVER_HOST == "eicweb.phy.anl.gov") && ($CI_PIPELINE_SOURCE == "webide")'
- if: '($CI_SERVER_HOST == "eicweb.phy.anl.gov") && ($CI_COMMIT_BRANCH == "master")'
- if: '($CI_SERVER_HOST == "eicweb.phy.anl.gov") && $CI_COMMIT_TAG'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "web"'
- if: '$CI_PIPELINE_SOURCE == "webide"'
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_TAG'
default:
before_script:
......@@ -30,6 +30,8 @@ stages:
env:
stage: config
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
script:
- export JUGGLER_DETECTOR="topside"
- |
......@@ -47,6 +49,8 @@ env:
compile:
stage: build
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
- ["env"]
script:
......@@ -54,6 +58,8 @@ compile:
.views:
stage: docs
rules:
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
needs:
- ["compile"]
artifacts:
......@@ -93,7 +99,7 @@ report:
- doc/
script:
- pip3 install jinja2 && ls -lrth
- ./bin/make_images > doc/dawn_views.md
- ./bin/make_images
overlap_check:
......
......@@ -15,8 +15,14 @@ base_url = "https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master
images = glob.glob("images/*.png")
template = env.get_template('detector_views.md')
print(template.render(base_url=base_url, images=images))
res = template.render(base_url=base_url, images=images)
#print(template.render(base_url=base_url, images=images))
with open('doc/dawn_views.md','w') as out:
out.write(res + '\n')
views = env.get_template('views.html')
print(template.render(base_url=base_url, images=images))
views_template = env.get_template('views.html')
#print(template.render(base_url=base_url, images=images))
res2 = views_template.render(base_url=base_url, images=images)
with open('doc/views.html','w') as out:
out.write(res2 + '\n')
<!DOCTYPE html>
<html>
<head>
<title>TOPSiDE</title>
</head>
<body>
<h1>TOPSiDE</h1>
<a href="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view1.pdf?job=report">
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view1.png?job=report" width="600px" />
</a>
<br />
<a href="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2a.pdf?job=report">
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2a.png?job=report" width="400px" />
</a>
<a href="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2e.pdf?job=report">
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2e.png?job=report" width="400px" />
</a>
<br />
<a href="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view11.pdf?job=report">
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view11.png?job=report" width="600px" />
</a>
<br />
<a href="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a.pdf?job=report">
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a.png?job=report" width="600px" />
</a>
<h2>TOPSiDE Reference</h2>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view11.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view11a.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0050.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0100.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0150.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0200.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0250.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0300.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0350.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0400.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0450.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0500.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0550.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0600.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0650.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0700.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0750.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0800.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0850.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0900.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a0950.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1000.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1050.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1100.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1150.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1200.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1250.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1300.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1350.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1400.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1450.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1500.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1550.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1600.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1650.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1700.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1750.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1800.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1850.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1900.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a1950.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12a2000.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view12b.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view13b.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view1.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view1_ev1.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2a.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2b.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2c.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2d.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2e.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2_ev1a.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2_ev1b.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2_ev1c.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2_ev1d.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view2_ev1e.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view3.png?job=report" width="400px" />
<br \>
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view3_ev1.png?job=report" width="400px" />
<br \>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment