-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Last Modified Field For Non-Versioned Items (#250)
* update tests for non versioned stacks/samples Signed-off-by: Jordan Dubrick <[email protected]> * add logic for handling versioned vs non-versioned stacks/samples Signed-off-by: Jordan Dubrick <[email protected]> * run go mod vendor for generator changes Signed-off-by: Jordan Dubrick <[email protected]> * replace null with undefined Signed-off-by: Jordan Dubrick <[email protected]> --------- Signed-off-by: Jordan Dubrick <[email protected]>
- Loading branch information
Showing
9 changed files
with
208 additions
and
23 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
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
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
71 changes: 71 additions & 0 deletions
71
index/generator/tests/registry/samples/code-with-quarkus-no-version/devfile.yaml
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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
schemaVersion: 2.0.0 | ||
metadata: | ||
name: java-quarkus-no-version | ||
icon: https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg | ||
attributes: | ||
alpha.build-context: . | ||
alpha.build-dockerfile: src/main/docker/Dockerfile.jvm.staged | ||
website: https://quarkus.io | ||
displayName: Quarkus Java | ||
description: Upstream Quarkus with Java+GraalVM | ||
tags: ["Java", "Quarkus"] | ||
projectType: "quarkus" | ||
language: "java" | ||
starterProjects: | ||
- name: community | ||
zip: | ||
location: https://code.quarkus.io/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-micrometer&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift&cn=devfile | ||
- name: redhat-product | ||
zip: | ||
location: https://code.quarkus.redhat.com/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift | ||
components: | ||
- name: buildguidance | ||
attributes: | ||
tool: console-import | ||
container: | ||
image: buildguidanceimage-placeholder | ||
memoryLimit: 1024Mi | ||
endpoints: | ||
- name: http-8081 | ||
targetPort: 8081 | ||
- name: tools | ||
container: | ||
image: quay.io/eclipse/che-quarkus:nightly | ||
memoryLimit: 1512Mi | ||
mountSources: true | ||
volumeMounts: | ||
- name: m2 | ||
path: /home/user/.m2 | ||
endpoints: | ||
- name: '8080-http' | ||
targetPort: 8080 | ||
- name: m2 | ||
volume: | ||
size: 3Gi | ||
commands: | ||
- id: init-compile | ||
exec: | ||
component: tools | ||
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository compile" | ||
workingDir: $PROJECTS_ROOT | ||
- id: dev-run | ||
exec: | ||
component: tools | ||
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager" | ||
hotReloadCapable: true | ||
group: | ||
kind: run | ||
isDefault: true | ||
workingDir: $PROJECTS_ROOT | ||
- id: dev-debug | ||
exec: | ||
component: tools | ||
commandLine: "mvn -Dmaven.repo.local=/home/user/.m2/repository quarkus:dev -Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Ddebug=${DEBUG_PORT}" | ||
hotReloadCapable: true | ||
group: | ||
kind: debug | ||
isDefault: true | ||
workingDir: $PROJECTS_ROOT | ||
events: | ||
postStart: | ||
- init-compile |
32 changes: 21 additions & 11 deletions
32
index/server/vendor/github.com/devfile/registry-support/index/generator/library/library.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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