Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Mount the sytest working copy read-only
Browse files Browse the repository at this point in the history
... to stop people doing things that will make it crap over my working copy

cf matrix-org/sytest#748
  • Loading branch information
richvdh committed Nov 25, 2019
1 parent 63ca7bc commit 9450fe7
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions sytest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ steps:
shell: ["-x", "-c"]
init: false
mount-buildkite-agent: false
volumes: ["./logs:/logs"]
# we mount the working copy read-only to make sure that it doesn't
# modify local files (cf https://github.com/matrix-org/sytest/pull/748)
mount-checkout: false
volumes:
- "./logs:/logs"
- ".:/workdir:ro"
- artifacts#v1.2.0:
upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
- matrix-org/annotate:
Expand Down Expand Up @@ -50,7 +55,10 @@ steps:
shell: ["-x", "-c"]
init: false
mount-buildkite-agent: false
volumes: ["./logs:/logs"]
mount-checkout: false
volumes:
- "./logs:/logs"
- ".:/workdir:ro"
- artifacts#v1.2.0:
upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
- matrix-org/annotate:
Expand Down Expand Up @@ -86,7 +94,10 @@ steps:
shell: ["-x", "-c"]
init: false
mount-buildkite-agent: false
volumes: ["./logs:/logs"]
mount-checkout: false
volumes:
- "./logs:/logs"
- ".:/workdir:ro"
- artifacts#v1.2.0:
upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
- matrix-org/annotate:
Expand Down Expand Up @@ -119,7 +130,10 @@ steps:
shell: ["-x", "-c"]
init: false
mount-buildkite-agent: false
volumes: ["./logs:/logs"]
mount-checkout: false
volumes:
- "./logs:/logs"
- ".:/workdir:ro"
- artifacts#v1.2.0:
upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
- matrix-org/annotate:
Expand Down Expand Up @@ -155,7 +169,10 @@ steps:
shell: ["-x", "-c"]
init: false
mount-buildkite-agent: false
volumes: ["./logs:/logs"]
mount-checkout: false
volumes:
- "./logs:/logs"
- ".:/workdir:ro"
- artifacts#v1.2.0:
upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
- matrix-org/annotate:
Expand Down Expand Up @@ -189,7 +206,10 @@ steps:
init: false
debug: true
mount-buildkite-agent: false
volumes: ["./logs:/logs"]
mount-checkout: false
volumes:
- "./logs:/logs"
- ".:/workdir:ro"
- artifacts#v1.2.0:
upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
soft_fail:
Expand Down

0 comments on commit 9450fe7

Please sign in to comment.