-
Notifications
You must be signed in to change notification settings - Fork 93
Upgrade JHipster Online Stack #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
150968b
Upgrade JHipster Online Stack
maximilianoPizarro 3b8435d
ginkgo skip jhipster online 2.33.1
maximilianoPizarro a018a36
description jhipster online and fix tab check_odov3 script
maximilianoPizarro 4cfa75a
set image tag for jhipster-online 2.33.0 and 2.33.1
maximilianoPizarro 77b41dd
fix new line end post script and update schemaVersion 2.2.0 to 2.3.0
maximilianoPizarro 13eb1b5
rollback schemaVersion to 2.2.0
maximilianoPizarro a1987c8
remove events poststart jhipster-online
maximilianoPizarro d0aee2f
check_odo skip jhipster-online
maximilianoPizarro 3757734
update manifest from jhipster-online with the project to user permiss…
maximilianoPizarro 1fe746a
remove postStart from jhipster-online
maximilianoPizarro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,129 @@ | ||
schemaVersion: 2.2.2 | ||
maximilianoPizarro marked this conversation as resolved.
Show resolved
Hide resolved
|
||
metadata: | ||
name: jhipster-online | ||
version: 2.33.1 | ||
description: "Stack with JHipster Online on Red Hat OpenShift Dev Spaces. | ||
This stack include: | ||
- JHipster 8.8.0. for generate Spring Boot 3.4.1 projects. | ||
- generator-jhipster-micronaut 3.6.0 for generate Micronaut 4.7.2 projects. | ||
- generator-jhipster-quarkus 3.4.0 for generate Quarkus 3.11.1 projects. | ||
- generator-jhipster-dotnetcore 4.2.0 for generate .Net 8.0 projects. | ||
Watch the demo video: | ||
- https://youtu.be/b7xbcTAGNIQ?si=snE57Th4S3gPv_Vn" | ||
displayName: JHipster Online | ||
icon: https://raw.githubusercontent.com/redhat-developer-demos/jhipster-online/main/jhipster-icon.png | ||
website: https://start.jhipster.tech | ||
tags: | ||
- Java | ||
- JHipster | ||
- Angular | ||
- Spring | ||
- Quarkus | ||
- Micronaut | ||
language: Java | ||
projectType: springboot | ||
projects: | ||
michael-valdron marked this conversation as resolved.
Show resolved
Hide resolved
maximilianoPizarro marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: jhipster-online | ||
git: | ||
remotes: | ||
origin: 'https://github.com/redhat-developer-demos/jhipster-online' | ||
checkoutFrom: | ||
revision: main | ||
components: | ||
- name: tools | ||
container: | ||
image: 'quay.io/devfile/jhipster-online@sha256:1f284df66c8ef209ea2cd1a10516e9ba424508a11341eead650e88027858d3ee' | ||
mountSources: true | ||
cpuLimit: '4' | ||
cpuRequest: '1' | ||
memoryLimit: '8G' | ||
memoryRequest: '4G' | ||
volumeMounts: | ||
- name: m2 | ||
path: /home/user/.m2 | ||
- name: config | ||
path: /home/user/.config | ||
- name: npm | ||
path: /home/user/.npm | ||
endpoints: | ||
- exposure: public | ||
name: backend | ||
protocol: https | ||
targetPort: 8080 | ||
- exposure: public | ||
name: debug | ||
targetPort: 4200 | ||
- exposure: public | ||
name: frontend | ||
protocol: https | ||
targetPort: 9000 | ||
- exposure: public | ||
name: debug-frontend | ||
protocol: https | ||
targetPort: 9001 | ||
- exposure: public | ||
name: browser-sync | ||
protocol: https | ||
targetPort: 3001 | ||
env: | ||
- value: '-XX:MaxRAMPercentage=50.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/jboss' | ||
name: JAVA_OPTS | ||
- value: $(JAVA_OPTS) | ||
name: MAVEN_OPTS | ||
- value: '/home/tooling/.sdkman/candidates/java/11.0.15-tem' | ||
name: JAVA_HOME | ||
- name: m2 | ||
volume: | ||
size: 512Mi | ||
- name: config | ||
volume: | ||
size: 512Mi | ||
- name: npm | ||
volume: | ||
size: 512Mi | ||
commands: | ||
- id: kubectl-add-mysql | ||
exec: | ||
label: 'Kubernetes apply MariaDB Instance (Kubernetes cluster)' | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: 'kubectl apply -f src/main/kubernetes/mysql.yaml' | ||
- id: oc-add-mysql | ||
exec: | ||
label: 'OpenShift apply MariaDB Instance (OpenShift cluster)' | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: 'oc apply -f src/main/kubernetes/mysql.yaml' | ||
- id: oc-remove-mysql | ||
exec: | ||
label: 'OpenShift remove MariaDB Instance (OpenShift cluster)' | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: 'oc delete all --selector app=mariadb' | ||
- id: yarn-install | ||
exec: | ||
label: 'Package the application' | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: 'yarn install' | ||
group: | ||
kind: build | ||
isDefault: true | ||
- id: start-frontend | ||
exec: | ||
label: 'Start Frontend' | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: 'yarn start' | ||
group: | ||
kind: run | ||
isDefault: true | ||
- id: start-backend | ||
exec: | ||
label: 'Start JHipster Online' | ||
component: tools | ||
workingDir: ${PROJECT_SOURCE} | ||
commandLine: 'chmod 777 ./mvnw && ./mvnw' | ||
group: | ||
kind: run | ||
isDefault: false |
This file contains hidden or 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,7 +1,15 @@ | ||
name: jhipster-online | ||
description: Stack with JHipster Online on Red Hat OpenShift Dev Spaces | ||
description: "Stack with JHipster Online on Red Hat OpenShift Dev Spaces. | ||
This stack include: | ||
- JHipster 8.8.0. for generate Spring Boot 3.4.1 projects. | ||
- generator-jhipster-micronaut 3.6.0 for generate Micronaut 4.7.2 projects. | ||
- generator-jhipster-quarkus 3.4.0 for generate Quarkus 3.11.1 projects. | ||
- generator-jhipster-dotnetcore 4.2.0 for generate .Net 8.0 projects. | ||
Watch the demo video: | ||
- https://youtu.be/b7xbcTAGNIQ?si=snE57Th4S3gPv_Vn" | ||
displayName: JHipster Online | ||
icon: https://raw.githubusercontent.com/maximilianoPizarro/ecommerce-oracle/main/jhipster-icon.png | ||
icon: https://raw.githubusercontent.com/redhat-developer-demos/jhipster-online/main/jhipster-icon.png | ||
versions: | ||
- version: 2.33.0 | ||
- version: 2.33.1 | ||
default: true |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This devfile and the project devfile content should match for this version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should match schema version of the project devfile