From c47179382c3b954120ada73f81b9189ccd14ef8f Mon Sep 17 00:00:00 2001 From: thepetk Date: Tue, 7 Mar 2023 17:05:36 +0000 Subject: [PATCH] Add iconUrls to test stacks, jsons and samples --- .../generator/tests/registry/index_extra.json | 2 +- .../generator/tests/registry/index_main.json | 19 ++++++++++++++++++- .../code-with-quarkus/1.1.0/devfile.yaml | 1 + .../samples/nodejs-basic/1.0.0/devfile.yaml | 1 + .../samples/nodejs-basic/1.0.1/devfile.yaml | 1 + .../registry/stacks/java-maven/devfile.yaml | 1 + .../stacks/java-openliberty/devfile.yaml | 1 + .../registry/stacks/java-quarkus/devfile.yaml | 1 + .../registry/stacks/java-vertx/devfile.yaml | 1 + .../java-wildfly-bootable-jar/devfile.yaml | 1 + .../registry/stacks/java-wildfly/devfile.yaml | 1 + .../tests/registry/stacks/nodejs/devfile.yaml | 1 + .../stacks/python-django/devfile.yaml | 1 + .../tests/registry/stacks/python/devfile.yaml | 1 + 14 files changed, 31 insertions(+), 2 deletions(-) diff --git a/index/generator/tests/registry/index_extra.json b/index/generator/tests/registry/index_extra.json index a605f4c9b..c21021aff 100644 --- a/index/generator/tests/registry/index_extra.json +++ b/index/generator/tests/registry/index_extra.json @@ -8,7 +8,7 @@ "NodeJS", "Express" ], - "icon": "nodejsIcon.svg", + "icon": "https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg", "projectType": "nodejs", "language": "nodejs", "versions": [ diff --git a/index/generator/tests/registry/index_main.json b/index/generator/tests/registry/index_main.json index 92937ebd3..6deeda671 100644 --- a/index/generator/tests/registry/index_main.json +++ b/index/generator/tests/registry/index_main.json @@ -53,6 +53,7 @@ }, { "name": "java-maven", + "icon": "https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/java-maven.jpg", "displayName": "Maven Java", "description": "Upstream Maven and OpenJDK 11", "type": "stack", @@ -65,6 +66,7 @@ "version": "1.1.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/java-maven.jpg", "description": "Upstream Maven and OpenJDK 11", "tags": ["Java", "Maven"], "links": { @@ -84,6 +86,7 @@ }, { "name": "java-openliberty", + "icon": "https://raw.githubusercontent.com/OpenLiberty/logos/7fbb132949b9b2589e18c8d5665c1b107028a21d/logomark/svg/OL_logomark.svg", "displayName": "Open Liberty", "description": "Java application stack using Open Liberty runtime", "type": "stack", @@ -95,6 +98,7 @@ "version": "0.5.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://raw.githubusercontent.com/OpenLiberty/logos/7fbb132949b9b2589e18c8d5665c1b107028a21d/logomark/svg/OL_logomark.svg", "description": "Java application stack using Open Liberty runtime", "links": { "self": "devfile-catalog/java-openliberty:0.5.0" @@ -113,6 +117,7 @@ }, { "name": "java-quarkus", + "icon": "https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg", "displayName": "Quarkus Java", "description": "Upstream Quarkus with Java+GraalVM", "type": "stack", @@ -125,6 +130,7 @@ "version": "1.1.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg", "description": "Upstream Quarkus with Java+GraalVM", "tags": ["Java", "Quarkus"], "links": { @@ -178,6 +184,7 @@ "name": "java-vertx", "displayName": "Vert.x Java", "description": "Upstream Vert.x using Java", + "icon": "https://raw.githubusercontent.com/vertx-web-site/vertx-logo/master/vertx-logo.svg", "type": "stack", "tags": ["Java", "Vert.x"], "projectType": "vertx", @@ -187,6 +194,7 @@ "version": "1.1.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://raw.githubusercontent.com/vertx-web-site/vertx-logo/master/vertx-logo.svg", "description": "Upstream Vert.x using Java", "tags": ["Java", "Vert.x"], "links": { @@ -226,6 +234,7 @@ }, { "name": "java-wildfly", + "icon": "https://design.jboss.org/wildfly/logo/final/wildfly_logomark.svg", "displayName": "WildFly Java", "description": "Upstream WildFly", "type": "stack", @@ -265,6 +274,7 @@ }, { "name": "java-wildfly-bootable-jar", + "icon": "https://design.jboss.org/wildfly/logo/final/wildfly_logomark.svg", "displayName": "WildFly Bootable Jar", "description": "Java stack with WildFly in bootable Jar mode, OpenJDK 11 and Maven 3.5", "type": "stack", @@ -276,6 +286,7 @@ "version": "1.0.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://design.jboss.org/wildfly/logo/final/wildfly_logomark.svg", "description": "Java stack with WildFly in bootable Jar mode, OpenJDK 11 and Maven 3.5", "tags": [ "RHEL8", @@ -312,6 +323,7 @@ }, { "name": "nodejs", + "icon": "https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg", "displayName": "NodeJS Runtime", "description": "Stack with NodeJS 12", "type": "stack", @@ -323,6 +335,7 @@ "version": "1.0.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg", "description": "Stack with NodeJS 12", "tags": ["NodeJS", "Express", "ubi8"], "links": { @@ -342,6 +355,7 @@ }, { "name": "python", + "icon": "https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/python.svg", "displayName": "Python", "description": "Python Stack with Python 3.7", "type": "stack", @@ -353,6 +367,7 @@ "version": "1.0.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/python.svg", "description": "Python Stack with Python 3.7", "tags": ["Python", "pip"], "links": { @@ -373,6 +388,7 @@ { "name": "python-django", "displayName": "Django", + "icon": "https://static.djangoproject.com/img/logos/django-logo-positive.svg", "description": "Python3.7 with Django", "type": "stack", "tags": ["Python", "pip", "Django"], @@ -383,6 +399,7 @@ "version": "1.0.0", "schemaVersion": "2.2.0", "default": true, + "icon": "https://static.djangoproject.com/img/logos/django-logo-positive.svg", "description": "Python3.7 with Django", "tags": ["Python", "pip", "Django"], "links": { @@ -406,7 +423,7 @@ "description": "A simple Hello World application", "type": "sample", "tags": ["NodeJS", "Express"], - "icon": "nodejsIcon.svg", + "icon": "icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg", "projectType": "nodejs", "language": "nodejs", "versions": [ diff --git a/index/generator/tests/registry/samples/code-with-quarkus/1.1.0/devfile.yaml b/index/generator/tests/registry/samples/code-with-quarkus/1.1.0/devfile.yaml index a77942058..d4e3d94b6 100644 --- a/index/generator/tests/registry/samples/code-with-quarkus/1.1.0/devfile.yaml +++ b/index/generator/tests/registry/samples/code-with-quarkus/1.1.0/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.0.0 metadata: name: java-quarkus + icon: https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg version: 1.1.0 attributes: alpha.build-context: . diff --git a/index/generator/tests/registry/samples/nodejs-basic/1.0.0/devfile.yaml b/index/generator/tests/registry/samples/nodejs-basic/1.0.0/devfile.yaml index 5fa08e605..8be376200 100644 --- a/index/generator/tests/registry/samples/nodejs-basic/1.0.0/devfile.yaml +++ b/index/generator/tests/registry/samples/nodejs-basic/1.0.0/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.0.0 metadata: name: nodejs + icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg version: 1.0.1 displayName: Node.js Runtime description: Stack with Node.js 14 diff --git a/index/generator/tests/registry/samples/nodejs-basic/1.0.1/devfile.yaml b/index/generator/tests/registry/samples/nodejs-basic/1.0.1/devfile.yaml index 77164e36f..fd494e290 100644 --- a/index/generator/tests/registry/samples/nodejs-basic/1.0.1/devfile.yaml +++ b/index/generator/tests/registry/samples/nodejs-basic/1.0.1/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: nodejs + icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg version: 1.0.1 displayName: Node.js Runtime description: Stack with Node.js 14 diff --git a/index/generator/tests/registry/stacks/java-maven/devfile.yaml b/index/generator/tests/registry/stacks/java-maven/devfile.yaml index 744702fff..b5e7f2676 100644 --- a/index/generator/tests/registry/stacks/java-maven/devfile.yaml +++ b/index/generator/tests/registry/stacks/java-maven/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: java-maven + icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/java-maven.jpg version: 1.1.0 displayName: Maven Java description: Upstream Maven and OpenJDK 11 diff --git a/index/generator/tests/registry/stacks/java-openliberty/devfile.yaml b/index/generator/tests/registry/stacks/java-openliberty/devfile.yaml index 9b16a26ef..07b6b7d5d 100644 --- a/index/generator/tests/registry/stacks/java-openliberty/devfile.yaml +++ b/index/generator/tests/registry/stacks/java-openliberty/devfile.yaml @@ -17,6 +17,7 @@ schemaVersion: 2.2.0 metadata: name: java-openliberty + icon: https://raw.githubusercontent.com/OpenLiberty/logos/7fbb132949b9b2589e18c8d5665c1b107028a21d/logomark/svg/OL_logomark.svg version: 0.5.0 description: Java application stack using Open Liberty runtime displayName: "Open Liberty" diff --git a/index/generator/tests/registry/stacks/java-quarkus/devfile.yaml b/index/generator/tests/registry/stacks/java-quarkus/devfile.yaml index b7746e290..6534d9023 100644 --- a/index/generator/tests/registry/stacks/java-quarkus/devfile.yaml +++ b/index/generator/tests/registry/stacks/java-quarkus/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: java-quarkus + icon: https://design.jboss.org/quarkus/logo/final/SVG/quarkus_icon_rgb_default.svg version: 1.1.0 website: https://quarkus.io displayName: Quarkus Java diff --git a/index/generator/tests/registry/stacks/java-vertx/devfile.yaml b/index/generator/tests/registry/stacks/java-vertx/devfile.yaml index a3bd188c1..431e1c0c1 100644 --- a/index/generator/tests/registry/stacks/java-vertx/devfile.yaml +++ b/index/generator/tests/registry/stacks/java-vertx/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: java-vertx + icon: https://raw.githubusercontent.com/vertx-web-site/vertx-logo/master/vertx-logo.svg version: 1.1.0 displayName: Vert.x Java description: Upstream Vert.x using Java diff --git a/index/generator/tests/registry/stacks/java-wildfly-bootable-jar/devfile.yaml b/index/generator/tests/registry/stacks/java-wildfly-bootable-jar/devfile.yaml index 4b6094da4..6bddf008e 100644 --- a/index/generator/tests/registry/stacks/java-wildfly-bootable-jar/devfile.yaml +++ b/index/generator/tests/registry/stacks/java-wildfly-bootable-jar/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: java-wildfly-bootable-jar + icon: https://design.jboss.org/wildfly/logo/final/wildfly_logomark.svg version: 1.0.0 website: https://docs.wildfly.org/bootablejar/ displayName: WildFly Bootable Jar diff --git a/index/generator/tests/registry/stacks/java-wildfly/devfile.yaml b/index/generator/tests/registry/stacks/java-wildfly/devfile.yaml index 9e95e503d..03a1498b3 100644 --- a/index/generator/tests/registry/stacks/java-wildfly/devfile.yaml +++ b/index/generator/tests/registry/stacks/java-wildfly/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: java-wildfly + icon: https://design.jboss.org/wildfly/logo/final/wildfly_logomark.svg version: 1.0.0 website: https://wildfly.org displayName: WildFly Java diff --git a/index/generator/tests/registry/stacks/nodejs/devfile.yaml b/index/generator/tests/registry/stacks/nodejs/devfile.yaml index 10a813347..35190eec8 100644 --- a/index/generator/tests/registry/stacks/nodejs/devfile.yaml +++ b/index/generator/tests/registry/stacks/nodejs/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: nodejs + icon: https://nodejs.org/static/images/logos/nodejs-new-pantone-black.svg version: 1.0.0 displayName: NodeJS Runtime description: Stack with NodeJS 12 diff --git a/index/generator/tests/registry/stacks/python-django/devfile.yaml b/index/generator/tests/registry/stacks/python-django/devfile.yaml index cccebc8d2..127c45c22 100644 --- a/index/generator/tests/registry/stacks/python-django/devfile.yaml +++ b/index/generator/tests/registry/stacks/python-django/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: python-django + icon: https://static.djangoproject.com/img/logos/django-logo-positive.svg version: 1.0.0 displayName: Django description: Python3.7 with Django diff --git a/index/generator/tests/registry/stacks/python/devfile.yaml b/index/generator/tests/registry/stacks/python/devfile.yaml index 59db96483..d39ddf1a9 100644 --- a/index/generator/tests/registry/stacks/python/devfile.yaml +++ b/index/generator/tests/registry/stacks/python/devfile.yaml @@ -1,6 +1,7 @@ schemaVersion: 2.2.0 metadata: name: python + icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/python.svg version: 1.0.0 displayName: Python description: Python Stack with Python 3.7