From a7c637fcac105a23a553cb773341131e580122a0 Mon Sep 17 00:00:00 2001 From: Vassiliy Yegorov Date: Wed, 24 Aug 2022 13:06:22 +0700 Subject: [PATCH] fix --- .gitlab-ci.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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