Skip to content

Commit

Permalink
Update circle image (#279)
Browse files Browse the repository at this point in the history
* update circleci image from the deprecated one

* remove individuals from codeowners
  • Loading branch information
piontec authored Feb 28, 2024
1 parent e0c66c0 commit 4d4b647
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 55 deletions.
103 changes: 51 additions & 52 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,57 +5,56 @@ orbs:
codecov: codecov/[email protected]

workflows:
test:
jobs:
- run-tests:
name: run-tests
filters:
# Needed to trigger job also on git tag.
tags:
only: /^v.*/

- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- run-tests
filters:
# Needed to trigger job also on git tag.
tags:
only: /^v.*/

- publish-github-release:
name: publish-github-release-for-dats
requires:
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

test:
jobs:
- run-tests:
name: run-tests
filters:
# Needed to trigger job also on git tag.
tags:
only: /^v.*/

- architect/push-to-registries:
context: architect
name: push-to-registries
requires:
- run-tests
filters:
# Needed to trigger job also on git tag.
tags:
only: /^v.*/

- publish-github-release:
name: publish-github-release-for-dats
requires:
- push-to-registries
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

jobs:
run-tests:
machine:
image: ubuntu-2004:202010-01
steps:
- checkout

- run:
name: Execute tests
command: |
make docker-test-ci
- codecov/upload:
file: .coverage/coverage.xml

publish-github-release:
docker:
- image: cibuilds/github:0.13
steps:
- checkout
- run:
name: "Publish Release on GitHub"
command: |
ghr -t ${ARCHITECT_GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ./dats.sh
run-tests:
machine:
image: default
steps:
- checkout

- run:
name: Execute tests
command: |
make docker-test-ci
- codecov/upload:
file: .coverage/coverage.xml

publish-github-release:
docker:
- image: cibuilds/github:0.13
steps:
- checkout
- run:
name: "Publish Release on GitHub"
command: |
ghr -t ${ARCHITECT_GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ./dats.sh
3 changes: 0 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# Teams:
* @giantswarm/team-honeybadger

# Individuals:
* @piontec

0 comments on commit 4d4b647

Please sign in to comment.