Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit def9d83

Browse files
authored
fix: avoid failing silently when publishing codegen (#434)
* fix: avoid failing silently when publishing codegen * chore: upgrade machines to ubuntu-2204:2022.10.2
1 parent 404631a commit def9d83

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.circleci/config.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ commands:
137137
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
138138
https://upload.cloudsmith.io/lightbend/kalix/<<parameters.fileName>> | jq -r '.identifier')
139139
curl -X POST -H "Content-Type: application/json" \
140+
--fail-with-body \
140141
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
141142
-d "{\"package_file\": \"$id\", \"version\": \"<<parameters.version>>\"}" \
142143
https://api-prd.cloudsmith.io/v1/packages/lightbend/kalix/upload/raw/
@@ -159,6 +160,7 @@ commands:
159160
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
160161
https://upload.cloudsmith.io/lightbend/kalix/<<parameters.fileName>> | jq -r '.identifier')
161162
curl -X POST -H "Content-Type: application/json" \
163+
--fail-with-body \
162164
-u "${CLOUDSMITH_API_USERNAME}:${CLOUDSMITH_API_PASSWORD}" \
163165
-d "{\"package_file\": \"$id\", \"version\": \"<<parameters.version>>\"}" \
164166
https://api-prd.cloudsmith.io/v1/packages/lightbend/kalix/upload/raw/
@@ -193,7 +195,7 @@ jobs:
193195

194196
tests:
195197
machine:
196-
image: ubuntu-2004:2022.07.1
198+
image: ubuntu-2204:2022.10.2
197199
description: "tests"
198200
steps:
199201
- checkout-and-merge-to-main
@@ -408,7 +410,7 @@ jobs:
408410
409411
integration-tests:
410412
machine:
411-
image: ubuntu-2004:2022.07.1
413+
image: ubuntu-2204:2022.10.2
412414
description: "integration tests"
413415
steps:
414416
- checkout-and-merge-to-main
@@ -676,7 +678,7 @@ jobs:
676678
677679
tck-tests:
678680
machine:
679-
image: ubuntu-2004:2022.07.1
681+
image: ubuntu-2204:2022.10.2
680682
description: "TCK tests"
681683
steps:
682684
- checkout-and-merge-to-main
@@ -689,7 +691,7 @@ jobs:
689691
690692
validate-docs:
691693
machine:
692-
image: ubuntu-2004:2022.07.1
694+
image: ubuntu-2204:2022.10.2
693695
description: "validate docs"
694696
steps:
695697
- checkout-and-merge-to-main
@@ -732,7 +734,7 @@ jobs:
732734
733735
publish-tck:
734736
machine:
735-
image: ubuntu-2004:2022.07.1
737+
image: ubuntu-2204:2022.10.2
736738
description: "publish TCK"
737739
steps:
738740
- checkout
@@ -745,7 +747,7 @@ jobs:
745747
746748
publish-docs:
747749
machine:
748-
image: ubuntu-2004:2022.07.1
750+
image: ubuntu-2204:2022.10.2
749751
description: "publish docs"
750752
steps:
751753
- checkout
@@ -850,7 +852,7 @@ jobs:
850852
851853
e2e-tests:
852854
machine:
853-
image: ubuntu-2004:2022.07.1
855+
image: ubuntu-2204:2022.10.2
854856
description: "e2e-tests"
855857
steps:
856858
- checkout-and-merge-to-main
@@ -933,7 +935,7 @@ jobs:
933935
934936
publish_native_linux:
935937
machine:
936-
image: ubuntu-2004:2022.07.1
938+
image: ubuntu-2204:2022.10.2
937939
description: "Build Native image on Linux"
938940
steps:
939941
- checkout

0 commit comments

Comments
 (0)