diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1e24ff..3ffb28e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,14 +9,16 @@ read_secrets: - echo $PASSWORD when: manual -read_secrets_native: - variables: - VAULT_ADDR: http://vault.bildme.ru - VAULT_AUTH_ROLE: gitlabci-role - secrets: - PASSWORD: - vault: secret/gitlab/db1 - file: false - script: - - echo $PASSWORD - when: manual + +## GitLab Premium supports read access to a HashiCorp Vault, and enables you to use Vault secrets in a CI job. +# read_secrets_native: +# variables: +# VAULT_ADDR: http://vault.bildme.ru +# VAULT_AUTH_ROLE: gitlabci-role +# secrets: +# PASSWORD: +# vault: secret/gitlab/db1 +# file: false +# script: +# - echo $PASSWORD +# when: manual