ansible/roles/ocp4-workload-openshift-pipelines/defaults/main.yml | ●●●●● patch | view | raw | blame | history | |
ansible/roles/ocp4-workload-openshift-pipelines/tasks/remove_workload.yml | ●●●●● patch | view | raw | blame | history | |
ansible/roles/ocp4-workload-openshift-pipelines/tasks/workload.yml | ●●●●● patch | view | raw | blame | history | |
ansible/roles/ocp4-workload-openshift-pipelines/templates/dashboard_project.j2 | ●●●●● patch | view | raw | blame | history |
ansible/roles/ocp4-workload-openshift-pipelines/defaults/main.yml
@@ -4,6 +4,6 @@ silent: False _pipelines_tkn_version: 0.2.2 _pipelines_dashboard_version: v0.1.0 _pipelines_project: openshift-operators _pipelines_project_display: OpenShift pipelines _pipelines_subscription_csv: openshift-pipelines-operator.v0.5.2 ansible/roles/ocp4-workload-openshift-pipelines/tasks/remove_workload.yml
@@ -8,18 +8,17 @@ loop: - ./templates/pipelines.j2 - name: Remove OpenShift Pipelines Operator - name: Remove OpenShift Pipelines operator k8s: state: absent definition: "{{ lookup('template', item ) | from_yaml }}" loop: - ./templates/subscription.j2 - ./templates/catalog_source_config.j2 - ./templates/operator_group.j2 - name: Remove OpenShift Pipelines Project - name: Remove dashboard project k8s: name: "{{ _pipelines_project }}" name: tekton-pipelines api_version: v1 kind: Namespace state: absent ansible/roles/ocp4-workload-openshift-pipelines/tasks/workload.yml
@@ -43,6 +43,19 @@ loop: - ./templates/pipelines.j2 - name: Create dashboard project k8s: state: present merge_type: - strategic-merge - merge definition: "{{ lookup('template', item ) | from_yaml }}" loop: - ./templates/dashboard_project.j2 - name: Create dashboard shell: "oc apply -f https://github.com/tektoncd/dashboard/releases/download/{{ _pipelines_dashboard_version }}/openshift-tekton-dashboard.yaml" # Leave this as the last task in the playbook. - name: workload tasks complete debug: ansible/roles/ocp4-workload-openshift-pipelines/templates/dashboard_project.j2
New file @@ -0,0 +1,10 @@ apiVersion: project.openshift.io/v1 kind: Project metadata: annotations: openshift.io/description: "" openshift.io/display-name: "OpenShift Pipelines Dashboard" name: tekton-pipelines spec: finalizers: - kubernetes