Commit cb66b5b8 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Remove a few tests for legacy in-cluster postgresql

parent 5f13b05f
Loading
Loading
Loading
Loading
+0 −39
Original line number Diff line number Diff line
@@ -287,30 +287,6 @@ test-deploy-when-stable-chart-repository-is-unreachable:
    - auto-deploy download_chart
    - auto-deploy deploy

test-deploy-postgresql-channel-1:
  extends: test-deploy
  variables:
    <<: *deploy-variables
    AUTO_DEVOPS_POSTGRES_CHANNEL: 1
  script:
    - auto-deploy download_chart
    - auto-deploy deploy
    - helm get all production
    - helm get values production --output json | grep "postgres://user:testing-password@production-postgres:5432/production"
    - ./test/verify-deployment-database production production-postgres

test-deploy-postgresql-channel-1-disabled:
  extends: test-deploy-postgresql-channel-1
  variables:
    POSTGRES_ENABLED: "false"
  script:
    - auto-deploy initialize_tiller
    - auto-deploy download_chart
    - auto-deploy deploy
    - helm get production
    - helm get manifest production > manifest.txt
    - if grep -q "postgres-password" manifest.txt; then echo "postgresql should not be installed"; exit 1; fi

test-scale-does-not-create-old-postgres:
  extends: test-deploy
  script:
@@ -325,21 +301,6 @@ test-scale-does-not-create-old-postgres:
        exit 1
      fi

test-scale-does-not-delete-old-postgres:
  extends: test-deploy
  script:
    - export AUTO_DEVOPS_POSTGRES_CHANNEL=1
    - auto-deploy initialize_tiller
    - auto-deploy download_chart
    - auto-deploy deploy
    - auto-deploy scale
    - exist=$(auto-deploy check_old_postgres_exist)
    - |
      if [[ "$exist" != "true" ]]; then
        echo "Old Postgres should exist"
        exit 1
      fi

test-show-warning-for-legacy-in-cluster-postgresql:
  extends: test-deploy
  script: