forked from redhat-cop/devspaces-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes redhat-cop#30 includes jbang cli configured to accept github.com/apache as trusted domain and Camel CLI Note that jbang installation has been extracted to its own module as it is used by both Camel and Quarkus Signed-off-by: Aurélien Pupier <[email protected]>
- Loading branch information
Showing
14 changed files
with
42 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: devspaces-camel | ||
from: registry.access.redhat.com/ubi9/openjdk-21:1.20 | ||
version: &version 1.0 | ||
packages: | ||
manager: microdnf | ||
modules: | ||
install: | ||
- name: jbang | ||
- name: camel |
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 |
---|---|---|
|
@@ -11,4 +11,5 @@ modules: | |
install: | ||
- name: node20 | ||
- name: angular | ||
- name: quarkus | ||
- name: quarkus | ||
- name: jbang |
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 |
---|---|---|
|
@@ -12,4 +12,5 @@ modules: | |
- name: node20 | ||
- name: angular | ||
- name: quarkus | ||
- name: jbang | ||
- name: python3.11 |
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ modules: | |
- name: java21 | ||
- name: maven | ||
- name: quarkus | ||
- name: jbang | ||
- name: node18 | ||
run: | ||
entrypoint: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
jbang trust add https://github.com/apache | ||
# Need to be able to specify the version in another iteration | ||
jbang app install camel@apache/camel |
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,6 @@ | ||
schema_version: 1 | ||
name: camel | ||
version: v1.0 | ||
description: "Confgure JBang and install Camel CLI" | ||
execute: | ||
- script: install.sh |
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,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
mkdir -p ${JBANG_DIR} | ||
curl -Ls https://sh.jbang.dev | bash -s - app setup | ||
ln -s ${JBANG_DIR}/bin/jbang /usr/local/bin/jbang |
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,9 @@ | ||
schema_version: 1 | ||
name: jbang | ||
version: v1.0 | ||
description: "Installs JBang CLI" | ||
envs: | ||
- name: JBANG_DIR | ||
value: "/usr/local/jbang" | ||
execute: | ||
- script: install.sh |
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