Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
SocialGouv
fabrique
carnets
Commits
63da00bf
Unverified
Commit
63da00bf
authored
May 27, 2021
by
Gary van Woerkens
Committed by
GitHub
May 27, 2021
Browse files
fix: Move to the new cluster. (#284)
parent
017486e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
92 deletions
+1
-92
.gitlab-ci.yml
.gitlab-ci.yml
+1
-92
.socialgouv/environments/dev/yaml/pg.sealed-secret.yaml
.socialgouv/environments/dev/yaml/pg.sealed-secret.yaml
+0
-0
No files found.
.gitlab-ci.yml
View file @
63da00bf
include
:
-
project
:
SocialGouv/gitlab-ci-yml
file
:
/autodevops.yml
ref
:
v22.0.0
# ref: rulez-gary2
ref
:
v22.1.8
stages
:
-
Install
...
...
@@ -17,9 +16,6 @@ variables:
AUTO_DEVOPS_KANIKO
:
"
pouet"
AUTO_DEVOPS_RELEASE_AUTO
:
"
🔖"
AUTO_DEVOPS_ENABLE_KAPP
:
"
plop"
# AUTO_DEVOPS_TEST_DISABLED: "🛑"
# AUTO_DEVOPS_QUALITY_CHECK_DISABLED: "🛑"
#
Register hasura image
:
extends
:
.autodevops_register_kaniko_image
...
...
@@ -72,90 +68,3 @@ Create seeds DB (dev):
PGSSLMODE
:
require
script
:
-
psql < ./scripts/seeds-dev.sql
#
# variables:
# AUTO_DEVOPS_RELEASE_AUTO: "YEAH"
# # AUTO_DEVOPS_TEST_DISABLED: "🛑"
# AUTO_DEVOPS_QUALITY_CHECK_DISABLED: "🛑"
# .rule_before_release: &rule_before_release
# if: ($CI_COMMIT_BRANCH == 'master' && $AUTO_DEVOPS_RELEASE_AUTO && $CI_COMMIT_MESSAGE =~ /\(#\d+\)/) || $RELEASE
# .rule_on_release: &rule_on_release
# if: $CI_COMMIT_TAG && $AUTO_DEVOPS_RELEASE_AUTO && $PRODUCTION == null && $RELEASE == null
# .rule_on_feature_branch: &rule_on_feature_branch
# if: $CI_COMMIT_BRANCH != 'master' && $CI_COMMIT_TAG == null && $RELEASE == null
# .rule_on_production: &rule_on_production
# if: $PRODUCTION && $CI_COMMIT_TAG
# stages:
# - Install
# - Quality check
# - Build
# - Registration
# - Release
# - Deploy
# - Wait
# - Seed
# Register Hasura:
# extends: .autodevops_register_image
# dependencies:
# - Build
# needs: []
# environment:
# name: ${CI_COMMIT_REF_NAME}-dev2
# variables:
# CONTEXT: ./packages/hasura
# IMAGE_NAME: $CI_REGISTRY_IMAGE/hasura
# rules:
# # - <<: *rule_on_release
# # when: on_success
# # - <<: *rule_on_feature_branch
# # when: on_success
# # - when: never
# - <<: *rule_before_release
# when: never
# - <<: *rule_on_production
# when: never
# - when: on_success
# .on_branches_only:
# environment:
# name: ${CI_COMMIT_REF_NAME}-dev2
# url: https://${CI_ENVIRONMENT_SLUG}-${CI_PROJECT_NAME}.${KUBE_INGRESS_BASE_DOMAIN}
# rules:
# # - <<: *rule_on_feature_branch
# # when: on_success
# # - when: never
# - <<: *rule_before_release
# when: never
# - <<: *rule_on_release
# when: never
# - <<: *rule_on_production
# when: never
# - when: on_success
# Wait hasura:
# stage: Wait
# extends: .on_branches_only
# image:
# name: registry.gitlab.factory.social.gouv.fr/socialgouv/docker/azure-db:1.60.0
# entrypoint: [""]
# script:
# - kubectl rollout status deployment.v1.apps/hasura
# Create seeds DB (dev):
# stage: Seed
# extends: .on_branches_only
# image:
# name: postgres:11
# entrypoint: [""]
# variables:
# GIT_STRATEGY: clone
# PGHOST: carnetsdevserver.postgres.database.azure.com
# PGUSER: user_${CI_COMMIT_SHORT_SHA}@${PGHOST}
# PGPASSWORD: password_${CI_COMMIT_SHORT_SHA}
# PGDATABASE: autodevops_${CI_COMMIT_SHORT_SHA}
# PGSSLMODE: require
# script:
# - psql < ./scripts/seeds-dev.sql
.socialgouv/environments/dev/pg.sealed-secret.yaml
→
.socialgouv/environments/dev/
yaml/
pg.sealed-secret.yaml
View file @
63da00bf
File moved
Social Groovy Bot
🤖
@SocialGroovyBot
mentioned in commit
0a1a5edd
·
May 27, 2021
mentioned in commit
0a1a5edd
mentioned in commit 0a1a5edd8ebffdb03510d799b67c9d20a62df516
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment