Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload parent in prep for schema tests #53

Merged
merged 1 commit into from
Jan 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions tests/v2/devfiles/samples/testParent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
schemaVersion: "2.0.0"
commands:
- id: testexecparent1
exec:
commandLine: 'echo "Hello ${GREETING} ${USER}"'
component: parserTest-tests
group:
isDefault: false
kind: run
hotReloadCapable: false
label: "Command Exec run"
env:
- name: "USER"
value: "Test Tester"
- name: "GREETING"
value: "Hello"
workingDir: This Directory
- id: testcompositeparent1
attributes:
test: Composite Test test
scope: Api
composite:
label: Composite Test
commands:
- runTest1
- runTest2
parallel: false
group:
isDefault: true
kind: test
components:
- container:
args: [ Arg1,Arg2 ]
command: [ run1,run2 ]
dedicatedPod: true
image: "tester"
memoryLimit: "128M"
mountSources: false
endpoints:
- name: test-endpoint
attributes:
test: Apply Test
scope: Api
exposure: public
path: test-path
protocol: http
secure: false
targetPort: 1234
volumeMounts:
- name: volume
path: mount
sourceMapping: sourceMapping
env:
- name: envName
value: envValue
name: "testcontainerparent1"
- name: "testopenshiftparent1"
openshift:
uri: test-uri
endpoints:
- name: test-endpoint
attributes:
test: Apply Test
scope: Api
exposure: public
path: test-path
protocol: http
secure: false
targetPort: 1234
projects:
- name: testparentproject1
git:
checkoutFrom:
remote: test-branch
remotes:
origin: test-origin
clonePath: /Users/test/projects
sparseCheckoutDirs: [thisDir, thatDir]
- name: testparentproject2
github:
checkoutFrom:
remote: test-branch
remotes:
origin: test-origin
clonePath: /Users/test/projects
sparseCheckoutDirs: [thisDir, thatDir]
- name: testparentproject3
zip:
location: git-repo.zip
clonePath: /Users/test/projects
sparseCheckoutDirs: [thisDir, thatDir]
starterProjects:
- name: testparentstarterproject1
git:
checkoutFrom:
remote: test-branch
remotes:
origin: test-origin
description: Test starter project
subDir: test-subdir
- name: testparentstarterproject2
github:
checkoutFrom:
remote: test-branch
remotes:
origin: test-origin
description: Test starter project
subDir: test-subdir
- name: testparentstarterproject3
zip:
location: git-repo.zip
description: Test starter project
subDir: test-subdir