Skip to content

Commit de09852

Browse files
committed
Add a connectivity check for CircleCI
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
1 parent 74f6cfc commit de09852

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ parameters:
7575
type: "boolean"
7676

7777
workflows:
78+
status:
79+
jobs:
80+
- "connectivity":
81+
{}
82+
7883
ci:
7984
when: "<< pipeline.parameters.run-tests >>"
8085
jobs:
@@ -129,6 +134,21 @@ workflows:
129134
when: "<< pipeline.parameters.build-images >>"
130135

131136
jobs:
137+
connectivity:
138+
docker:
139+
- image: "tahoelafsci/debian:11-py3.9"
140+
shell: /bin/bash -exo pipefail
141+
environment:
142+
CIRCLE_REPOSITORY_URL: "https://github.com/LeastAuthority/tahoe-lafs.git"
143+
144+
steps:
145+
- run:
146+
name: "Print environment variables"
147+
command: |
148+
env | sort
149+
- checkout:
150+
{}
151+
132152
finish-coverage-report:
133153
docker:
134154
- <<: *DOCKERHUB_AUTH

0 commit comments

Comments
 (0)