forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail the build when a k8s deployment was requested by API server can'…
…t be reached Fixes: quarkusio#9129
- Loading branch information
Showing
6 changed files
with
107 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 9 additions & 5 deletions
14
...oyment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesDeployerPrerequisite.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...kubernetes/maven-invoker-way/src/it/kubernetes-docker-build-and-deploy/invoker.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# invoker.goals=clean package -Dquarkus.container.build=true -Dquarkus.package.type=native | ||
invoker.goals=clean package -Dquarkus.kubernetes.deploy=true | ||
# expect a failure since there is no Kubernetes cluster to deploy to | ||
invoker.buildResult = failure |
2 changes: 2 additions & 0 deletions
2
...ts/kubernetes/maven-invoker-way/src/it/kubernetes-jib-build-and-deploy/invoker.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# invoker.goals=clean package -Dquarkus.container.build=true -Dquarkus.package.type=native | ||
invoker.goals=clean package -Dquarkus.kubernetes.deploy=true | ||
# expect a failure since there is no Kubernetes cluster to deploy to | ||
invoker.buildResult = failure |
2 changes: 2 additions & 0 deletions
2
...sts/kubernetes/maven-invoker-way/src/it/openshift-s2i-build-and-deploy/invoker.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# invoker.goals=clean package -Dquarkus.container.build=true -Dquarkus.package.type=native | ||
invoker.goals=clean package -Dquarkus.kubernetes.deploy=true | ||
# expect a failure since there is no Kubernetes cluster to deploy to | ||
invoker.buildResult = failure |