docker-healthchecks/.drone.yml

64 lines
2.2 KiB
YAML
Raw Normal View History

2021-02-17 23:52:03 -06:00
---
kind: secret
name: local_username
2021-02-17 23:52:03 -06:00
get:
path: local
2021-02-18 00:30:50 -06:00
name: username
---
kind: secret
name: local_password
2021-02-18 00:30:50 -06:00
get:
path: local
2021-02-18 00:30:50 -06:00
name: password
2021-02-17 23:52:03 -06:00
---
kind: secret
name: attic_url
get:
path: attic
name: url
---
kind: secret
name: attic_key
get:
path: attic
name: key
---
2021-02-17 23:52:03 -06:00
kind: pipeline
type: kubernetes
name: build
steps:
2023-04-15 22:30:12 -05:00
- name: nixos
image: docker.io/jcollie/nixos-runner:latest
pull: always
commands:
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#webserver
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-webserver
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#smtpd
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-smtpd
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#sendalerts
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-sendalerts
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#sendreports
- push-container result --repository network/healthchecks-sendreports
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#maintenance
2023-04-15 23:33:12 -05:00
- push-container result --repository network/healthchecks-maintenance
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#migrate
2023-04-16 22:39:23 -05:00
- push-container result --repository network/healthchecks-migrate
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#static
2023-05-01 18:36:48 -05:00
- push-container result --repository network/healthchecks-static
2021-02-17 23:52:03 -06:00
settings:
2021-10-13 11:46:47 -05:00
registry: r.ocj.io
2021-08-06 23:39:37 -05:00
username:
from_secret: local_username
2021-02-18 00:30:50 -06:00
password:
from_secret: local_password
attic_url:
from_secret: attic_url
attic_key:
from_secret: attic_key
2021-11-10 12:22:54 -06:00
- name: notify
image: plugins/webhook
2023-04-15 22:30:12 -05:00
failure: ignore
2021-11-10 12:22:54 -06:00
settings:
urls:
2023-04-16 10:02:00 -05:00
- http://webhook-receiver.flux-system.svc/hook/edb4b3e16a177e035bc595a5be33c3b04b51145c7d802bddf05f27486e1dbd4d