#139 Automatic update of defaults
Merged 3 years ago by zuul. Opened 3 years ago by fbo.
fbo/fedora-project-config autoupdate  into  master

file modified
+7 -1
@@ -24,7 +24,7 @@ 

        # This depends-on https://review.openstack.org/577675

        ara_report_run: True

        ara_report_type: database

-       ara_report_path: ara-report

+       ara_report_path: "{{ zuul.executor.log_root }}/ara-report"

  

  - hosts: "{{ site_sflogs.fqdn }}"

    gather_facts: false
@@ -38,3 +38,9 @@ 

          zuul_log_url: "https://fedora.softwarefactory-project.io/logs"

          zuul_logserver_root: "{{ site_sflogs.path }}"

  

+ - hosts: localhost

+   ignore_errors: yes

+   roles:

+     - role: submit-logstash-jobs

+       logstash_gearman_server: "fedora.softwarefactory-project.io"

+       logstash_gearman_server_port: 4731

file modified
+17 -7
@@ -85,12 +85,6 @@ 

          chdir: "{{ config_root }}"

        when: '"gerrit" in arch.roles'

  

-     - name: Check dashboards

-       command: python3 /usr/libexec/software-factory/sf-update-dashboard --check --input dashboards/

-       args:

-         chdir: "{{ config_root }}"

-       when: '"gerrit" in arch.roles'

- 

      - name: Check policy file

        command: python3 -c "import yaml; yaml.safe_load(open('policies/policy.yaml'))"

        args:
@@ -105,6 +99,15 @@ 

              chdir: "{{ config_root }}"

        when: '"repoxplorer" in arch.roles'

  

+     - name: Check nodepool dhall configuration

+       shell: |

+         for dhall_conf in $(ls nodepool/*.dhall 2> /dev/null); do

+           echo ${dhall_conf}

+           dhall-to-yaml --file ${dhall_conf} --output build/$(basename ${dhall_conf} .dhall).yaml || exit 1

+         done

+       args:

+         chdir: "{{ config_root }}"

+ 

      - name: Validate nodepool configuration

        block:

          - name: Install defconf nodepool.yaml
@@ -155,7 +158,14 @@ 

                  config-validate

            args:

              chdir: "{{ config_root }}"

-       when: '"nodepool-launcher" in arch.roles'

+ 

+         - name: Run nodepool config-validate for static configuration

+           command: >

+             env - find nodepool/static_config/ -name '*.yaml' -exec /bin/nodepool -c {} config-validate \;

+           args:

+             chdir: "{{ config_root }}"

+       when:

+         - '"nodepool-launcher" in arch.roles'

  

      - name: Validate zuul configuration

        block:

@@ -22,3 +22,4 @@ 

              connection: gerrit

              zuul/include: [job]

              zuul/shadow: fedora-zuul-jobs

+             hound/skip: True

@@ -19,7 +19,7 @@ 

          rsync -q --progress=false

            {{ item.1.pod }}:{{ output.src }}/

            {{ output.dst }}/

-   no_log: yes

+   no_log: true

    delegate_to: localhost

    loop:

      - src: "{{ zuul_output_dir }}/logs"

file modified
+14
@@ -67,6 +67,7 @@ 

          status: 'success'

          status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"

        sqlreporter:

+       elasticsearch:

      failure:

        pagure.io:

          status: 'failure'
@@ -78,6 +79,7 @@ 

          status: 'failure'

          status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"

        sqlreporter:

+       elasticsearch:

      failure-message:

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

  
@@ -183,6 +185,7 @@ 

          status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"

          comment: true

        sqlreporter:

+       elasticsearch:

      failure:

        pagure.io:

          status: 'failure'
@@ -197,6 +200,7 @@ 

          status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"

          comment: true

        sqlreporter:

+       elasticsearch:

      failure-message:

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

      window-floor: 20
@@ -220,12 +224,14 @@ 

            ref: ^refs/heads/.*$

      success:

        sqlreporter:

+       elasticsearch:

      failure:

        smtp:

          from: "zuul@fedora.softwarefactory-project.io"

          to: "root@localhost"

          subject: '[Zuul] Job failed in post pipeline: {change.project}'

        sqlreporter:

+       elasticsearch:

  

  - pipeline:

      name: tag
@@ -245,12 +251,14 @@ 

            ref: ^refs/tags/.*$

      success:

        sqlreporter:

+       elasticsearch:

      failure:

        smtp:

          from: "zuul@fedora.softwarefactory-project.io"

          to: "root@localhost"

          subject: '[Zuul] Job failed in tag pipeline: {change.project}'

        sqlreporter:

+       elasticsearch:

  

  - pipeline:

      name: promote
@@ -288,6 +296,7 @@ 

        github.com:

          status: success

        sqlreporter:

+       elasticsearch:

      failure:

        pagure.io:

          comment: true
@@ -296,6 +305,7 @@ 

        github.com:

          status: failure

        sqlreporter:

+       elasticsearch:

      failure-message:

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

  
@@ -310,12 +320,14 @@ 

          - time: '0 0 * * *'

      success:

        sqlreporter:

+       elasticsearch:

      failure:

        smtp:

          from: "zuul@fedora.softwarefactory-project.io"

          to: "root@localhost"

          subject: '[Zuul] Job failed in periodic pipeline: {change.project}'

        sqlreporter:

+       elasticsearch:

  

  - pipeline:

      name: experimental
@@ -341,10 +353,12 @@ 

        pagure.io: {}

        src.fedoraproject.org: {}

        sqlreporter:

+       elasticsearch:

      failure:

        github.com: {}

        pagure.io: {}

        src.fedoraproject.org: {}

        sqlreporter:

+       elasticsearch:

      failure-message:

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

no initial comment

Build succeeded.

Metadata Update from @fbo:
- Pull-request tagged with: gateit

3 years ago

Build succeeded (gate pipeline).

Pull-Request has been merged by zuul

3 years ago