Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CircleCI configuration for pushing to container registries #43

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 10 additions & 35 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,14 @@ workflows:
tags:
only: /^v.*/

- architect/push-to-docker:
context: "architect"
name: push-teleport-operator-to-quay
image: "quay.io/giantswarm/teleport-operator"
username_envar: "QUAY_USERNAME"
password_envar: "QUAY_PASSWORD"
requires:
- go-build
# Needed to trigger job also on git tag.
filters:
tags:
only: /^v.*/
- architect/push-to-docker:
context: "architect"
name: push-teleport-operator-to-docker
image: "docker.io/giantswarm/teleport-operator"
username_envar: "DOCKER_USERNAME"
password_envar: "DOCKER_PASSWORD"
- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- go-build
# Needed to trigger job also on git tag.
filters:
tags:
only: /^v.*/

- architect/push-to-app-catalog:
context: "architect"
executor: "app-build-suite" # uncomment this if you want automatic metadata generation and helm chart linting
Expand All @@ -47,9 +30,7 @@ workflows:
app_catalog_test: "control-plane-test-catalog"
chart: "teleport-operator"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
# Needed to trigger job also on git tag.
- push-to-registries
filters:
tags:
only: /^v.*/
Expand All @@ -61,9 +42,8 @@ workflows:
app_namespace: "giantswarm"
app_collection_repo: "aws-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -76,9 +56,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -91,9 +70,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "cloud-director-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -106,9 +84,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "capz-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -121,9 +98,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "gcp-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand All @@ -136,9 +112,8 @@ workflows:
app_name: "teleport-operator"
app_collection_repo: "vsphere-app-collection"
requires:
- push-teleport-operator-to-quay
- push-teleport-operator-to-docker
- push-teleport-operator-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand Down