Skip to content

Commit

Permalink
Cut out legacy build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Apr 5, 2021
1 parent 9d030ca commit 93f83ac
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 1,152 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- label: ":books: Build the legacy spec"
- label: ":snake: Build swagger definitions for matrix.org"
command:
# Install the python dependencies necessary to build the spec
- python3 -m venv env && . env/bin/activate
Expand Down
26 changes: 0 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
genlegacydoc: &genlegacydoc
name: Generate the legacy docs
command: |
source /env/bin/activate
scripts/gendoc.py
gendoc: &gendoc
name: Generate the docs
# Note: Node dependencies are required for the hugo build.
Expand Down Expand Up @@ -54,12 +48,6 @@ buildspeculator: &buildspeculator
cd scripts/speculator
go build -v
buildcontinuserv: &buildcontinuserv
name: Build Continuserv
command: |
cd scripts/continuserv
go build -v
version: 2
jobs:
validate-docs:
Expand All @@ -74,17 +62,6 @@ jobs:
steps:
- checkout
- run: *checkexamples
build-legacy-docs:
docker:
- image: uhoreg/matrix-doc-build
steps:
- checkout
- run: *genlegacydoc
- store_artifacts:
path: scripts/gen
- run:
name: "Legacy doc build is available at:"
command: DOCS_URL="${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/scripts/gen/index.html"; echo $DOCS_URL
build-docs:
docker:
- image: alpine
Expand Down Expand Up @@ -121,16 +98,13 @@ jobs:
name: Install Dependencies
command: |
go get -v github.com/hashicorp/golang-lru
go get -v gopkg.in/fsnotify/fsnotify.v1
- run: *buildcontinuserv
- run: *buildspeculator

workflows:
version: 2

build-spec:
jobs:
- build-legacy-docs
- build-docs
- build-swagger
- check-docs
Expand Down
3 changes: 0 additions & 3 deletions scripts/continuserv/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions scripts/continuserv/index.html

This file was deleted.

274 changes: 0 additions & 274 deletions scripts/continuserv/main.go

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/contrib/shell.nix

This file was deleted.

Loading

0 comments on commit 93f83ac

Please sign in to comment.