#937 rename fcos pipeline files; enable for prod cluster
Merged 2 years ago by dustymabe. Opened 2 years ago by dustymabe.
fedora-infra/ dustymabe/ansible dusty-fedora-coreos-pipeline  into  main

playbooks/openshift-apps/fedora-coreos-pipeline.yml playbooks/openshift-apps/fedora-coreos.yml
file renamed
+14 -4
@@ -1,12 +1,12 @@ 

  ---

- - hosts: os_control_stg # :os_control

+ - hosts: os_control:os_control_stg

    user: root

    gather_facts: false

  

    roles:

-   - role: openshift-apps/fcos-pipeline

-     project_name: fedora-coreos

-     project_description: Jenkins pipeline configuration for Fedora CoreOS.

+   - role: openshift-apps/fedora-coreos-pipeline

+     project_name: fedora-coreos-pipeline

+     project_description: Fedora CoreOS Pipeline

      appowners:

      - dustymabe

      - jlebon
@@ -17,3 +17,13 @@ 

      - kevin

      - lucab

      - misc

+ 

+   ###############################################

+   # actions to delete the project from OpenShift

+   ###############################################

+   # to run: sudo rbac-playbook -l os_control_stg -t delete openshift-apps/fedora-coreos-pipeline.yml

+   - role: openshift/object-delete

+     app: fedora-coreos-pipeline

+     objecttype: project

+     objectname: fedora-coreos-pipeline

+     tags: [ never, delete ]

roles/openshift-apps/fedora-coreos-pipeline/defaults/main.yaml roles/openshift-apps/fcos-pipeline/defaults/main.yaml
file renamed
+2 -2
@@ -1,5 +1,5 @@ 

- project_name: fedora-coreos

- project_description: Jenkins Pipeline Configuration for FHCOS

+ project_name: fedora-coreos-pipeline

+ project_description: Fedora CoreOS Pipeline

  project_service_account: fcos-sa

  appowners: []

  ocp_service_account: root

roles/openshift-apps/fedora-coreos-pipeline/tasks/main.yaml roles/openshift-apps/fcos-pipeline/tasks/main.yaml
file renamed
file was moved with no change to the file
roles/openshift-apps/fedora-coreos-pipeline/templates/group.yaml roles/openshift-apps/fcos-pipeline/templates/group.yaml
file renamed
file was moved with no change to the file
roles/openshift-apps/fedora-coreos-pipeline/templates/project.yaml roles/openshift-apps/fcos-pipeline/templates/project.yaml
file renamed
file was moved with no change to the file
roles/openshift-apps/fedora-coreos-pipeline/templates/rolebinding.yaml roles/openshift-apps/fcos-pipeline/templates/rolebinding.yaml
file renamed
file was moved with no change to the file
roles/openshift-apps/fedora-coreos-pipeline/templates/securitycontextconstraints.yaml roles/openshift-apps/fcos-pipeline/templates/securitycontextconstraints.yaml
file renamed
file was moved with no change to the file
commit 7e001f8e40bca71e9859b87df47fcb6014056aa5
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Mon Jan 24 09:59:31 2022 -0500

    fedora-coreos-pipeline: include prod OpenShift cluster as a target

    We're ready to deploy to the prod cluster now.

commit 373038b08bb13deaf54d6ca4fa83c779a0cfbed5
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Mon Jan 24 09:58:50 2022 -0500

    fedora-coreos-pipeline: add steps for deleting project

    These steps can be used by the app owners to delete the
    project if needed so it can be recreated from scratch.

commit ac61ab020c9246408399dc37328561f88197f2d4
Author: Dusty Mabe <dusty@dustymabe.com>
Date:   Mon Jan 24 09:47:41 2022 -0500

    Align naming for the Fedora CoreOS Pipeline

    Our playbook was named `fedora-coreos.yml` and our role was
    named `fcos-pipeline`. Let's meet in the middle at `fedora-coreos-pipeline`
    for both.

    Also update some of the descriptions.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

3 new commits added

  • fedora-coreos-pipeline: include prod OpenShift cluster as a target
  • fedora-coreos-pipeline: add steps for deleting project
  • Align naming for the Fedora CoreOS Pipeline
2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

I don't know why zuul is complaining about the old file that should no longer exist. I checked in my local checkout and don't see it any longer. Maybe an artifact that will go away after this merge?

FileNotFoundError: [Errno 2] No such file or directory: 'roles/openshift-apps/fcos-pipeline/defaults/main.yaml'

Pull-Request has been merged by dustymabe

2 years ago