dataset-formation/seed/forgejo-formation/dictionaries/32_forgejo.yml

77 lines
1.6 KiB
YAML
Raw Normal View History

2023-02-14 10:39:48 +01:00
version: '0.10'
2023-03-02 21:41:57 +01:00
services:
- service:
- name: oauth2-client
disabled: true
2023-02-14 10:39:48 +01:00
variables:
- family:
- name: network
variables:
- variable:
- name: incoming_ports
redefine: true
value:
- text: 3333
- name: forgejo
variables:
- variable:
- name: forgejo_user
type: unix_user
description: Utilisateur de type admin
mandatory: true
- name: forgejo_email
type: mail
description: Courriel de l'admin
mandatory: true
- name: forgejo_password
type: password
hidden: true
mandatory: true
2023-02-14 13:56:28 +01:00
- name: forgejo_site
hidden: true
2023-03-02 21:41:57 +01:00
provider: SiteRepo
2023-02-14 13:56:28 +01:00
mandatory: true
- name: forgejo_site_user
type: unix_user
hidden: true
mandatory: true
2023-03-02 21:41:57 +01:00
provider: SiteRepo:username
2023-02-14 13:56:28 +01:00
- name: forgejo_site_email
type: mail
hidden: true
mandatory: true
2023-03-02 21:41:57 +01:00
provider: SiteRepo:email
2023-02-14 13:56:28 +01:00
- name: forgejo_site_password
type: password
hidden: true
mandatory: true
2023-03-02 21:41:57 +01:00
provider: SiteRepo:password
- name: oauth2_client
disabled: true
2023-02-14 10:39:48 +01:00
constraints:
- fill:
- name: get_password
param:
- type: variable
name: server_name
text: domain_name_eth0
- type: variable
name: username
text: forgejo_user
- name: description
text: forgejo
- name: type
text: cleartext
- name: hide
type: variable
text: hide_secret
target:
- text: forgejo_password
2023-02-14 13:56:28 +01:00
- check:
- name: valid_not_equal
param:
- type: variable
text: forgejo_email
target:
- text: forgejo_site_email