Skip to content

Commit a9249c8

Browse files
Fix for CNV-44887
1 parent 2add65f commit a9249c8

File tree

3 files changed

+44
-80
lines changed

3 files changed

+44
-80
lines changed

modules/virt-running-ssp-pipeline-cli.adoc

Lines changed: 33 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -10,87 +10,47 @@ Use a `PipelineRun` resource to run the example pipelines. A `PipelineRun` objec
1010

1111
.Procedure
1212

13-
. To run the Windows 10 installer pipeline, create the following `PipelineRun` manifest:
13+
. To run the Microsoft Windows 11 installer pipeline, create the following `PipelineRun` manifest:
1414
+
15-
[source,yaml]
15+
[source,yaml,subs="attributes+"]
1616
----
17-
apiVersion: tekton.dev/v1beta1
17+
apiVersion: tekton.dev/v1
1818
kind: PipelineRun
1919
metadata:
20-
generateName: windows10-installer-run-
20+
generateName: windows11-installer-run-
2121
labels:
22-
pipelinerun: windows10-installer-run
22+
pipelinerun: windows11-installer-run
2323
spec:
24-
params:
25-
- name: winImageDownloadURL
26-
value: <link_to_windows_10_iso> <1>
27-
pipelineRef:
28-
name: windows10-installer
29-
taskRunSpecs:
30-
- pipelineTaskName: copy-template
31-
serviceAccountName: copy-template-task
32-
- pipelineTaskName: modify-vm-template
33-
serviceAccountName: modify-vm-template-task
34-
- pipelineTaskName: create-vm-from-template
35-
serviceAccountName: create-vm-from-template-task
36-
- pipelineTaskName: wait-for-vmi-status
37-
serviceAccountName: wait-for-vmi-status-task
38-
- pipelineTaskName: create-base-dv
39-
serviceAccountName: modify-data-object-task
40-
- pipelineTaskName: cleanup-vm
41-
serviceAccountName: cleanup-vm-task
42-
status: {}
43-
----
44-
<1> Specify the URL for the Windows 10 64-bit ISO file. The product language must be English (United States).
45-
46-
. Apply the `PipelineRun` manifest:
47-
+
48-
[source,terminal]
49-
----
50-
$ oc apply -f windows10-installer-run.yaml
51-
----
52-
53-
. To run the Windows 10 customize pipeline, create the following `PipelineRun` manifest:
54-
+
55-
[source,yaml]
56-
----
57-
apiVersion: tekton.dev/v1beta1
58-
kind: PipelineRun
59-
metadata:
60-
generateName: windows10-customize-run-
61-
labels:
62-
pipelinerun: windows10-customize-run
63-
spec:
64-
params:
65-
- name: allowReplaceGoldenTemplate
66-
value: true
67-
- name: allowReplaceCustomizationTemplate
68-
value: true
69-
pipelineRef:
70-
name: windows10-customize
71-
taskRunSpecs:
72-
- pipelineTaskName: copy-template-customize
73-
serviceAccountName: copy-template-task
74-
- pipelineTaskName: modify-vm-template-customize
75-
serviceAccountName: modify-vm-template-task
76-
- pipelineTaskName: create-vm-from-template
77-
serviceAccountName: create-vm-from-template-task
78-
- pipelineTaskName: wait-for-vmi-status
79-
serviceAccountName: wait-for-vmi-status-task
80-
- pipelineTaskName: create-base-dv
81-
serviceAccountName: modify-data-object-task
82-
- pipelineTaskName: cleanup-vm
83-
serviceAccountName: cleanup-vm-task
84-
- pipelineTaskName: copy-template-golden
85-
serviceAccountName: copy-template-task
86-
- pipelineTaskName: modify-vm-template-golden
87-
serviceAccountName: modify-vm-template-task
88-
status: {}
89-
----
90-
24+
params:
25+
- name: winImageDownloadURL
26+
value: <windows_image_download_url> # <1>
27+
- name: acceptEula
28+
value: false # <2>
29+
pipelineRef:
30+
params:
31+
- name: catalog
32+
value: redhat-pipelines
33+
- name: type
34+
value: artifact
35+
- name: kind
36+
value: pipeline
37+
- name: name
38+
value: windows-efi-installer
39+
- name: version
40+
value: {product-version}
41+
resolver: hub
42+
taskRunSpecs:
43+
- pipelineTaskName: modify-windows-iso-file
44+
PodTemplate:
45+
securityContext:
46+
fsGroup: 107
47+
runAsUser: 107
48+
----
49+
<1> Specify the URL for the Windows 11 64-bit ISO file. The product's language must be English (United States).
50+
<2> Example `PipelineRun` objects have a special parameter, `acceptEula`. By setting this parameter, you are agreeing to the applicable Microsoft user license agreements for each deployment or installation of the Microsoft products. If you set it to false, the pipeline exits at the first task.
9151
. Apply the `PipelineRun` manifest:
9252
+
9353
[source,terminal]
9454
----
95-
$ oc apply -f windows10-customize-run.yaml
55+
$ oc apply -f windows11-customize-run.yaml
9656
----

modules/virt-supported-ssp-tasks.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
:_mod-docs-content-type: REFERENCE
66
[id="virt-supported-ssp-tasks_{context}"]
7-
= Virtual machine tasks supported by the SSP Operator
7+
= Supported virtual machine tasks
88

9-
The following table shows the tasks that are included as part of the SSP Operator.
9+
The following table shows the supported tasks.
1010

11-
.Virtual machine tasks supported by the SSP Operator
11+
.Supported virtual machine tasks
1212
[cols="1,1",options="header"]
1313
|===
1414
| Task | Description

virt/virtual_machines/virt-managing-vms-openshift-pipelines.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ toc::[]
88

99
link:https://docs.openshift.com/pipelines/latest/about/understanding-openshift-pipelines.html[{pipelines-title}] is a Kubernetes-native CI/CD framework that allows developers to design and run each step of the CI/CD pipeline in its own container.
1010

11-
The Scheduling, Scale, and Performance (SSP) Operator integrates {VirtProductName} with {pipelines-shortname}. The SSP Operator includes tasks and example pipelines that allow you to:
11+
By using {pipelines-shortname} tasks and the example pipeline, you can do the following:
1212

13-
* Create and manage virtual machines (VMs), persistent volume claims (PVCs), and data volumes
14-
* Run commands in VMs
15-
* Manipulate disk images with `libguestfs` tools
13+
* Create and manage virtual machines (VMs), persistent volume claims (PVCs), data volumes, and data sources.
14+
* Run commands in VMs.
15+
* Manipulate disk images with `libguestfs` tools.
16+
17+
The tasks are located in link:https://artifacthub.io/packages/search?repo=redhat-tekton-tasks&sort=relevance&page=1[the task catalog (ArtifactHub)].
18+
19+
The example Windows pipeline is located in link:https://artifacthub.io/packages/tekton-pipeline/redhat-pipelines/windows-efi-installer[the pipeline catalog (ArtifactHub)].
1620

1721
[id="prerequisites_virt-managing-vms-openshift-pipelines"]
1822
== Prerequisites

0 commit comments

Comments
 (0)