Closed cmoulliard closed 5 months ago
Tests succeeded to test this change with: 3.8 or 3.9
JSON files tested locally with backstage-playground
Test: 3.8
cat<<EOF > quarkus-38.json
{
"templateRef": "template:default/quarkus-application",
"values": {
"component_id": "38-quarkus-app",
"owner": "user:default/guest",
"native": false,
"quarkusVersion": "io.quarkus.platform:3.8",
"groupId": "io.quarkus",
"artifactId": "my-quarkus-app",
"version": "1.0.0-SNAPSHOT",
"java_package_name": "io.quarkus.demo",
"description": "A cool quarkus app",
"javaVersion": "17",
"buildTool": "MAVEN",
"database": "quarkus-jdbc-postgresql",
"healthEndpoint": true,
"metricsEndpoint": true,
"infoEndpoint": true,
"extensions": [
"io.quarkus:quarkus-resteasy-reactive-jackson",
"io.quarkus:quarkus-hibernate-orm-rest-data-panache"
],
"repo": {
"host": "github.com",
"org": "ch007m"
},
"namespace": "cmoullia",
"imageRepository": "quay.io",
"virtualMachineName": "quarkus-dev",
"virtualMachineNamespace": "cmoullia",
"imageUrl": "quay.io/ch007m/my-quarkus"
},
"secrets": {}
}
EOF
curl 'http://localhost:7007/api/scaffolder/v2/tasks' \
-H 'Content-Type: application/json' \
-d @quarkus-38.json
Test: 3.9
cat<<EOF > quarkus-39.json
{
"templateRef": "template:default/quarkus-application",
"values": {
"component_id": "39-quarkus-app",
"owner": "user:default/guest",
"native": false,
"quarkusVersion": "io.quarkus.platform:3.9",
"groupId": "io.quarkus",
"artifactId": "my-quarkus-app",
"version": "1.0.0-SNAPSHOT",
"java_package_name": "io.quarkus.demo",
"description": "A cool quarkus app",
"javaVersion": "17",
"buildTool": "MAVEN",
"database": "quarkus-jdbc-postgresql",
"healthEndpoint": true,
"metricsEndpoint": true,
"infoEndpoint": true,
"extensions": [
"io.quarkus:quarkus-resteasy",
"io.quarkus:quarkus-resteasy-jackson",
"io.quarkus:quarkus-hibernate-orm-rest-data-panache"
],
"repo": {
"host": "github.com",
"org": "ch007m"
},
"namespace": "cmoullia",
"imageRepository": "quay.io",
"virtualMachineName": "quarkus-dev",
"virtualMachineNamespace": "cmoullia",
"imageUrl": "quay.io/ch007m/my-quarkus"
},
"secrets": {}
}
EOF
curl 'http://localhost:7007/api/scaffolder/v2/tasks' \
-H 'Content-Type: application/json' \
-d @quarkus-39.json
native
build and if this is case, then we include the parameter-Dquarkus.package.type=native-sources
../target/quarkus-app/*
are not included anymore since 3.9 https://github.com/q-shift/backstage-playground/issues/82