Skip to content

Commit

Permalink
Ignore default branch (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Oct 30, 2024
1 parent 23f2d1b commit 7d8eb34
Showing 1 changed file with 39 additions and 31 deletions.
70 changes: 39 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d8eb34

Please sign in to comment.