Skip to content
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

Gitpod - add extensions + custom image to get quarkus CLI + contributing.md #25452

Merged
merged 2 commits into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
image:
file: .gitpod/Dockerfile

tasks:
- init: ./mvnw -Dquickly
- name: Quarkus command
openMode: split-right

vscode:
extensions:
- "redhat.java"
- "vscjava.vscode-java-dependency"
- "vscjava.vscode-java-debug"
- "vscjava.vscode-java-pack"
8 changes: 8 additions & 0 deletions .gitpod/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM gitpod/workspace-java-11

RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \
sdk install java 11.0.9.j9-adpt && \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why use j9 here and not adoptium which we use everywhere else ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh ! I didn't see that. After reading the project, I didn't find the image to use. Where I can find it please ?

sdk use java 11.0.9.j9-adpt && \
yes | sdk install quarkus && \
rm -rf $HOME/.sdkman/archives/* && \
rm -rf $HOME/.sdkman/tmp/* "
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ But first, read this page (including the small print at the end).
* [`OutOfMemoryError` while importing](#-outofmemoryerror--while-importing)
* [`package sun.misc does not exist` while building](#-package-sunmisc-does-not-exist--while-building)
* [Formatting](#formatting)
+ [Gitpod](#gitpod)
* [Build](#build)
+ [Workflow tips](#workflow-tips)
- [Building all modules of an extension](#building-all-modules-of-an-extension)
Expand Down Expand Up @@ -288,6 +289,11 @@ navigate to _Editor_ -> _Code Style_ -> _Java_ -> _Imports_
and set _Class count to use import with '\*'_ to `999`.
Do the same with _Names count to use static import with '\*'_.

### Gitpod

You can also use [Gitpod](https://gitpod.io) to contribute without installing anything on your computer. Click [here](https://gitpod.io/#https://github.com/quarkusio/quarkus/-/tree/main/) to start a workspace.


## Build

* Clone the repository: `git clone https://github.com/quarkusio/quarkus.git`
Expand Down