diff --git a/.circleci/config.yml b/.circleci/config.yml index affbe9c..125a3b0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,40 +9,48 @@ jobs: executor: python/default steps: - - checkout - - python/install-packages: - pkg-manager: pip - - run: - name: Run Python unit tests - command: | - python3 common_test.py - python3 hugo_test.py + - checkout + - python/install-packages: + pkg-manager: pip + - run: + name: Run Python unit tests + command: | + python3 common_test.py + python3 hugo_test.py workflows: publish: jobs: - - build-and-test: - filters: - tags: - only: /^v.*/ - - architect/push-to-registries: - context: architect - name: push-to-registries - requires: - - build-and-test - filters: - tags: - only: /^v.*/ + - build-and-test: + filters: + tags: + only: /^v.*/ + - architect/push-to-registries: + context: architect + name: push-to-registries + requires: + - build-and-test + filters: + tags: + only: /^v.*/ - - architect/push-to-app-catalog: - name: push-to-app-catalog - context: architect - app_catalog: giantswarm-operations-platform-catalog - app_catalog_test: giantswarm-operations-platform-test-catalog - chart: docs-indexer-app + branches: + ignore: + - main + - master + - architect/push-to-app-catalog: + name: push-to-app-catalog + context: architect + app_catalog: giantswarm-operations-platform-catalog + app_catalog_test: giantswarm-operations-platform-test-catalog + chart: docs-indexer-app # Trigger job on git tag. - filters: - tags: - only: /^v.*/ - requires: - - push-to-registries + filters: + tags: + only: /^v.*/ + branches: + ignore: + - main + - master + requires: + - push-to-registries