Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

gpii-ops/gpii-infra-fake-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPII Infra Fake Component

Adding a new component to gpii-infra

Component repo, Docker image, CI

  1. Create a Github repo.
  2. Fork repo to Organization (gpii, gpii-ops, etc.)
  3. Import Github repo to Gitlab.
    • Make project public, disable shared runners, enable h5 runner (real components will want a dedicated registration -- see ansible-gpii-ci-worker).
  4. Create Dockerfile and .gitlab-ci.yml.
  5. Push to CI. Result should be a Docker image uploaded to Docker Hub under gpii/.

Add to gpii-version-updater

  1. Add an entry to gpii-version-updater/components.conf.
  2. Push to CI. Result should (eventually, after Ansible crons run on i46) be a new version.yml in gpii-infra referencing the new component's Docker image.

Add to gpii-infra

  1. Write a Kubernetes manifest in gpii-infra/modules/deploy/ referencing the new component in version.yml.
    • Probably simplest to start with the manifest of a similar existing component.
  2. Go to gpii-infra/dev and rake deploy. Result should be the new component running in Kubernetes.
  3. Push to CI. Result should be the new component running in stg.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%