forked from sahil143/devfile-sample-code-with-quarkus
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevfile.yaml
43 lines (43 loc) · 1.02 KB
/
devfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
schemaVersion: 2.2.0
metadata:
name: java-quarkus
version: 1.1.0
provider: Red Hat
supportUrl: https://github.com/devfile-samples/devfile-support#support-information
website: https://quarkus.io
displayName: Quarkus Java
description: Upstream Quarkus with Java+GraalVM
tags: ["Java", "Quarkus"]
projectType: "quarkus"
language: "java"
attributes:
alpha.dockerimage-port: 8081
parent:
id: java-quarkus
registryUrl: "https://registry.devfile.io"
components:
- name: outerloop-build
image:
imageName: java-quarkus-image:latest
dockerfile:
uri: src/main/docker/Dockerfile.jvm.staged
buildContext: .
rootRequired: false
- name: outerloop-deploy
kubernetes:
uri: outerloop-deploy.yaml
commands:
- id: build-image
apply:
component: outerloop-build
- id: deployk8s
apply:
component: outerloop-deploy
- id: deploy
composite:
commands:
- build-image
- deployk8s
group:
kind: deploy
isDefault: true