Skip to content

Commit

Permalink
re-add metadata.name to Devfiles used by tests that are not dependent…
Browse files Browse the repository at this point in the history
… on this field
  • Loading branch information
rm3l committed Aug 16, 2022
1 parent b6f7b27 commit 3b99e67
Show file tree
Hide file tree
Showing 31 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.2.0
# metadata:
#name: nodejs
metadata:
name: nodejs
variables:
CONTAINER_IMAGE: quay.io/unknown-account/myimage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
schemaVersion: 2.2.0
metadata:
language: javascript
#name: devfile-nodejs-deploy
name: devfile-nodejs-deploy
projectType: nodejs
variables:
CONTAINER_IMAGE: quay.io/tkral/devfile-nodejs-deploy:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: mynodejs
name: mynodejs
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: mynodejs
name: mynodejs
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: nodejs-prj1-api-abhz
name: nodejs-prj1-api-abhz
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
schemaVersion: 2.2.0
metadata:
language: javascript
#name: devfile-nodejs-deploy
name: devfile-nodejs-deploy
projectType: nodejs
variables:
CONTAINER_IMAGE: localhost:5000/devfile-nodejs-deploy:0.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: nodejs-prj1-api-abhz
name: nodejs-prj1-api-abhz
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: nodejs-prj1-api-abhz
name: nodejs-prj1-api-abhz
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.2.0
metadata:
#name: nodejs
name: nodejs
projectType: nodejs
language: nodejs
starterProjects:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.2.0
metadata:
#name: nodejs
name: nodejs
projectType: nodejs
language: nodejs
starterProjects:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
# name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
#name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: nodejs-ex
name: nodejs-ex
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

schemaVersion: 2.1.0
metadata:
#name: new-ol-version
name: new-ol-version
description: Child devfile to test OL image updating
parent:
uri: https://github.com/OpenLiberty/application-stack/releases/download/maven-0.7.0/devfile.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
#name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
#name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: my-nodejs-app
name: my-nodejs-app
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: my-nodejs-app
name: my-nodejs-app
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: my-nodejs-app
name: my-nodejs-app
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
metadata:
#name: nodejs
name: nodejs
projectType: nodejs
language: nodejs
starterProjects:
Expand Down
4 changes: 2 additions & 2 deletions tests/examples/source/devfiles/nodejs/devfile-with-tag.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
#name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metadata:
displayName: Node.js Runtime
icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg
language: javascript
#name: nodejs-prj1-api-abhz
name: nodejs-prj1-api-abhz
projectType: nodejs
tags:
- NodeJS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
#name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schemaVersion: 2.0.0
# metadata:
#name: nodejs
metadata:
name: nodejs
starterProjects:
- name: nodejs-starter
git:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ components:
name: outerloop-service
metadata:
language: javascript
#name: my-nodejs-without-buildctx
name: my-nodejs-without-buildctx
projectType: nodejs
schemaVersion: 2.2.0
variables:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
displayName: Python
icon: https://www.python.org/static/community_logos/python-logo-generic.svg
language: python
#name: python-prj1-api-cajf
name: python-prj1-api-cajf
projectType: python
tags:
- Python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metadata:
globalMemoryLimit: 2674Mi
icon: https://spring.io/images/projects/spring-edf462fec682b9d48cf628eaf9e19521.svg
language: java
#name: java-springboot-springboot-zbgd
name: java-springboot-springboot-zbgd
projectType: spring
tags:
- Java
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 2.0.0
# metadata:
#name: myspringbootproject
metadata:
name: myspringbootproject
starterProjects:
- name: springbootproject
git:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 2.0.0
metadata:
#name: myspringbootproject
name: myspringbootproject
language: java
starterProjects:
- name: springbootproject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 2.0.0
# metadata:
# name: java-springboot
metadata:
name: java-springboot
starterProjects:
- name: springbootproject
subDir: "/src/main"
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/source/devfiles/springboot/devfile.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
schemaVersion: 2.0.0
metadata:
#name: java-spring-boot
name: java-spring-boot
language: java
projectType: spring
starterProjects:
Expand Down

0 comments on commit 3b99e67

Please sign in to comment.