Skip to content

Instantly share code, notes, and snippets.

@kadel
kadel / index.yaml
Last active December 6, 2023 16:08 — forked from rhdh-bot/DEPRECATED.md
RHDH CI build helmchart index.yaml
apiVersion: v1
entries:
developer-hub:
- annotations:
artifacthub.io/category: integration-delivery
artifacthub.io/license: Apache-2.0
artifacthub.io/links: |
- name: support
url: https://github.com/janus-idp/helm-backstage/issues
- name: Chart Source
@kadel
kadel / devfile.yaml
Created August 31, 2021 15:27
simple devfile
commands:
- exec:
commandLine: "echo build"
component: tools
group:
isDefault: true
kind: build
id: build
- exec:
commandLine: "sleep infinite"
@kadel
kadel / devfile.yaml
Created June 3, 2021 12:57
quarkus remote dev mode with odo
schemaVersion: 2.0.0
metadata:
name: java-quarkus-remotedev
version: 1.1.0
website: https://quarkus.io
starterProjects:
- name: community
zip:
location: https://code.quarkus.io/d?e=io.quarkus%3Aquarkus-resteasy&e=io.quarkus%3Aquarkus-micrometer&e=io.quarkus%3Aquarkus-smallrye-health&e=io.quarkus%3Aquarkus-openshift&cn=devfile
- name: redhat-product
@kadel
kadel / devfile.yaml
Created July 28, 2020 10:04
quarkus test devfile
schemaVersion: 2.0.0
metadata:
name: java-quarkus
version: 1.0.0
website: https://quarkus.io
projects:
- name: quarkus-ex
git:
location: https://github.com/odo-devfiles/quarkus-ex
components:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
component: {{.COMPONENT_NAME}}
stage: deploy
name: {{.COMPONENT_NAME}}
namespace: tkral-test
spec:
@kadel
kadel / devfile.yaml
Created May 14, 2020 08:04
odo devfile.yaml
apiVersion: 1.0.0
metadata:
name: odo
projects:
- name: odo
clonePath: src/github.com/openshift/odo
source:
location: 'https://github.com/kadel/odo.git'
type: git
components:
@kadel
kadel / test-stats.md
Last active April 9, 2020 17:31
odo test statistics

odo test statistics

Last update: 2020-04-09 17:31:45 (UTC)

Generated with https://github.com/kadel/odo-tools

FLAKY TESTS: Failed test scenarios in past 14 days

Failures Test Name
84 [Fail] odo preference and config command tests when using --now with config command [It] should successfully set and unset variables
22 [Fail] odo devfile url command tests Describing urls [It] should describe appropriate URL and error messages
19 [Fail] odo sub component command tests Creating component [It] should describe not pushed component when it is created with json output
@kadel
kadel / Dockerfile
Last active March 4, 2020 15:33
Dockerfile for github.com/kadel/demo-frontend
FROM node:12
EXPOSE 3000
WORKDIR /app
ADD . /app/
RUN npm install
RUN npm run build
@kadel
kadel / Dockerfile
Last active March 4, 2020 16:34
Dockerfile for github.com/kadel/demo-backend
FROM maven:3.6.3-jdk-11-openj9
WORKDIR /src
# to benefit from docker build cache
COPY pom.xml /src/pom.xml
RUN mvn dependency:go-offline
COPY . /src
RUN mvn package -DskipTests