Skip to content

Commit 8507ed7

Browse files
committed
Migrate to Serverless's showcase image
1 parent cd8e893 commit 8507ed7

9 files changed

Lines changed: 16 additions & 16 deletions

File tree

frontend/packages/knative-plugin/integration-tests/features/e2e/knative-ci.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Feature: Perform actions on knative service and revision
2020
And user is able to see workload "<workload_name>" in topology page
2121

2222
Examples:
23-
| image_name | workload_name |
24-
| openshift/hello-openshift | kn-service |
23+
| image_name | workload_name |
24+
| quay.io/openshift-knative/showcase | kn-service |
2525

2626

2727
Scenario: knative service menu options: KN-02-TC01

frontend/packages/knative-plugin/integration-tests/features/eventing/create-event-sources.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Feature: Create event sources
7373
Scenario: Create ContainerSource event source: KE-02-TC07
7474
When user selects event source type "Container Source"
7575
And user selects Create Event Source
76-
And user enters Container Image as "openshift/hello-openshift"
76+
And user enters Container Image as "quay.io/openshift-knative/showcase"
7777
And user selects an "kn-event" option from knative service field
7878
And user clicks on Create button
7979
Then user will be redirected to Topology page

frontend/packages/knative-plugin/integration-tests/features/serverless/actions-on-knative-service.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Feature: Perform actions on knative service
1919
And user is able to see workload "<workload_name>" in topology page
2020

2121
Examples:
22-
| image_name | workload_name |
23-
| openshift/hello-openshift | kn-service |
22+
| image_name | workload_name |
23+
| quay.io/openshift-knative/showcase | kn-service |
2424

2525

2626
@smoke

frontend/packages/knative-plugin/integration-tests/features/serverless/create-knative-workload.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Feature: Create a workload of 'knative Service' type resource
5757
And user is able to see workload "<workload_name>" in topology page
5858

5959
Examples:
60-
| image_name | workload_name |
61-
| openshift/hello-openshift | knative-ex-registry |
60+
| image_name | workload_name |
61+
| quay.io/openshift-knative/showcase | knative-ex-registry |
6262

6363

6464
@regression

frontend/packages/knative-plugin/integration-tests/features/serverless/side-bar-of-knative-revision-and-service.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Feature: side bar details
2323
And user is able to see Knative Revision
2424

2525
Examples:
26-
| name | image_name | runtime_icon |
27-
| hello-secure | openshift/hello-openshift | fedora |
26+
| name | image_name | runtime_icon |
27+
| hello-secure | quay.io/openshift-knative/showcase | fedora |
2828

2929

3030
@smoke

frontend/packages/knative-plugin/src/utils/__mocks__/knatify-mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const ksvcData: K8sResourceKind = {
2121
containers: [
2222
{
2323
name: 'overlayimage',
24-
image: 'openshift/hello-openshift',
24+
image: 'quay.io/openshift-knative/showcase',
2525
ports: [{ containerPort: 8080 }],
2626
imagePullPolicy: 'Always',
2727
resources: {},

frontend/packages/knative-plugin/src/utils/__tests__/knatify-utils.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('knatify-utils', () => {
4646
const knatifyFormInitialVal = {
4747
...knatifyFormCommonInitialValues,
4848
runtimeIcon: null,
49-
searchTerm: 'openshift/hello-openshift',
49+
searchTerm: 'quay.io/openshift-knative/showcase',
5050
registry: 'external',
5151
allowInsecureRegistry: false,
5252
imageStream: { image: '', tag: '', namespace: '' },

frontend/packages/knative-plugin/src/utils/__tests__/knative-serving-data.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const deploymentData: K8sResourceKind = {
157157
containers: [
158158
{
159159
name: 'hello-openshift',
160-
image: 'openshift/hello-openshift',
160+
image: 'quay.io/openshift-knative/showcase',
161161
ports: [{ containerPort: 8080, protocol: 'TCP' }],
162162
resources: {},
163163
terminationMessagePath: '/dev/termination-log',
@@ -306,7 +306,7 @@ export const deploymentKnativeData: K8sResourceKind = {
306306
containers: [
307307
{
308308
name: 'hello-openshift',
309-
image: 'openshift/hello-openshift',
309+
image: 'quay.io/openshift-knative/showcase',
310310
ports: [{ containerPort: 8080, protocol: 'TCP' }],
311311
resources: {},
312312
terminationMessagePath: '/dev/termination-log',
@@ -465,7 +465,7 @@ export const getEventSourceDeploymentData = (EventSourceModel: K8sKind): K8sReso
465465
containers: [
466466
{
467467
name: 'hello-openshift',
468-
image: 'openshift/hello-openshift',
468+
image: 'quay.io/openshift-knative/showcase',
469469
ports: [{ containerPort: 8080, protocol: 'TCP' }],
470470
resources: {},
471471
terminationMessagePath: '/dev/termination-log',

frontend/packages/knative-plugin/src/yaml-templates.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ export const defaultYamlTemplate = `
44
apiVersion: ${ServiceModel.apiGroup}/${ServiceModel.apiVersion}
55
kind: ${ServiceModel.kind}
66
metadata:
7-
name: sample
7+
name: showcase
88
namespace: default
99
spec:
1010
template:
1111
spec:
1212
containers:
13-
- image: openshift/hello-openshift
13+
- image: quay.io/openshift-knative/showcase
1414
`;

0 commit comments

Comments
 (0)