#45 Use existing zuul job instead of creating new one
Merged 2 years ago by patrikp. Opened 2 years ago by zlopez.
fedora-ci/ zlopez/monitor-gating zuul_migration  into  production

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

        - id: flake8

  

    - repo: https://github.com/psf/black

-     rev: 21.11b1

+     rev: 22.3.0

      hooks:

        - id: black

          args:

file modified
+1 -6
@@ -1,10 +1,5 @@ 

  ---

- - job:

-     name: gating-pre-commit

-     run: ci/gating-pre-commit.yaml

-     nodeset: fedora-35-vm

- 

  - project:

      check:

        jobs:

-         - gating-pre-commit

+         - fi-pre-commit

@@ -1,20 +0,0 @@ 

- ---

- - hosts: all

- 

-   tasks:

-     - name: List project directory on the test system

-       command: "ls -al {{ ansible_user_dir }}/{{ zuul.project.src_dir }}"

- 

-     - name: install pip

-       become: true

-       package:

-         name: python3-pip

-         state: present

- 

-     - name: install pre-commit

-       command: pip install pre-commit --user

- 

-     - name: run pre-commit

-       command:

-         chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"

-         cmd: pre-commit run --all

There is already a job in https://pagure.io/fedora-infra/zuul which does the
same thing as existing job in monitor gating.

Signed-off-by: Michal Konečný mkonecny@redhat.com

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

1 new commit added

  • Use newer black for check
2 years ago

Build succeeded.

Pull-Request has been merged by patrikp

2 years ago