forked from devfile/library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request devfile#183 from feloy/tests-1099/test-ParseDevfil…
…eAndValidate Improve tests for ParseDevfileAndValidate
- Loading branch information
Showing
3 changed files
with
312 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
commands: | ||
- exec: | ||
commandLine: ./main {{ PARAMS }} | ||
component: runtime | ||
group: | ||
isDefault: true | ||
kind: run | ||
workingDir: ${PROJECT_SOURCE} | ||
id: run | ||
components: | ||
- container: | ||
endpoints: | ||
- name: http | ||
targetPort: 8080 | ||
image: golang:latest | ||
memoryLimit: 1024Mi | ||
mountSources: true | ||
name: runtime | ||
- kubernetes: | ||
uri: http://127.0.0.1:8080/outerloop-deploy.yaml | ||
name: outerloop-deploy | ||
- openshift: | ||
uri: http://127.0.0.1:8080/outerloop-service.yaml | ||
name: outerloop-deploy2 | ||
metadata: | ||
description: Stack with the latest Go version | ||
displayName: Go Runtime | ||
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg | ||
language: go | ||
name: my-go-app | ||
projectType: go | ||
tags: | ||
- Go | ||
version: 1.0.0 | ||
schemaVersion: 2.2.0 |
Oops, something went wrong.