fix: removed old secrets
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-10-07 12:35:22 +01:00
parent 2a0788b3ff
commit ad7601e7a1
2 changed files with 0 additions and 36 deletions

View File

@ -83,32 +83,16 @@ steps:
- mail_service
- mail_user
- commento_origin
- ghost_mail_password
- ghost_mail_service
- ghost_mail_user
- ghost_mysql_root_password
- mysql_root_password
script:
- rm -f env-ghost
- "echo \"export MAIL_SERVICE='$${MAIL_SERVICE}'\" >> env-ghost # \"mail-service\""
- "echo \"export MAIL_USER='$${MAIL_USER}'\" >> env-ghost # \"mail-user\""
- "echo \"export COMMENTO_ORIGIN='$${COMMENTO_ORIGIN}'\" >> env-ghost # \"commento-origin\""
- "echo \"export GHOST_MAIL_PASSWORD='$${GHOST_MAIL_PASSWORD}'\" >> env-ghost # \"ghost-mail-password\""
- "echo \"export GHOST_MAIL_SERVICE='$${GHOST_MAIL_SERVICE}'\" >> env-ghost # \"ghost-mail-service\""
- "echo \"export GHOST_MAIL_USER='$${GHOST_MAIL_USER}'\" >> env-ghost # \"ghost-mail-user\""
- "echo \"export GHOST_MYSQL_ROOT_PASSWORD='$${GHOST_MYSQL_ROOT_PASSWORD}'\" >> env-ghost # \"ghost-mysql-root-password\""
- "echo \"export MYSQL_ROOT_PASSWORD='$${MYSQL_ROOT_PASSWORD}'\" >> env-ghost # \"mysql-root-password\""
environment:
COMMENTO_ORIGIN:
from_secret: commento-origin
GHOST_MAIL_PASSWORD:
from_secret: ghost-mail-password
GHOST_MAIL_SERVICE:
from_secret: ghost-mail-service
GHOST_MAIL_USER:
from_secret: ghost-mail-user
GHOST_MYSQL_ROOT_PASSWORD:
from_secret: ghost-mysql-root-password
MAIL_SERVICE:
from_secret: mail-service
MAIL_USER:
@ -157,20 +141,12 @@ steps:
- mail_service
- mail_user
- commento_origin
- ghost_mail_password
- ghost_mail_service
- ghost_mail_user
- ghost_mysql_root_password
- mysql_root_password
script:
- export MYSQL_ROOT_PASSWORD=$${MYSQL_ROOT_PASSWORD}
- export MAIL_SERVICE=$${MAIL_SERVICE}
- export MAIL_USER=$${MAIL_USER}
- export COMMENTO_ORIGIN=$${COMMENTO_ORIGIN}
- export GHOST_MAIL_PASSWORD=$${GHOST_MAIL_PASSWORD}
- export GHOST_MAIL_SERVICE=$${GHOST_MAIL_SERVICE}
- export GHOST_MAIL_USER=$${GHOST_MAIL_USER}
- export GHOST_MYSQL_ROOT_PASSWORD=$${GHOST_MYSQL_ROOT_PASSWORD}
- export DOMAIN=$${DOMAIN}
- export REGISTRY_DOMAIN=$${REGISTRY_DOMAIN}
- export REGISTRY_PORT=$${REGISTRY_PORT}
@ -183,14 +159,6 @@ steps:
environment:
COMMENTO_ORIGIN:
from_secret: commento-origin
GHOST_MAIL_PASSWORD:
from_secret: ghost-mail-password
GHOST_MAIL_SERVICE:
from_secret: ghost-mail-service
GHOST_MAIL_USER:
from_secret: ghost-mail-user
GHOST_MYSQL_ROOT_PASSWORD:
from_secret: ghost-mysql-root-password
MAIL_SERVICE:
from_secret: mail-service
MAIL_USER:

View File

@ -2,8 +2,4 @@
'mail-service',
'mail-user',
'commento-origin',
'ghost-mail-password',
'ghost-mail-service',
'ghost-mail-user',
'ghost-mysql-root-password'
]