38 lines
755 B
YAML
38 lines
755 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: harbor
|
|
|
|
steps:
|
|
- name: Check syntax
|
|
image: plugins/ansible:1
|
|
# environment:
|
|
# additional_var:
|
|
# from_secret: additional_var
|
|
# another_var: foo
|
|
settings:
|
|
playbook: playbook.yml
|
|
inventory: inventory.yml
|
|
syntax_check: true
|
|
|
|
- name: Apply playbook
|
|
image: plugins/ansible:1
|
|
# environment:
|
|
# additional_var:
|
|
# from_secret: additional_var
|
|
# another_var: foo
|
|
volumes:
|
|
- name: certificates
|
|
path: /certificates
|
|
settings:
|
|
playbook: playbook.yml
|
|
inventory: inventory.yml
|
|
private_key:
|
|
from_secret: ssh_privatekey
|
|
# vault_password:
|
|
# from_secret: ansible_vault_password
|
|
|
|
volumes:
|
|
- name: certificates
|
|
claim:
|
|
name: flexvolsmb-drone-certs
|