-
Notifications
You must be signed in to change notification settings - Fork 165
/
devfile.yaml
52 lines (52 loc) · 1.2 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
44
45
46
47
48
49
50
51
52
#
# Copyright (c) 2022 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
schemaVersion: 2.2.2
metadata:
name: che-docs
components:
- name: tools
container:
args:
- tail
- "-f"
- "/dev/null"
endpoints:
- exposure: public
name: livereload
protocol: https
targetPort: 35729
- attributes:
path: /
exposure: public
name: preview-server
protocol: https
targetPort: 4000
image: "quay.io/eclipse/che-docs:next"
env:
- name: SHELL
value: /bin/bash
memoryLimit: 2Gi
memoryRequest: 256Mi
commands:
- exec:
commandLine: sh tools/preview.sh
component: tools
group:
isDefault: true
kind: build
workingDir: "${PROJECT_SOURCE}"
id: start-preview-server
- exec:
commandLine: vale sync
component: tools
group:
isDefault: false
kind: build
workingDir: "${PROJECT_SOURCE}"
id: vale-sync