Comments (9)
Initial steps:
- Created http://build.fhir.org/ig/builds.json
- Created http://build.fhir.org/ig/qa.json
- These json files are rewritten by scanning the directory tree after each build
- Created https://hl7-fhir.github.io/auto-ig-builder/builds.html as a placeholder app -- in console, you can see it fetches the two json docs above and logs them
from auto-ig-builder.
@grahamegrieve can you weigh in on the best way to detect fhir version + build date? Are these both to be parsed as text from build.log? Should we consider some kind of structured output, so we're not brittle in trying to parse text output that may change over time?
from auto-ig-builder.
from auto-ig-builder.
Thanks! I'm assuming qa.json appears in output, rather than alongside the build log @grahamegrieve?
from auto-ig-builder.
from auto-ig-builder.
I see qa.json
now but it's invalid @grahamegrieve -- e.g. https://build.fhir.org/ig/HL7/HAI/qa.json is missing a comma at the end of line 8:
{
"url" : "http://hl7.org/fhir/us/hai/ImplementationGuide/3370",
"name" : "Healthcare Associated Infection Reports, FHIR Release 1 - US Realm",
"date" : "Thu, 29 Mar, 2018 09:51:40 +0000",
"errs" : "2",
"warnings" : "14",
"hints" : "0",
"version" : "3.2.0,"
"tool" : "3.2.0-13475"
}
from auto-ig-builder.
from auto-ig-builder.
Thanks! Then I'll be able to pull in all the relevant IG outputs on each build via:
$ for f in `find . -name qa.json`; do jq '. + {repo: input_filename[2:-8]}' $f; done | jq --slurp
[
{
"url": "http://hl7.org/fhir/us/hai/testrepo/3370",
"name": "Testrepo",
"date": "Thu, 29 Mar, 2018 09:51:40 +0000",
"errs": "2",
"warnings": "14",
"hints": "0",
"version": "3.2.0",
"tool": "3.2.0-13475",
"repo": "HL7/testrepo"
},
{
"url": "http://hl7.org/fhir/us/hai/ImplementationGuide/3370",
"name": "Healthcare Associated Infection Reports, FHIR Release 1 - US Realm",
"date": "Thu, 29 Mar, 2018 09:51:40 +0000",
"errs": "2",
"warnings": "14",
"hints": "0",
"version": "3.2.0",
"tool": "3.2.0-13475",
"repo": "HL7/HAI"
}
]
from auto-ig-builder.
Declaring victory! Feature requests in new issues, please :-)
from auto-ig-builder.
Related Issues (17)
- Auto build ignored HOT 5
- Document naming requirements for branches, including the fact that slashes are not allowed HOT 1
- Add ability to ignore commits from the gh-pages branch
- I want to remove fhir-org-starter-project from my GCP HOT 1
- GitLab sends via text/plain HOT 5
- Propagate failure if upload is truncated
- Is `master` branch required? HOT 1
- exempt IHE from CI purge HOT 2
- Update to non-deprecated node runtime HOT 1
- Remove container-deploy-trigger
- Lost Builds HOT 15
- Performance issues on WSL HOT 3
- Catch and report when git clone fails HOT 1
- Can't "docker build" ig-builder
- Query - is branch aware building possible? HOT 6
- Redeploy to reclaim space from deleted branches HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-ig-builder.