Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
a94967bc
Commit
a94967bc
authored
6 years ago
by
Richard van der Hoff
Browse files
Options
Downloads
Patches
Plain Diff
run the circle builds in docker containers
Docker containers spin up faster than entire VMs.
parent
b8a5b009
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.circleci/config.yml
+48
-41
48 additions, 41 deletions
.circleci/config.yml
with
48 additions
and
41 deletions
.circleci/config.yml
+
48
−
41
View file @
a94967bc
...
...
@@ -23,99 +23,106 @@ jobs:
-
run
:
docker push matrixdotorg/synapse:latest
-
run
:
docker push matrixdotorg/synapse:latest-py3
sytestpy2
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy2
working_directory
:
/src
steps
:
-
checkout
-
run
:
docker pull matrixdotorg/sytest-synapsepy2
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs matrixdotorg/sytest-synapsepy2
-
run
:
/synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
sytestpy2postgres
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy2
working_directory
:
/src
steps
:
-
checkout
-
run
:
docker pull matrixdotorg/sytest-synapsepy2
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs -e POSTGRES=1 matrixdotorg/sytest-synapsepy2
-
run
:
POSTGRES=1 /synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
sytestpy2merged
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy2
working_directory
:
/src
steps
:
-
checkout
-
run
:
bash .circleci/merge_base_branch.sh
-
run
:
docker pull matrixdotorg/sytest-synapsepy2
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs matrixdotorg/sytest-synapsepy2
-
run
:
/synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/logs
sytestpy2postgresmerged
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy2
working_directory
:
/src
steps
:
-
checkout
-
run
:
bash .circleci/merge_base_branch.sh
-
run
:
docker pull matrixdotorg/sytest-synapsepy2
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs -e POSTGRES=1 matrixdotorg/sytest-synapsepy2
-
run
:
POSTGRES=1 /synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
sytestpy3
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy3
working_directory
:
/src
steps
:
-
checkout
-
run
:
docker pull matrixdotorg/sytest-synapsepy3
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs matrixdotorg/sytest-synapsepy3
-
run
:
/synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
sytestpy3postgres
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy3
working_directory
:
/src
steps
:
-
checkout
-
run
:
docker pull matrixdotorg/sytest-synapsepy3
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs -e POSTGRES=1 matrixdotorg/sytest-synapsepy3
-
run
:
POSTGRES=1 /synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
sytestpy3merged
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy3
working_directory
:
/src
steps
:
-
checkout
-
run
:
bash .circleci/merge_base_branch.sh
-
run
:
docker pull matrixdotorg/sytest-synapsepy3
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs matrixdotorg/sytest-synapsepy3
-
run
:
/synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
sytestpy3postgresmerged
:
machine
:
true
docker
:
-
image
:
matrixdotorg/sytest-synapsepy3
working_directory
:
/src
steps
:
-
checkout
-
run
:
bash .circleci/merge_base_branch.sh
-
run
:
docker pull matrixdotorg/sytest-synapsepy3
-
run
:
docker run --rm -it -v $(pwd)\:/src -v $(pwd)/logs\:/logs -e POSTGRES=1 matrixdotorg/sytest-synapsepy3
-
run
:
POSTGRES=1 /synapse_sytest.sh
-
store_artifacts
:
path
:
~/project
/logs
path
:
/logs
destination
:
logs
-
store_test_results
:
path
:
logs
path
:
/
logs
workflows
:
version
:
2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment