innernet-playbook/.drone.yml
2023-02-14 07:58:01 +01:00

123 lines
2.5 KiB
YAML

---
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
# sync the documentation with docs.fsfe.org
kind: pipeline
name: syncdocs
steps:
- name: push-to-docs
image: git.fsfe.org/fsfe-system-hackers/docs-centralizer:latest
environment:
REPO_NAME: innernet-playbook
SSH_PRIVATE_KEY:
from_secret: docs_bot_private_key
when:
branch:
- master
event:
- push
# Define the docker host ("drone runner node") on which this will be executed
node:
cont: test
---
kind: pipeline
type: docker
name: test LDAP connection
clone:
disable: true
node:
cont: test
steps:
- name: test LDAP connection from meitner
pull: if-not-exists
image: bitnami/openldap:2.4
environment:
LDAP_PW_FRED:
from_secret: ldap_pw_fred
commands:
- ldapwhoami -vvv -h 10.200.64.9 -p 389 -D uid=fred.bloggs,ou=fellowship,dc=fsfe,dc=org -x -w $LDAP_PW_FRED
---
kind: pipeline
type: docker
name: test from cont.test (meitner)
clone:
disable: true
node:
cont: test
steps:
- name: test innernet connections from meitner
pull: if-not-exists
image: nixery.dev/shell/fping
commands:
- fping 10.200.64.1 10.200.64.2 10.200.64.3 10.200.64.4 10.200.64.5 10.200.64.7 10.200.64.8 10.200.64.9 10.200.64.11
---
kind: pipeline
type: docker
name: test from cont1.noris
clone:
disable: true
node:
cont1: noris
steps:
- name: test innernet connections from cont1.noris
pull: if-not-exists
image: nixery.dev/shell/fping
commands:
- fping 10.200.64.1 10.200.64.3 10.200.64.4 10.200.64.5 10.200.64.6 10.200.64.7 10.200.64.8 10.200.64.9 10.200.64.11
---
kind: pipeline
type: docker
name: test from cont2.noris
clone:
disable: true
node:
cont2: noris
steps:
- name: test innernet connections from cont2.noris
pull: if-not-exists
image: nixery.dev/shell/fping
commands:
- fping 10.200.64.1 10.200.64.2 10.200.64.4 10.200.64.5 10.200.64.6 10.200.64.7 10.200.64.8 10.200.64.9 10.200.64.11
---
kind: pipeline
type: docker
name: test from cont1.plutex
clone:
disable: true
node:
cont1: plutex
steps:
- name: test innernet connections from cont1.plutex
pull: if-not-exists
image: nixery.dev/shell/fping
commands:
- fping 10.200.64.1 10.200.64.2 10.200.64.3 10.200.64.5 10.200.64.6 10.200.64.7 10.200.64.8 10.200.64.9 10.200.64.11
---
kind: signature
hmac: 9cd58823bf1c33e00bf4b3aa90969f201a2ace3a8d9ad8fae72cd294e039243c
...