Skip to content

Commit

Permalink
Merge pull request quarkusio#7944 from iocanel/fix-tar-long-names
Browse files Browse the repository at this point in the history
chore: bump to the latest dekorate version.
  • Loading branch information
machi1990 authored Mar 18, 2020
2 parents 17fdc1d + 4e3a4fa commit a0fd85a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bom/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
<awssdk.version>2.10.70</awssdk.version>
<azure-functions-java-library.version>1.3.0</azure-functions-java-library.version>
<kotlin.version>1.3.61</kotlin.version>
<dekorate.version>0.11.2</dekorate.version>
<dekorate.version>0.11.3</dekorate.version>
<maven-artifact-transfer.version>0.10.0</maven-artifact-transfer.version>
<jline.version>2.14.6</jline.version>
<maven-invoker.version>3.0.1</maven-invoker.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

import io.fabric8.knative.serving.v1alpha1.Service;
import io.fabric8.knative.serving.v1.Service;
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.quarkus.test.ProdBuildResults;
import io.quarkus.test.ProdModeTestResults;
Expand Down Expand Up @@ -42,15 +42,11 @@ public void assertGeneratedResources() throws IOException {
assertThat(i).isInstanceOfSatisfying(Service.class, d -> {

assertThat(d.getSpec()).satisfies(serviceSpec -> {
assertThat(serviceSpec.getRunLatest()).satisfies(revisionTemplate -> {
assertThat(revisionTemplate.getConfiguration()).satisfies(configuration -> {
assertThat(configuration.getRevisionTemplate()).satisfies(template -> {
assertThat(template.getSpec()).satisfies(spec -> {
assertThat(spec.getContainer()).satisfies(c -> {
assertThat(c.getImage())
.isEqualTo("quay.io/grp/knative-with-container-image:0.1-SNAPSHOT");
});
});
assertThat(serviceSpec.getTemplate()).satisfies(revisionTemplate -> {
assertThat(revisionTemplate.getSpec()).satisfies(spec -> {
assertThat(spec.getContainers()).satisfies(containers -> {
assertThat(containers.get(0)).satisfies(c -> assertThat(c.getImage())
.isEqualTo("quay.io/grp/knative-with-container-image:0.1-SNAPSHOT"));
});
});
});
Expand Down

0 comments on commit a0fd85a

Please sign in to comment.