Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Update CircleCI configuration for pushing to container registries (#185)
Browse files Browse the repository at this point in the history
* Add CircleCI image registry configuration

* Don't make acceptance tests required

---------

Co-authored-by: Jose Armesto <[email protected]>
  • Loading branch information
marians and fiunchinho authored Nov 29, 2023
1 parent 9ed9598 commit cd409ff
Showing 1 changed file with 6 additions and 27 deletions.
33 changes: 6 additions & 27 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2.1
orbs:
architect: giantswarm/architect@4.31.0
architect: giantswarm/architect@4.35.5

jobs:
unit-tests:
Expand Down Expand Up @@ -55,47 +55,27 @@ workflows:
requires:
- unit-tests
- integration-tests
- acceptance-tests
filters:
tags:
only: /^v.*/

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

# Ensure that for every commit
# there is an app version in the test catalog.
- architect/push-to-app-catalog:
context: architect
name: push-to-app-catalog
app_catalog: "control-plane-catalog"
app_catalog_test: "control-plane-test-catalog"
chart: "aws-network-topology-operator"
requires:
- push-aws-network-topology-operator-to-quay
- push-aws-network-topology-operator-to-docker
- push-to-registries
filters:
# Trigger the job also on git tag.
tags:
Expand All @@ -106,9 +86,8 @@ workflows:
app_name: "aws-network-topology-operator"
app_collection_repo: "capa-app-collection"
requires:
- push-aws-network-topology-operator-to-docker
- push-aws-network-topology-operator-to-quay
- push-to-app-catalog
- push-to-registries
filters:
branches:
ignore: /.*/
Expand Down

0 comments on commit cd409ff

Please sign in to comment.