File tree Expand file tree Collapse file tree 4 files changed +31
-136
lines changed Expand file tree Collapse file tree 4 files changed +31
-136
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,11 @@ jobs:
68
68
kubectl config set-context --current --namespace=test
69
69
70
70
# Generate manifests and image
71
- cd samples/spring-boot
72
- ./mvnw jib:dockerBuild
73
- kind load docker-image spring-boot-sample:latest
74
- # ./mvnw ${MAVEN_ARGS} clean install -Ddekorate.jib.registry=$KIND_REGISTRY -Ddekorate.jib.group=tests -Ddekorate.jib.version=latest -Ddekorate.jib.autoPushEnabled=true -DskipTests
71
+ cd samples/spring-boot
72
+ ./mvnw ${MAVEN_ARGS} clean install -Ddekorate.jib.registry=$KIND_REGISTRY -Ddekorate.jib.group=tests -Ddekorate.jib.version=latest -Ddekorate.jib.autoPushEnabled=true -DskipTests
75
73
76
74
# Install manifests
77
- kubectl apply -f k8s /kubernetes.yml
75
+ kubectl apply -f target/classes/META-INF/dekorate /kubernetes.yml
78
76
79
77
# Wait until the service is started
80
78
kubectl wait --for=condition=available --timeout=600s deployment/spring-boot-sample
Original file line number Diff line number Diff line change 64
64
<maven-gpg-plugin .version>3.0.1</maven-gpg-plugin .version>
65
65
<maven-source-plugin .version>3.2.1</maven-source-plugin .version>
66
66
<spring-boot-dependencies .version>2.7.3</spring-boot-dependencies .version>
67
+ <dekorate .version>3.1.2</dekorate .version>
67
68
</properties >
68
69
69
70
<modules >
123
124
<artifactId >json-patch</artifactId >
124
125
<version >${json-patch.version} </version >
125
126
</dependency >
127
+ <dependency >
128
+ <groupId >io.dekorate</groupId >
129
+ <artifactId >kubernetes-spring-starter</artifactId >
130
+ <version >${dekorate.version} </version >
131
+ </dependency >
132
+ <dependency >
133
+ <groupId >io.dekorate</groupId >
134
+ <artifactId >certmanager-annotations</artifactId >
135
+ <version >${dekorate.version} </version >
136
+ </dependency >
137
+ <dependency >
138
+ <groupId >io.dekorate</groupId >
139
+ <artifactId >jib-annotations</artifactId >
140
+ <version >${dekorate.version} </version >
141
+ </dependency >
126
142
</dependencies >
127
143
</dependencyManagement >
128
144
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 49
49
<artifactId >reactor-test</artifactId >
50
50
<scope >test</scope >
51
51
</dependency >
52
+ <dependency >
53
+ <groupId >io.dekorate</groupId >
54
+ <artifactId >kubernetes-spring-starter</artifactId >
55
+ </dependency >
56
+ <dependency >
57
+ <groupId >io.dekorate</groupId >
58
+ <artifactId >certmanager-annotations</artifactId >
59
+ </dependency >
60
+ <dependency >
61
+ <groupId >io.dekorate</groupId >
62
+ <artifactId >jib-annotations</artifactId >
63
+ </dependency >
52
64
<dependency >
53
65
<groupId >io.javaoperatorsdk</groupId >
54
66
<artifactId >kubernetes-webhooks-framework-core</artifactId >
You can’t perform that action at this time.
0 commit comments