Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 1.17 KB

File metadata and controls

21 lines (19 loc) · 1.17 KB

Container maintance (under container directory)

Generally, there are two special image tags (qaas:development and qaas:production).

  • qaas:development : Most recent image under development
  • qaas:production : Stable production image to be used by general users. By default build-local-image.sh builds local image using this image.

We also require all images to be tagged with some name meaningful to QaaS image development.

  • qaas:other-tag : other-tag should provide some idea what the image is about.

Following are some regular steps in container image development

  1. Build updated image (as qaas:development)
    1. Update Dockerfile
    2. ./build-image.sh
    3. new image created locally but not pushed to Git Lab yet
  2. Push development image to Git Lab
    1. ./push-image.sh tag-name
    2. Git Lab will receive the qaas:development image and also tagged it as qaas:tag-name
  3. Tag an image as production image (qaas:production)
    1. ./tag-production-image.sh [ tag-name ]
    2. tag-name is optional.
      • if provided, tag qaas:tag-name as qaas:production image
      • if not provided, tag qaas:development as qaas:production