Skip to content
Merged
Show file tree
Hide file tree
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
31 changes: 1 addition & 30 deletions console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,20 +324,6 @@
"abbr": "TC"
}
},
{
"type": "console.model-metadata",
"properties": {
"model": {
"group": "operator.tekton.dev",
"version": "v1alpha1",
"kind": "TektonHub"
},
"color": "#38812f",
"label": "%plugin__pipelines-console-plugin~TektonHub%",
"labelPlural": "%plugin__pipelines-console-plugin~TektonHubs%",
"abbr": "TH"
}
},
{
"type": "console.context-provider",
"properties": {
Expand Down Expand Up @@ -1480,7 +1466,7 @@
"properties": {
"type": "Community",
"title": "%plugin__pipelines-console-plugin~Community%",
"catalogDescription": "%plugin__pipelines-console-plugin~Browse tekton hub tasks.%"
"catalogDescription": "%plugin__pipelines-console-plugin~Browse community tasks.%"
},
"flags": {
"required": [
Expand All @@ -1504,21 +1490,6 @@
]
}
},
{
"type": "console.catalog/item-provider",
"properties": {
"catalogId": "pipelines-task-catalog",
"type": "Community",
"title": "%plugin__pipelines-console-plugin~Tasks%",
"provider": { "$codeRef": "catalog.TektonHubTaskProvider" }
},
"flags": {
"required": [
"OPENSHIFT_PIPELINE",
"HIDE_STATIC_PIPELINE_PLUGIN_PIPELINE_BUILDER"
]
}
},
{
"type": "console.catalog/item-provider",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,33 +118,6 @@ Feature: Create the pipeline from builder page
Then user can see the task in series gets removed


@regression @broken-test
Scenario Outline: Create a pipeline with TektonHub task not present in cluster from pipeline builder page: P-02-TC09
Given user is at Pipeline Builder page
When user enters pipeline name as "<pipeline_name>"
And user clicks Add task button under Tasks section
And user searches and select "<task_name>" in the list of items based on the "TektonHub" provider in quick search bar
And user clicks on Install and add button
And user clicks Create button on Pipeline Builder page
Then user will be redirected to Pipeline Details page with header name "<pipeline_name>"

Examples:
| pipeline_name | task_name |
| ptask-1 | kn |


@regression @broken-test
Scenario: Upgrade tasks that are already installed on the cluster in pipeline builder page: P-02-TC10
Given user is at Pipeline Builder page
When user enters pipeline name as "pipeline-client"
And user installs and removes "openshift-client" of "TektonHub" provider
And user clicks Add task button under Tasks section
And user searches "openshift-client" in quick search bar
And user changes version to "0.1"
And user clicks on Update and Add button
And user clicks Create button on Pipeline Builder page
Then user will be redirected to Pipeline Details page with header name "pipeline-client"


@regression @manual
Scenario: Create the pipeline from yaml editor: P-02-TC11
Expand Down Expand Up @@ -315,31 +288,6 @@ Feature: Create the pipeline from builder page
Then user will be able to see the output in sum and multiply task


@regression @manual
Scenario: Disable Tektonhub integration in the pipeline builder : P-02-TC22
Given user is at Search page
And user searches 'TektonConfig' in Resources dropdown
And user selects config with apiVersion operator.openshift.io/v1 option from Resources dropdown
And user clicks on "config" Name in TektonConfigs
And user switches to YAML tab
And user adds value of "spec.hub.params.value" as "false"
And user clicks on Save button
And user clicks on Pipeline tab in navigation menu
And user clicks Create Pipeline button
And user clicks Add task button under Tasks section
And user types 'git'
Then user will see Task only


@regression @manual
Scenario: Pipeline builder to support local Tekton Hub instances : P-02-TC23
Given user has setup tektonhub instance
# Refer to document https://docs.google.com/document/d/1HImc2DdtFKMWgk5dTm8Ib-I3wgnVXxdHxzX8Cn0jrZA/edit?usp=sharing for setting up tektonhub insance
And user is at Pipeline Builder page
When user clicks on Add task button under Tasks section
And user searches a tasks that is available in the local tektonhub instance
Then user will see the intended community task

# Marked following test broken due to issue https://issues.redhat.com/browse/OCPBUGS-59536
@regression @broken-test
Scenario Outline: Start pipeline with parameter of type array: P-02-TC24
Expand Down
5 changes: 1 addition & 4 deletions locales/en/plugin__pipelines-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"Block": "Block",
"Branch": "Branch",
"Branch/Tag": "Branch/Tag",
"Browse community tasks.": "Browse community tasks.",
"Browse for openshift pipeline tasks available in the cluster.": "Browse for openshift pipeline tasks available in the cluster.",
"Browse tekton hub tasks.": "Browse tekton hub tasks.",
"Browse...": "Browse...",
"Cancel": "Cancel",
"Cancelled": "Cancelled",
Expand Down Expand Up @@ -417,7 +417,6 @@
"Quick search": "Quick search",
"Quick search bar": "Quick search bar",
"Quick search list": "Quick search list",
"Read more": "Read more",
"Read more about setting up webhook": "Read more about setting up webhook",
"Read only (ROX)": "Read only (ROX)",
"Reason": "Reason",
Expand Down Expand Up @@ -554,8 +553,6 @@
"Tekton results": "Tekton results",
"TektonConfig": "TektonConfig",
"TektonConfigs": "TektonConfigs",
"TektonHub": "TektonHub",
"TektonHubs": "TektonHubs",
"TektonResult": "TektonResult",
"TektonResults": "TektonResults",
"The base server url (e.g. https://github.com)": "The base server url (e.g. https://github.com)",
Expand Down
2 changes: 0 additions & 2 deletions locales/es/plugin__pipelines-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@
"Tekton results": "Resultados de Tekton",
"TektonConfig": "TektonConfig",
"TektonConfigs": "TektonConfigs",
"TektonHub": "TektonHub",
"TektonHubs": "TektonHubs",
"TektonResult": "TektonResult",
"TektonResults": "TektonResults",
"The base server url (e.g. https://github.com)": "La URL del servidor base (por ejemplo, https://github.com)",
Expand Down
2 changes: 0 additions & 2 deletions locales/fr/plugin__pipelines-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@
"Tekton results": "Résultats Tekton",
"TektonConfig": "Configuration de Tekton",
"TektonConfigs": "Configurations de Tekton",
"TektonHub": "Hub Tekton",
"TektonHubs": "Hubs Tekton",
"TektonResult": "Résultat Tekton",
"TektonResults": "Résultats Tekton",
"The base server url (e.g. https://github.com)": "URL du serveur de base (par exemple https://github.com)",
Expand Down
2 changes: 0 additions & 2 deletions locales/ja/plugin__pipelines-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@
"Tekton results": "テクトンの結果",
"TektonConfig": "TektonConfig",
"TektonConfigs": "TektonConfigs",
"TektonHub": "TektonHub",
"TektonHubs": "TektonHubs",
"TektonResult": "TektonResult",
"TektonResults": "TektonResults",
"The base server url (e.g. https://github.com)": "ベースサーバーの URL (例: https://github.com)",
Expand Down
2 changes: 0 additions & 2 deletions locales/ko/plugin__pipelines-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@
"Tekton results": "Tekton 결과",
"TektonConfig": "TektonConfig",
"TektonConfigs": "tektonconfigs",
"TektonHub": "TektonHub",
"TektonHubs": "TektonHubs",
"TektonResult": "TektonResult",
"TektonResults": "TektonResults",
"The base server url (e.g. https://github.com)": "기본 서버 URL (예: https://github.com)",
Expand Down
2 changes: 0 additions & 2 deletions locales/zh/plugin__pipelines-console-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,6 @@
"Tekton results": "Tekton 结果",
"TektonConfig": "TektonConfig",
"TektonConfigs": "TektonConfigs",
"TektonHub": "TektonHub",
"TektonHubs": "TektonHubs",
"TektonResult": "TektonResult",
"TektonResults": "TektonResults",
"The base server url (e.g. https://github.com)": "基本服务器 url(如 https://github.com)",
Expand Down
202 changes: 0 additions & 202 deletions src/components/catalog/apis/__tests__/tektonHub.spec.ts

This file was deleted.

Loading
Loading