-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
- Loading branch information
1 parent
3ccb6bc
commit 7fb555c
Showing
15 changed files
with
334 additions
and
35 deletions.
There are no files selected for viewing
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
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
21 changes: 21 additions & 0 deletions
21
...e-api-devfile/src/test/resources/schema_test/command/devfile_missing_command_actions.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,21 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: theia | ||
type: cheEditor | ||
id: eclipse/theia:0.0.3 | ||
commands: | ||
- name: build |
25 changes: 25 additions & 0 deletions
25
...core-api-devfile/src/test/resources/schema_test/command/devfile_missing_command_name.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,25 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: theia | ||
type: cheEditor | ||
id: eclipse/theia:0.0.3 | ||
commands: | ||
- actions: | ||
- type: exec | ||
tool: mvn-stack | ||
command: mvn package | ||
workdir: /projects/spring-petclinic |
34 changes: 34 additions & 0 deletions
34
...api-devfile/src/test/resources/schema_test/command/devfile_multiple_commands_actions.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,34 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: mysql | ||
type: openshift | ||
local: petclinic.yaml | ||
selector: | ||
app.kubernetes.io/name: mysql | ||
app.kubernetes.io/component: database | ||
app.kubernetes.io/part-of: petclinic | ||
commands: | ||
- name: build | ||
actions: | ||
- type: exec | ||
tool: mysql | ||
command: mvn clean | ||
workdir: /projects/spring-petclinic | ||
- type: exec | ||
tool: mysql | ||
command: mvn package | ||
workdir: /projects/spring-petclinic |
17 changes: 17 additions & 0 deletions
17
...ter/che-core-api-devfile/src/test/resources/schema_test/devfile/devfile_missing_name.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,17 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
tools: | ||
- name: maven | ||
id: eclipse/maven-jdk8:1.0.0 |
17 changes: 17 additions & 0 deletions
17
...core-api-devfile/src/test/resources/schema_test/devfile/devfile_missing_spec_version.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,17 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: maven | ||
id: eclipse/maven-jdk8:1.0.0 |
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
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
18 changes: 18 additions & 0 deletions
18
...rc/test/resources/schema_test/editor_plugin_tool/devfile_editor_tool_with_missing_id.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,18 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: theia-ide | ||
type: cheEditor |
30 changes: 30 additions & 0 deletions
30
...file/src/test/resources/schema_test/kubernetes_openshift_tool/devfile_openshift_tool.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,30 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: mysql | ||
type: openshift | ||
local: petclinic.yaml | ||
selector: | ||
app.kubernetes.io/name: mysql | ||
app.kubernetes.io/component: database | ||
app.kubernetes.io/part-of: petclinic | ||
commands: | ||
- name: build | ||
actions: | ||
- type: exec | ||
tool: mysql | ||
command: mvn clean | ||
workdir: /projects/spring-petclinic |
18 changes: 18 additions & 0 deletions
18
...rces/schema_test/kubernetes_openshift_tool/devfile_openshift_tool_with_missing_local.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,18 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- name: mysql | ||
type: openshift |
18 changes: 18 additions & 0 deletions
18
...r/che-core-api-devfile/src/test/resources/schema_test/tool/devfile_missing_tool_name.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,18 @@ | ||
# | ||
# Copyright (c) 2012-2018 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 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
--- | ||
specVersion: 0.0.1 | ||
name: petclinic-dev-environment | ||
tools: | ||
- type: chePlugin | ||
id: eclipse/maven-jdk8:1.0.0 |
Oops, something went wrong.