mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Test postgres (ci)
Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
db8e2458f9
commit
78e7bcd83c
1 changed files with 5 additions and 3 deletions
|
@ -14,7 +14,7 @@ variables:
|
||||||
CURRENT_DIR: "$(pwd)"
|
CURRENT_DIR: "$(pwd)"
|
||||||
LOG_CONFIG: logging.test.conf
|
LOG_CONFIG: logging.test.conf
|
||||||
DEV_FQDN: aurweb-$CI_COMMIT_REF_SLUG.sandbox.archlinux.page
|
DEV_FQDN: aurweb-$CI_COMMIT_REF_SLUG.sandbox.archlinux.page
|
||||||
INFRASTRUCTURE_REPO: https://gitlab.archlinux.org/archlinux/infrastructure.git
|
INFRASTRUCTURE_REPO: https://gitlab.archlinux.org/moson/infrastructure.git
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stage: .pre
|
stage: .pre
|
||||||
|
@ -111,6 +111,7 @@ provision_review:
|
||||||
# Clone infra repo
|
# Clone infra repo
|
||||||
- git clone $INFRASTRUCTURE_REPO
|
- git clone $INFRASTRUCTURE_REPO
|
||||||
- cd infrastructure
|
- cd infrastructure
|
||||||
|
- git checkout aurweb-postgres
|
||||||
# Remove vault files
|
# Remove vault files
|
||||||
- rm $(git grep -l 'ANSIBLE_VAULT;1.1;AES256$')
|
- rm $(git grep -l 'ANSIBLE_VAULT;1.1;AES256$')
|
||||||
# Remove vault config
|
# Remove vault config
|
||||||
|
@ -129,14 +130,15 @@ provision_review:
|
||||||
-e "aurdev_fqdn=$DEV_FQDN" \
|
-e "aurdev_fqdn=$DEV_FQDN" \
|
||||||
-e "aurweb_repository=$CI_REPOSITORY_URL" \
|
-e "aurweb_repository=$CI_REPOSITORY_URL" \
|
||||||
-e "aurweb_version=$CI_COMMIT_SHA" \
|
-e "aurweb_version=$CI_COMMIT_SHA" \
|
||||||
-e "{\"vault_mariadb_users\":{\"root\":\"aur\"}}" \
|
-e "{\"vault_postgres_users\":{\"postgres\":\"aur\"}}" \
|
||||||
-e "vault_aurweb_db_password=aur" \
|
-e "vault_aurweb_db_password=aur" \
|
||||||
-e "vault_aurweb_gitlab_instance=https://does.not.exist" \
|
-e "vault_aurweb_gitlab_instance=https://does.not.exist" \
|
||||||
-e "vault_aurweb_error_project=set-me" \
|
-e "vault_aurweb_error_project=set-me" \
|
||||||
-e "vault_aurweb_error_token=set-me" \
|
-e "vault_aurweb_error_token=set-me" \
|
||||||
-e "vault_aurweb_secret=aur" \
|
-e "vault_aurweb_secret=aur" \
|
||||||
-e "vault_goaurrpc_metrics_token=aur" \
|
-e "vault_goaurrpc_metrics_token=aur" \
|
||||||
-e '{"root_additional_keys": ["moson.pub", "aurweb-dev.pub"]}'
|
-e '{"root_additional_keys": ["moson.pub", "aurweb-dev.pub"]}' \
|
||||||
|
-e "maintenance=true"
|
||||||
environment:
|
environment:
|
||||||
name: review/$CI_COMMIT_REF_NAME
|
name: review/$CI_COMMIT_REF_NAME
|
||||||
action: access
|
action: access
|
||||||
|
|
Loading…
Add table
Reference in a new issue