This is a template repository containing files for a giantswarm operator repository.
To use it just hit Use this template
button or this
link.
- Run
devctl replace -i "REPOSITORY_NAME" "$(basename $(git rev-parse --show-toplevel))" --ignore '.git/**' '**'
. - Run
devctl replace -i "template-operator" "$(basename $(git rev-parse --show-toplevel))" --ignore '.git/**' '**'
. - Go to https://github.com/giantswarm/REPOSITORY_NAME/settings and make sure
Allow merge commits
box is unchecked andAutomatically delete head branches
box is checked. - Go to https://github.com/giantswarm/REPOSITORY_NAME/settings/access and add
giantswarm/bots
withWrite
access andgiantswarm/employees
withAdmin
access. - Add this repository to https://github.com/giantswarm/github.
- Create quay.io docker repository if needed.
- Add the project to the CircleCI: https://circleci.com/setup-project/gh/giantswarm/REPOSITORY_NAME
- Change the badge (with style=shield):
https://circleci.com/gh/giantswarm/REPOSITORY_NAME.svg?style=shield&circle-token=TOKEN_FOR_PRIVATE_REPO
If this is a private repository token with scope
status
will be needed.