Unverified Commit 63da00bf authored by Gary van Woerkens's avatar Gary van Woerkens Committed by GitHub
Browse files

fix: Move to the new cluster. (#284)

parent 017486e9
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment