Skip to content

Commit

Permalink
fix: avoid failing silently when publishing codegen (#434)
Browse files Browse the repository at this point in the history
* fix: avoid failing silently when publishing codegen

* chore: upgrade machines to ubuntu-2204:2022.10.2
  • Loading branch information
efgpinto authored Nov 14, 2022
1 parent 404631a commit def9d83
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ commands:
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
https://upload.cloudsmith.io/lightbend/kalix/<<parameters.fileName>> | jq -r '.identifier')
curl -X POST -H "Content-Type: application/json" \
--fail-with-body \
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
-d "{\"package_file\": \"$id\", \"version\": \"<<parameters.version>>\"}" \
https://api-prd.cloudsmith.io/v1/packages/lightbend/kalix/upload/raw/
Expand All @@ -159,6 +160,7 @@ commands:
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
https://upload.cloudsmith.io/lightbend/kalix/<<parameters.fileName>> | jq -r '.identifier')
curl -X POST -H "Content-Type: application/json" \
--fail-with-body \
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
-d "{\"package_file\": \"$id\", \"version\": \"<<parameters.version>>\"}" \
https://api-prd.cloudsmith.io/v1/packages/lightbend/kalix/upload/raw/
Expand Down Expand Up @@ -193,7 +195,7 @@ jobs:

tests:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "tests"
steps:
- checkout-and-merge-to-main
Expand Down Expand Up @@ -408,7 +410,7 @@ jobs:
integration-tests:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "integration tests"
steps:
- checkout-and-merge-to-main
Expand Down Expand Up @@ -676,7 +678,7 @@ jobs:
tck-tests:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "TCK tests"
steps:
- checkout-and-merge-to-main
Expand All @@ -689,7 +691,7 @@ jobs:
validate-docs:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "validate docs"
steps:
- checkout-and-merge-to-main
Expand Down Expand Up @@ -732,7 +734,7 @@ jobs:
publish-tck:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "publish TCK"
steps:
- checkout
Expand All @@ -745,7 +747,7 @@ jobs:
publish-docs:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "publish docs"
steps:
- checkout
Expand Down Expand Up @@ -850,7 +852,7 @@ jobs:
e2e-tests:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "e2e-tests"
steps:
- checkout-and-merge-to-main
Expand Down Expand Up @@ -933,7 +935,7 @@ jobs:
publish_native_linux:
machine:
image: ubuntu-2004:2022.07.1
image: ubuntu-2204:2022.10.2
description: "Build Native image on Linux"
steps:
- checkout
Expand Down

0 comments on commit def9d83

Please sign in to comment.