Skip to content

Commit

Permalink
Add a connectivity check for CircleCI
Browse files Browse the repository at this point in the history
Signed-off-by: Benoit Donneaux <[email protected]>
  • Loading branch information
btlogy committed Nov 28, 2024
1 parent 74f6cfc commit 4761394
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ parameters:
type: "boolean"

workflows:
status:
jobs:
- "connectivity":
{}

ci:
when: "<< pipeline.parameters.run-tests >>"
jobs:
Expand Down Expand Up @@ -129,6 +134,27 @@ workflows:
when: "<< pipeline.parameters.build-images >>"

jobs:
connectivity:
docker:
- image: "tahoelafsci/debian:11-py3.9"
# shell: /bin/bash -exo pipefail
# environment:
# CIRCLE_REPOSITORY_URL: "https://github.com/LeastAuthority/tahoe-lafs.git"

steps:
# - run:
# name: "Print environment variables"
# command: |
# env | sort
- checkout:
{}
- run:
name: "SSH key used to checkout"
command: |
ssh-add -L
cat ~/.ssh/id_rsa.pub
ssh-keygen -lf ~/.ssh/id_rsa.pub
finish-coverage-report:
docker:
- <<: *DOCKERHUB_AUTH
Expand Down

0 comments on commit 4761394

Please sign in to comment.