-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into release/v2.0.1
- Loading branch information
Showing
12 changed files
with
3,116 additions
and
2,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"apiSpecPath": "openapi/openapi.yaml" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,15 @@ | ||
dist: xenial | ||
language: java | ||
jdk: openjdk8 | ||
|
||
# looks like papa32 plugin 1.5.0 is no longer compatible with gradle 5, the other option is to try running without it | ||
before_install: | ||
- wget https://services.gradle.org/distributions/gradle-4.10.2-bin.zip | ||
- unzip -qq gradle-4.10.2-bin.zip | ||
- export GRADLE_HOME=$PWD/gradle-4.10.2 | ||
- export PATH=$GRADLE_HOME/bin:$PATH | ||
- gradle -v | ||
language: node_js | ||
node_js: | ||
- "12" | ||
|
||
jobs: | ||
include: | ||
- stage: check-links | ||
install: npm i -g markdown-link-check | ||
script: markdown-link-check ./README.md | ||
- stage: commit-OpenAPI | ||
install: npm i -g swagger2openapi | ||
script: | ||
- swagger2openapi openapi/ga4gh-tool-discovery.yaml -o openapi/openapi.yaml | ||
after_success: | ||
- git checkout -B ${TRAVIS_BRANCH} | ||
- bash scripts/openAPI3.sh | ||
- stage: build_pages | ||
script: | ||
- "gradle wrapper" | ||
- "chmod +x gradlew" | ||
- "./gradlew installSwagger buildSwagger asciidoctor" | ||
install: npm ci | ||
script: npx gh-openapi-docs | ||
after_success: | ||
- bash scripts/update-ghpages.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
## Instruction for modifying the TRS | ||
|
||
To make changes to the TRS, join the GA4GH organization or ask to join this repository as a collaborator. Then in your branch, modify: | ||
- The swagger yaml file (`ga4gh-tool-discovery.yaml`) with a Swagger 2 definition of the changes. | ||
- This swagger yaml file will be used in the validation server. | ||
- An OpenAPI yaml file (`openapi.yaml`) with an OpenAPI 3 definition of the changes will be auto-generated by swagger2openapi and checked in by an automated TravisCI build | ||
- The openapi.yaml file with an OpenAPI 3 definition of the changes. | ||
- This openapi yaml file will be used in the TRS validation server. | ||
|
||
The v1 directory should not be modified. It provides backward compatibility support for TRS servers/clients. |
Oops, something went wrong.