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

76 lines
1.6 KiB
YAML

version: '0.10'
services:
- service:
- name: oauth2-client
disabled: true
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
- name: forgejo_site
hidden: true
provider: SiteRepo
mandatory: true
- name: forgejo_site_user
type: unix_user
hidden: true
mandatory: true
provider: SiteRepo:username
- name: forgejo_site_email
type: mail
hidden: true
mandatory: true
provider: SiteRepo:email
- name: forgejo_site_password
type: password
hidden: true
mandatory: true
provider: SiteRepo:password
- name: oauth2_client
disabled: true
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
- check:
- name: valid_not_equal
param:
- type: variable
text: forgejo_email
target:
- text: forgejo_site_email