Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
A
auto-deploy-image
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 98
    • Issues 98
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 11
    • Merge Requests 11
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • cluster-integration
  • auto-deploy-image
  • Merge Requests
  • !49

Merged
Opened Feb 10, 2020 by Thong Kuah@tkuah🔴Owner6 of 6 tasks completed6/6 tasks

Add optional ability to install postgres chart 8.x

  • Overview 72
  • Commits 1
  • Pipelines 69
  • Changes 2

First step in moving off the 0.7.1 version of the chart.

Related issues:

  • gitlab-org/gitlab#32720 (closed)
  • gitlab-org/charts/auto-deploy-app#28 (closed)

The major differences jumping from 0.7.1 to 8.X:

  • Everything in the postgresql chart is renamed from postgres to postgresql
  • Deployment for the postgres server is now a StatefulSet
  • Use Bitnami managed docker image by default (which does not have root)

Development

  • Install postgresql chart 8.2.1 if POSTGRESQL_ENABLED env var is set
    • unit test: can install postgresql chart 8.2.1
    • integration test: postgresql chart 8.2.1 is installed if POSTGRESQL_ENABLED env var is set
  • send different application.database_url to auto-deploy-app if POSTGRESQL_ENABLED env var is set
    • unit test: test correct database url depending on whether POSTGRESQL_ENABLED env var is set
    • integration test: test application pod can connect to database url with psql when POSTGRESQL_ENABLED env var is set/not set.
Edited Feb 13, 2020 by Thong Kuah
Assignee
Assign to
Reviewer
Request review from
12.9
Milestone
12.9 (Past due)
Assign milestone
Time tracking
Reference: gitlab-org/cluster-integration/auto-deploy-image!49
Source branch: new_postgres

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.