-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update devfile integration tests for port
Signed-off-by: Maysun J Faisal <maysun.j.faisal@ibm.com>
- Loading branch information
1 parent
b7b1c5a
commit 08bd146
Showing
6 changed files
with
71 additions
and
50 deletions.
There are no files selected for viewing
22 changes: 8 additions & 14 deletions
22
tests/examples/source/devfiles/nodejs/devfile-no-endpoints.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 |
---|---|---|
@@ -1,34 +1,28 @@ | ||
apiVersion: 1.0.0 | ||
metadata: | ||
name: test-devfile | ||
projects: | ||
- | ||
name: nodejs-web-app | ||
source: | ||
type: git | ||
location: "https://github.com/che-samples/web-nodejs-sample.git" | ||
components: | ||
- type: dockerimage | ||
image: quay.io/eclipse/che-nodejs10-ubi:nightly | ||
alias: runtime | ||
memoryLimit: 1024Mi | ||
mountSources: true | ||
commands: | ||
- name: build | ||
actions: | ||
- type: exec | ||
component: runtime | ||
command: "npm install" | ||
workdir: ${CHE_PROJECTS_ROOT}/app | ||
- name: devbuild | ||
actions: | ||
- type: exec | ||
component: runtime | ||
command: "npm install" | ||
workdir: ${CHE_PROJECTS_ROOT}/app | ||
- name: run | ||
actions: | ||
- type: exec | ||
component: runtime | ||
command: "nodemon app.js" | ||
workdir: ${CHE_PROJECTS_ROOT}/app | ||
workdir: ${CHE_PROJECTS_ROOT}/nodejs-web-app/app | ||
- name: devrun | ||
actions: | ||
- type: exec | ||
component: runtime | ||
command: "nodemon app.js" | ||
workdir: ${CHE_PROJECTS_ROOT}/app | ||
workdir: ${CHE_PROJECTS_ROOT}/nodejs-web-app/app |
8 changes: 7 additions & 1 deletion
8
tests/examples/source/devfiles/nodejs/devfile-with-volumes.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
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
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