Skip to content

Commit

Permalink
Follow the GitLab's renames of some features
Browse files Browse the repository at this point in the history
  • Loading branch information
gdubicki committed May 9, 2022
1 parent 8575e0b commit 9b5a37c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GitLabForm enables you to manage:
* Members (users) {add/remove user, change access level, optional enforce},
* Members (groups) {share/unshare with group, change access level, optional enforce},
* Members using LDAP Group Links (**GitLab Premium (paid) only**),
* Secret variables,
* CI/CD variables,
* Settings,

* Project:
Expand All @@ -48,16 +48,16 @@ GitLabForm enables you to manage:
* Protected branches:
* access levels (roles) allowed to push/merge/unprotect, allow force push flag,
* users/groups allowed to push/merge/unprotect, code owner approval required flag (**GitLab Premium (paid) only**),
* Deployment keys,
* Deploy keys,
* Files {add, edit or delete}, with templating based on Jinja2 (now supports custom variables!),
* Hooks,
* Members (users) {add/remove user, change access level, optional enforce},
* Members (groups) {share/unshare with group, change access level, optional enforce},
* Merge Requests approvals settings and approvers (**GitLab Premium (paid) only**),
* Pipeline schedules,
* Push Rules (**GitLab Premium (paid) only**),
* Secret variables,
* Services,
* CI/CD variables,
* Integrations,
* Settings,
* Tags {protect/unprotect},

Expand Down
14 changes: 10 additions & 4 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ projects_and_groups:
"*":
# common settings for ALL projects and ALL groups

# these are now called "Project CI/CD variables"
# keys and values here are as described at https://docs.gitlab.com/ee/api/project_level_variables.html#create-variable
secret_variables:
# this name is not actually used, it's just for you
Expand All @@ -49,6 +50,7 @@ projects_and_groups:
value: "ThisIsAVerySecretPassword"
delete: false # Set to true to delete this variable

# these are now called "Group CI/CD variables"
# keys and values here are as described at https://docs.gitlab.com/ee/api/group_level_variables.html#create-variable
group_secret_variables:
# this name is not actually used, it's just for you
Expand Down Expand Up @@ -82,13 +84,15 @@ projects_and_groups:
title: different_key_title
delete: true

# these are now called "Project CI/CD variables"
# keys and values here are as described at https://docs.gitlab.com/ee/api/project_level_variables.html#create-variable
secret_variables:
# this name is not actually used, it's just for you
a_friendly_secret_variable_name:
key: SSH_PRIVATE_KEY_BASE64
value: "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUl (...)"

# these are now called "Group CI/CD variables"
# keys and values here are as described at https://docs.gitlab.com/ee/api/group_level_variables.html#create-variable
group_secret_variables:
# this name is not actually used, it's just for you
Expand Down Expand Up @@ -245,9 +249,10 @@ projects_and_groups:
protected: true
create_access_level: maintainer

# service names are as in the endpoints described at https://docs.gitlab.com/ce/api/services.html
# hashes under those name correspond to the parameters described for given service there
# except where services are deleted with `delete: true`
# these are now called "Integrations"
# names are as in the endpoints described at https://docs.gitlab.com/ee/api/integrations.html
# hashes under those name correspond to the parameters described for a given integration there
# except where integrations are deleted with `delete: true`
services:
slack:
delete: true
Expand Down Expand Up @@ -369,8 +374,9 @@ projects_and_groups:
title: ssh_key_name_that_is_shown_in_gitlab_3
can_push: false

# these are now called "Project CI/CD variables"
secret_variables:
# CI CD variable for this project. Variables can be scoped to an "environment".
# Variables can be scoped to an "environment".
# Scoping to environment also allows using the same "key" name for multiple variables.
# This can simplify CI Config file because the appropriate variable will be exposed
# by GitLab to the job that is targetting a given environment. If the same "key" name
Expand Down

0 comments on commit 9b5a37c

Please sign in to comment.