-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: [sync] Update from eclipse-che/che-dashboard @ 32c7
Signed-off-by: devstudio-release <[email protected]>
- Loading branch information
1 parent
fca486c
commit 5ace4a2
Showing
23 changed files
with
739 additions
and
12 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
devspaces-dashboard/packages/dashboard-frontend/assets/branding/product.json
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
85 changes: 85 additions & 0 deletions
85
...istry/air-gap/devspaces-samples-ansible-devspaces-demo-devspaces-3.16-rhel-8-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,85 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: ansible-demo | ||
components: | ||
- name: tooling-container | ||
container: | ||
image: ghcr.io/ansible/ansible-workspace-env-reference@sha256:03d7f0fe6caaae62ff2266906b63d67ebd9cf6e4a056c7c0a0c1320e6cfbebce | ||
memoryRequest: 256M | ||
memoryLimit: 6Gi | ||
cpuRequest: 250m | ||
cpuLimit: 2000m | ||
args: ['tail', '-f', '/dev/null'] | ||
env: | ||
- name: 'ANSIBLE_COLLECTIONS_PATH' | ||
value: '~/.ansible/collections:/usr/share/ansible/collections:/projects/ansible-devspaces-demo/collections' | ||
commands: | ||
- id: molecule-create | ||
exec: | ||
label: "1.Molecule: start a test pod for the automation" | ||
commandLine: 'source $HOME/.bashrc && molecule create' | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions | ||
group: | ||
kind: run | ||
isDefault: true | ||
component: tooling-container | ||
- id: molecule-list | ||
exec: | ||
label: "2.Molecule: view the test instance that was created" | ||
commandLine: 'source $HOME/.bashrc && molecule list' | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions | ||
group: | ||
kind: run | ||
isDefault: true | ||
component: tooling-container | ||
- id: molecule-converge | ||
exec: | ||
label: "3.Molecule: apply the role to the pod" | ||
commandLine: 'source $HOME/.bashrc && molecule converge' | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions | ||
group: | ||
kind: run | ||
isDefault: true | ||
component: tooling-container | ||
- id: molecule-verify | ||
exec: | ||
label: "4.Molecule: run the verification against the test pod" | ||
commandLine: 'source $HOME/.bashrc && molecule verify' | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions | ||
group: | ||
kind: run | ||
isDefault: true | ||
component: tooling-container | ||
- id: molecule-destroy | ||
exec: | ||
label: "5.Molecule: reset the test pod back to a fresh instance" | ||
commandLine: 'source $HOME/.bashrc && molecule destroy' | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions | ||
group: | ||
kind: run | ||
isDefault: true | ||
component: tooling-container | ||
- id: molecule-test | ||
exec: | ||
label: "6.Molecule: run the full molecule test" | ||
commandLine: 'source $HOME/.bashrc && molecule test' | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo/collections/ansible_collections/sample_namespace/sample_collection/extensions | ||
group: | ||
kind: run | ||
isDefault: true | ||
component: tooling-container | ||
- id: ansible-navigator | ||
exec: | ||
label: "Ansible-Navigator: Start ansible-navigator" | ||
commandLine: | | ||
if [ ! -d "$HOME/.cache/ansible-navigator" ]; then | ||
mkdir -p "$HOME/.cache/ansible-navigator" | ||
fi | ||
cp /usr/local/lib/python3.11/site-packages/ansible_navigator/data/catalog_collections.py $HOME/.cache/ansible-navigator | ||
ansible-navigator --ee false | ||
workingDir: ${PROJECTS_ROOT}/ansible-devspaces-demo | ||
component: tooling-container | ||
projects: | ||
- name: ansible-devspaces-demo | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=ansible |
Binary file added
BIN
+30.9 KB
...vfile-registry/air-gap/devspaces-samples-ansible-devspaces-demo-devspaces-3.16-rhel-8.zip
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
...devfile-registry/air-gap/devspaces-samples-c-plus-plus-devspaces-3.16-rhel-8-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,16 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: cpp | ||
components: | ||
- name: tools | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
memoryLimit: '2Gi' | ||
memoryRequest: '1Gi' | ||
cpuLimit: '1' | ||
cpuRequest: '0.5' | ||
mountSources: true | ||
projects: | ||
- name: c-plus-plus | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=cpp |
Binary file added
BIN
+139 KB
...packages/devfile-registry/air-gap/devspaces-samples-c-plus-plus-devspaces-3.16-rhel-8.zip
Binary file not shown.
52 changes: 52 additions & 0 deletions
52
...e-registry/air-gap/devspaces-samples-dotnet-web-simple-devspaces-3.16-rhel-8-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,52 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: dotnet | ||
components: | ||
- name: tools | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
memoryLimit: '2Gi' | ||
memoryRequest: '1Gi' | ||
cpuLimit: '1' | ||
cpuRequest: '0.5' | ||
mountSources: true | ||
endpoints: | ||
- exposure: public | ||
name: 'hello-endpoint' | ||
protocol: https | ||
targetPort: 5032 | ||
volumeMounts: | ||
- name: nuget | ||
path: /home/user/.nuget | ||
- name: nuget | ||
volume: | ||
size: 1G | ||
commands: | ||
- id: 1-update-dependencies | ||
exec: | ||
label: 1.Update dependencies | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/dotnet-web-simple | ||
commandLine: "dotnet restore" | ||
group: | ||
kind: build | ||
- id: 2-build | ||
exec: | ||
label: 2.Build | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/dotnet-web-simple | ||
commandLine: "dotnet build" | ||
group: | ||
kind: build | ||
- id: 3-run | ||
exec: | ||
label: 3.Run | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/dotnet-web-simple | ||
commandLine: "dotnet run" | ||
group: | ||
kind: run | ||
projects: | ||
- name: dotnet-web-simple | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=dotnet |
Binary file added
BIN
+6.58 KB
...es/devfile-registry/air-gap/devspaces-samples-dotnet-web-simple-devspaces-3.16-rhel-8.zip
Binary file not shown.
41 changes: 41 additions & 0 deletions
41
...registry/air-gap/devspaces-samples-golang-health-check-devspaces-3.16-rhel-8-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,41 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: golang | ||
components: | ||
- name: tools | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
memoryLimit: '2Gi' | ||
memoryRequest: '1Gi' | ||
cpuLimit: '1' | ||
cpuRequest: '0.5' | ||
mountSources: true | ||
env: | ||
- name: GOCACHE | ||
value: /tmp/.cache | ||
endpoints: | ||
- exposure: public | ||
name: 'health-check' | ||
protocol: https | ||
targetPort: 8080 | ||
commands: | ||
- id: build | ||
exec: | ||
label: 1.Build | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/golang-health-check | ||
commandLine: go build | ||
group: | ||
kind: build | ||
- id: run | ||
exec: | ||
label: 2.Run | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/golang-health-check | ||
commandLine: ./golang-health-check | ||
group: | ||
kind: run | ||
projects: | ||
- name: golang-health-check | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=go |
Binary file added
BIN
+15.9 KB
.../devfile-registry/air-gap/devspaces-samples-golang-health-check-devspaces-3.16-rhel-8.zip
Binary file not shown.
35 changes: 35 additions & 0 deletions
35
...gistry/air-gap/devspaces-samples-lombok-project-sample-devspaces-3.16-rhel-8-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,35 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: java-lombok | ||
components: | ||
- name: tools | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
memoryLimit: '3Gi' | ||
memoryRequest: '2Gi' | ||
cpuLimit: '4' | ||
cpuRequest: '1' | ||
endpoints: | ||
- exposure: none | ||
name: debug | ||
protocol: tcp | ||
targetPort: 5005 | ||
volumeMounts: | ||
- name: m2 | ||
path: /home/user/.m2 | ||
- name: m2 | ||
volume: | ||
size: 1G | ||
commands: | ||
- id: build | ||
exec: | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/lombok-project-sample | ||
commandLine: mvn clean install | ||
group: | ||
kind: build | ||
isDefault: true | ||
projects: | ||
- name: lombok-project-sample | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=java-lombok |
Binary file added
BIN
+12.1 KB
...evfile-registry/air-gap/devspaces-samples-lombok-project-sample-devspaces-3.16-rhel-8.zip
Binary file not shown.
68 changes: 68 additions & 0 deletions
68
...gistry/air-gap/devspaces-samples-nodejs-mongodb-sample-devspaces-3.16-rhel-8-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,68 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: nodejs-mongodb | ||
components: | ||
- name: nodejs | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
env: | ||
- name: SECRET | ||
value: 220fd770-c028-480d-8f95-f84353c7d55a | ||
- name: NODE_ENV | ||
value: production | ||
endpoints: | ||
- exposure: public | ||
name: nodejs | ||
targetPort: 8080 | ||
protocol: https | ||
memoryLimit: '1Gi' | ||
memoryRequest: '512Mi' | ||
cpuLimit: '2' | ||
cpuRequest: '1' | ||
mountSources: true | ||
volumeMounts: | ||
- name: npm | ||
path: /home/user/.npm | ||
- name: npm | ||
volume: | ||
size: 1G | ||
- name: mongo | ||
container: | ||
image: registry.redhat.io/rhscl/mongodb-36-rhel7:1-50 | ||
env: | ||
- name: MONGODB_USER | ||
value: user | ||
- name: MONGODB_PASSWORD | ||
value: password | ||
- name: MONGODB_DATABASE | ||
value: guestbook | ||
- name: MONGODB_ADMIN_PASSWORD | ||
value: password | ||
endpoints: | ||
- name: mongodb | ||
exposure: internal | ||
targetPort: 27017 | ||
memoryLimit: '512Mi' | ||
memoryRequest: '256Mi' | ||
cpuLimit: '1' | ||
cpuRequest: '0.25' | ||
mountSources: false | ||
volumeMounts: | ||
- name: mongo-storage | ||
path: /var/lib/mongodb/data | ||
- name: mongo-storage | ||
volume: | ||
size: 1G | ||
commands: | ||
- id: 1-run | ||
exec: | ||
label: "Run the application" | ||
component: nodejs | ||
workingDir: ${PROJECTS_ROOT}/nodejs-mongodb-sample | ||
commandLine: "npm install && node --inspect=9229 app.js" | ||
group: | ||
kind: run | ||
projects: | ||
- name: nodejs-mongodb-sample | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=nodejs-mongodb |
Binary file added
BIN
+33.4 KB
...evfile-registry/air-gap/devspaces-samples-nodejs-mongodb-sample-devspaces-3.16-rhel-8.zip
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
...ile-registry/air-gap/devspaces-samples-php-hello-world-devspaces-3.16-rhel-8-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,24 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: php-hello-world | ||
components: | ||
- name: tools | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
memoryLimit: '2Gi' | ||
memoryRequest: '1Gi' | ||
cpuLimit: '1' | ||
cpuRequest: '0.5' | ||
commands: | ||
- id: run | ||
exec: | ||
label: "Run the application" | ||
component: tools | ||
workingDir: ${PROJECTS_ROOT}/php-hello-world | ||
commandLine: php hello-world.php | ||
group: | ||
kind: run | ||
projects: | ||
- name: php-hello-world | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=php |
Binary file added
BIN
+9.2 KB
...ages/devfile-registry/air-gap/devspaces-samples-php-hello-world-devspaces-3.16-rhel-8.zip
Binary file not shown.
31 changes: 31 additions & 0 deletions
31
...-registry/air-gap/devspaces-samples-python-hello-world-devspaces-3.16-rhel-8-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,31 @@ | ||
schemaVersion: 2.2.2 | ||
metadata: | ||
name: python-hello-world | ||
components: | ||
- name: python | ||
container: | ||
image: registry.redhat.io/devspaces/udi-rhel8:3.16 | ||
volumeMounts: | ||
- name: venv | ||
path: /home/user/.venv | ||
memoryLimit: '2Gi' | ||
memoryRequest: '1Gi' | ||
cpuLimit: '2' | ||
cpuRequest: '1' | ||
mountSources: true | ||
- name: venv | ||
volume: | ||
size: 1G | ||
commands: | ||
- id: run | ||
exec: | ||
label: "Run the application" | ||
component: python | ||
workingDir: ${PROJECTS_ROOT}/python-hello-world | ||
commandLine: python -m venv .venv && . .venv/bin/activate && python hello-world.py | ||
group: | ||
kind: run | ||
projects: | ||
- name: python-hello-world | ||
zip: | ||
location: CHE_DASHBOARD_INTERNAL_URL/dashboard/api/airgap-sample/project/download?id=python |
Binary file added
BIN
+6.53 KB
...s/devfile-registry/air-gap/devspaces-samples-python-hello-world-devspaces-3.16-rhel-8.zip
Binary file not shown.
Oops, something went wrong.