File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : main
5+ pull_request :
6+ workflow_dispatch :
7+
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v3
17+ # When CI ran on BuildKite, we used to also run the following script to build a
18+ # Synapse docker image from scratch.
19+ # I leave it here for posterity and completeness.
20+ # - name: Prepare the Docker image for Synapse `develop`
21+ # run: test/before_test.sh
22+ - name : Setup services and launch tests
23+ run : docker-compose up --build --abort-on-container-exit
24+
25+
Original file line number Diff line number Diff line change 11# A Dockerfile used for running tests.
22# This Dockerfile should work for other plug-ins, too.
33
4- FROM matrixdotorg/synapse:latest
4+ FROM matrixdotorg/synapse:develop
55
66# Install extension.
77WORKDIR /data
Original file line number Diff line number Diff line change 44
55\r m -Rf synapse
66git clone https://github.com/matrix-org/synapse.git
7- docker build -t matrixdotorg/synapse -f synapse/docker/Dockerfile synapse
7+ DOCKER_BUILDKIT=1 docker build -t matrixdotorg/synapse -f synapse/docker/Dockerfile synapse
You can’t perform that action at this time.
0 commit comments