Remove defunct swagger Circle CI build (#3416)
* Remove defunct swagger Circle CI build * Update config.yml
This commit is contained in:
parent
84ccbeacca
commit
6226a47543
1 changed files with 0 additions and 26 deletions
|
@ -16,19 +16,6 @@ genswagger: &genswagger
|
||||||
scripts/check-swagger-sources.py
|
scripts/check-swagger-sources.py
|
||||||
scripts/dump-swagger.py
|
scripts/dump-swagger.py
|
||||||
|
|
||||||
buildswaggerui: &buildswaggerui
|
|
||||||
name: Build Swagger UI
|
|
||||||
command: |
|
|
||||||
ls scripts/
|
|
||||||
mkdir -p api/client-server
|
|
||||||
git clone https://github.com/matrix-org/swagger-ui swagger-ui
|
|
||||||
cp -r swagger-ui/dist/* api/client-server/
|
|
||||||
mkdir -p api/client-server/json
|
|
||||||
cp scripts/swagger/api-docs.json api/client-server/json/
|
|
||||||
wget https://raw.githubusercontent.com/matrix-org/matrix.org/master/content/swagger.css -O api/client-server/swagger.css
|
|
||||||
wget https://raw.githubusercontent.com/matrix-org/matrix.org/master/scripts/swagger-ui.patch
|
|
||||||
patch api/client-server/index.html swagger-ui.patch
|
|
||||||
|
|
||||||
checkexamples: &checkexamples
|
checkexamples: &checkexamples
|
||||||
name: Check Event Examples
|
name: Check Event Examples
|
||||||
command: |
|
command: |
|
||||||
|
@ -77,18 +64,6 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: "Doc build is available at:"
|
name: "Doc build is available at:"
|
||||||
command: DOCS_URL="${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/public/index.html"; echo $DOCS_URL
|
command: DOCS_URL="${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/public/index.html"; echo $DOCS_URL
|
||||||
build-swagger:
|
|
||||||
docker:
|
|
||||||
- image: uhoreg/matrix-doc-build
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: *genswagger
|
|
||||||
- run: *buildswaggerui
|
|
||||||
- store_artifacts:
|
|
||||||
path: api/client-server/
|
|
||||||
- run:
|
|
||||||
name: "Swagger UI is available at:"
|
|
||||||
command: DOCS_URL="${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/api/client-server/index.html"; echo $DOCS_URL
|
|
||||||
build-dev-scripts:
|
build-dev-scripts:
|
||||||
docker:
|
docker:
|
||||||
- image: golang:1.10
|
- image: golang:1.10
|
||||||
|
@ -106,7 +81,6 @@ workflows:
|
||||||
build-spec:
|
build-spec:
|
||||||
jobs:
|
jobs:
|
||||||
- build-docs
|
- build-docs
|
||||||
- build-swagger
|
|
||||||
- check-docs
|
- check-docs
|
||||||
- validate-docs
|
- validate-docs
|
||||||
- build-dev-scripts
|
- build-dev-scripts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue