Skip to content

Instantly share code, notes, and snippets.

View l0rd's full-sized avatar
👋

Mario Loriedo l0rd

👋
  • Red Hat
  • Paris, France
View GitHub Profile
@l0rd
l0rd / devfile-failing.yaml
Last active June 2, 2023 14:55
Test Self Signed Bit Bucket
schemaVersion: 2.2.0
metadata:
name: test-self-signed-bb
attributes:
controller.devfile.io/storage-type: ephemeral
projects:
- name: bitbucket-selfsigned
git:
remotes:
origin: "https://bitbucket-bitbucket-oauth2.apps.ds-airgap-v13.crw-qe.com/scm/~admin/public-bb-repo.git"
@l0rd
l0rd / k8s-component-devfile.yaml
Last active February 20, 2023 20:38
kubernetes component test
schemaVersion: 2.2.0
metadata:
name: SpringBoot 3 v5
#attributes:
# controller.devfile.io/storage-type: ephemeral
components:
- name: tools
container:
image: quay.io/devfile/universal-developer-image:ubi8-latest
env:
@l0rd
l0rd / devfile.yaml
Last active January 6, 2022 16:18
Devfile including Tekton VS Code Extension
apiVersion: 1.0.0
metadata:
name: tekton
components:
- type: chePlugin
id: redhat/vscode-tekton/latest
registryUrl: https://eclipse-che.github.io/che-plugin-registry/main/v3/
memoryLimit: 1G
cpuLimit: 1
@l0rd
l0rd / devworkspace-nodejs-che-theia-next.yaml
Created January 5, 2022 10:31
NodeJS DevWorkspace using CheTheia next
apiVersion: workspace.devfile.io/v1alpha2
kind: DevWorkspaceTemplate
metadata:
name: theia-ide-nodejs-web-app
spec:
commands:
- id: init-container-command
apply:
component: remote-runtime-injector
events:
@l0rd
l0rd / destroy.sh
Last active February 22, 2021 10:03
Scripts to provision Che on minikube
#!/bin/bash
set -o nounset
set -o errexit
export CHE_SERVER_NAMESPACE=workspaces-server
export MINIKUBE_PROFILE=minikube
# Switch to context minikube
kubectx ${MINIKUBE_PROFILE}
metadata:
name: GoodJorny777
components:
- type: cheEditor
reference: >-
https://raw.githubusercontent.com/AndrienkoAleksandr/che-plugin-registry/master/v3/plugins/eclipse/che-machine-exec-plugin/cloud-shell/meta.yaml
alias: cloudShell
- memoryLimit: 256Mi
type: dockerimage
alias: dev
@l0rd
l0rd / devfile.yaml
Created June 26, 2019 07:08
old chectl devfile
specVersion: 0.0.1
name: chectl
projects:
- name: chectl
source:
type: git
location: 'https://github.com/che-incubator/chectl.git'
@l0rd
l0rd / java-maven-devfile.yml
Last active April 16, 2019 09:31
che.openshift.io devfiles
---
specVersion: 0.0.1
name: java-hello-world-che7
projects:
- name: console-java-simple
source:
type: git
location: 'https://github.com/che-samples/console-java-simple.git'
tools:
- name: maven
@l0rd
l0rd / workspaceconfig.json
Created February 12, 2019 09:48
express-mongo workspace
{
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"demo/nodejs": {
"attributes": {
"memoryLimitBytes": "536870912"
},
"servers": {
@l0rd
l0rd / che-plugin.yaml
Created December 10, 2018 08:31
Script to package and Publish Theia on a private registry
version: 1.0.0
type: Che Editor
name: theia-ide
id: org.eclipse.che.editor.theia
title: Eclipse Theia for Eclipse Che
Description: Eclipse Theia
Icon: https://pbs.twimg.com/profile_images/929088242456190976/xjkS2L-0_400x400.jpg
endpoints:
- name: "theia"
public: true