add tag refreshes

This commit is contained in:
Louis Abel 2022-12-14 00:50:49 -07:00
parent 1e131ff96c
commit 3d4534f9c5
Signed by: label
GPG Key ID: B37E62D143879B36
11 changed files with 3414 additions and 3333 deletions

View File

@ -0,0 +1,39 @@
---
- name: Update Koji Tags
hosts: all
become: true
pre_tasks:
- name: Check if ansible cannot be run here
ansible.builtin.stat:
path: /etc/no-ansible
register: no_ansible
- name: Verify if we can run ansible
ansible.builtin.assert:
that:
- "not no_ansible.stat.exists"
success_msg: "We are able to run on this node"
fail_msg: "/etc/no-ansible exists - skipping run on this node"
tasks:
- name: Update all non-build koji tags
import_tasks: "tasks/koji/setup_non_build_tags.yml"
- name: Update all build koji tags
import_tasks: "tasks/koji/setup_build_tags.yml"
- name: Update all macro koji tags
import_tasks: "tasks/koji/setup_macro_tags.yml"
- name: Update all module koji tags
import_tasks: "tasks/koji/setup_module_tags.yml"
post_tasks:
- name: Touching run file that ansible has ran here
ansible.builtin.file:
path: /var/log/ansible.run
state: touch
mode: '0644'
owner: root
group: root
...

0
tasks/koji/README.md Normal file
View File

View File

@ -0,0 +1,12 @@
---
- name: "Setup koji build tags"
ktdreyer.koji_ansible.koji_tag:
name: "{{ item }}"
arches: "{{ koji_default_arches }}"
state: present
groups: "{{ koji_groups }}"
extra:
mock.new_chroot: 0
mock.package_manager: "dnf"
with_items: "{{ all_koji_b_tags }}"
...

View File

@ -0,0 +1,10 @@
---
- name: "Create all macro tags"
ktdreyer.koji_ansible.koji_tag:
name: "{{ item }}"
state: present
packages:
rockykoji:
- buildsys-macros-el8
with_items: "{{ all_koji_r_tags }}"
...

View File

@ -0,0 +1,8 @@
---
- name: "Setup koji module tags"
ktdreyer.koji_ansible.koji_tag:
name: "{{ item }}"
state: present
packages: "{{ koji_modules }}"
with_items: "{{ all_koji_m_tags }}"
...

View File

@ -0,0 +1,8 @@
---
- name: "Create all base tags and their packages"
ktdreyer.koji_ansible.koji_tag:
name: "{{ item }}"
state: present
packages: "{{ koji_pkgs }}"
with_items: "{{ all_koji_nb_tags }}"
...

0
tasks/peridot/README.md Normal file
View File

0
tasks/sync/README.md Normal file
View File

View File

@ -1,6 +1,7 @@
--- ---
# all standard tags # all standard tags
koji_default_owner: "rockykoji" koji_default_owner: "rockykoji"
koji_default_arches: "x86_64 i686 aarch64"
all_koji_r_tags: all_koji_r_tags:
- el8 - el8
- el8_0 - el8_0
@ -42,45 +43,46 @@ all_koji_nbe_tags:
- dist-rocky8-infra-compose - dist-rocky8-infra-compose
- dist-rocky8-plus - dist-rocky8-plus
- dist-rocky8-plus-compose - dist-rocky8-plus-compose
koji_el8_srpm_group: koji_groups:
- bash srpm-build:
- buildsys-macros-el8 - bash
- git - buildsys-macros-el8
- redhat-rpm-config - git
- rocky-release - redhat-rpm-config
- rpm-build - rocky-release
- scl-utils-build - rpm-build
- shadow-utils - scl-utils-build
- srpmproc - shadow-utils
- system-release - srpmproc
koji_el8_build_group: - system-release
- bash build:
- buildsys-macros-el8 - bash
- bzip2 - buildsys-macros-el8
- coreutils - bzip2
- cpio - coreutils
- diffutils - cpio
- findutils - diffutils
- gawk - findutils
- gcc - gawk
- gcc-c++ - gcc
- git - gcc-c++
- grep - git
- gzip - grep
- info - gzip
- make - info
- module-build-macros - make
- patch - module-build-macros
- redhat-rpm-config - patch
- rocky-release - redhat-rpm-config
- rpm-build - rocky-release
- scl-utils-build - rpm-build
- sed - scl-utils-build
- shadow-utils - sed
- srpmproc - shadow-utils
- tar - srpmproc
- unzip - tar
- util-linux - unzip
- which - util-linux
- xz - which
- xz
... ...

View File

@ -1,129 +1,130 @@
--- ---
koji_modules: koji_modules:
- nginx rockykoji:
- nginx-devel - nginx
- nodejs - nginx-devel
- nodejs-devel - nodejs
- nodejs-nodemon - nodejs-devel
- nodejs-packaging - nodejs-nodemon
- 389-ds - nodejs-packaging
- 389-ds-devel - 389-ds
- ant - 389-ds-devel
- ant-devel - ant
- container-tools - ant-devel
- container-tools-devel - container-tools
- eclipse - container-tools-devel
- eclipse-devel - eclipse
- freeradius - eclipse-devel
- freeradius-devel - freeradius
- gimp - freeradius-devel
- gimp-devel - gimp
- go-toolset - gimp-devel
- go-toolset-devel - go-toolset
- golang-ecosystem - go-toolset-devel
- golang-ecosystem-devel - golang-ecosystem
- httpd - golang-ecosystem-devel
- httpd-devel - httpd
- idm - httpd-devel
- idm-devel - idm
- inkscape - idm-devel
- inkscape-devel - inkscape
- javapackages-runtime - inkscape-devel
- javapackages-runtime-devel - javapackages-runtime
- javapackages-tools - javapackages-runtime-devel
- javapackages-tools-devel - javapackages-tools
- jmc - javapackages-tools-devel
- jmc-devel - jmc
- libselinux-python - jmc-devel
- libselinux-python-devel - libselinux-python
- llvm-toolset - libselinux-python-devel
- llvm-toolset-devel - llvm-toolset
- mailman - llvm-toolset-devel
- mailman-devel - mailman
- mariadb - mailman-devel
- mariadb-devel - mariadb
- maven - mariadb-devel
- maven-devel - maven
- mercurial - maven-devel
- mercurial-devel - mercurial
- mod_auth-openid - mercurial-devel
- mod_auth_openid - mod_auth-openid
- mod_auth_openidc - mod_auth_openid
- mod_auth_openidc-devel - mod_auth_openidc
- mongodb - mod_auth_openidc-devel
- mongodb-devel - mongodb
- mysql - mongodb-devel
- mysql-devel - mysql
- parfait - mysql-devel
- parfait-devel - parfait
- perl - parfait-devel
- perl-App-cpanminus - perl
- perl-App-cpanminus-devel - perl-App-cpanminus
- perl-DBD-MySQL - perl-App-cpanminus-devel
- perl-DBD-MySQL-devel - perl-DBD-MySQL
- perl-DBD-Pg - perl-DBD-MySQL-devel
- perl-DBD-Pg-devel - perl-DBD-Pg
- perl-DBD-SQLite - perl-DBD-Pg-devel
- perl-DBD-SQLite-devel - perl-DBD-SQLite
- perl-DBI - perl-DBD-SQLite-devel
- perl-DBI-devel - perl-DBI
- perl-FCGI - perl-DBI-devel
- perl-FCGI-devel - perl-FCGI
- perl-IO-Socket-SSL - perl-FCGI-devel
- perl-IO-Socket-SSL-devel - perl-IO-Socket-SSL
- perl-YAML - perl-IO-Socket-SSL-devel
- perl-YAML-bootstrap - perl-YAML
- perl-YAML-bootstrap-devel - perl-YAML-bootstrap
- perl-YAML-devel - perl-YAML-bootstrap-devel
- perl-bootstrap - perl-YAML-devel
- perl-bootstrap-devel - perl-bootstrap
- perl-devel - perl-bootstrap-devel
- perl-libwww-perl - perl-devel
- perl-libwww-perl-devel - perl-libwww-perl
- php - perl-libwww-perl-devel
- php-devel - php
- pki-core - php-devel
- pki-core-devel - pki-core
- pki-deps - pki-core-devel
- pki-deps-devel - pki-deps
- pmdk - pki-deps-devel
- pmdk-devel - pmdk
- postgresql - pmdk-devel
- postgresql-devel - postgresql
- python27 - postgresql-devel
- python27-devel - python27
- python36 - python27-devel
- python36-devel - python36
- python38 - python36-devel
- python38-devel - python38
- python39 - python38-devel
- python39-devel - python39
- redis - python39-devel
- redis-devel - redis
- rhn-tools - redis-devel
- rhn-tools-devel - rhn-tools
- ruby - rhn-tools-devel
- ruby-devel - ruby
- rust-toolset - ruby-devel
- rust-toolset-devel - rust-toolset
- satellite-5-client - rust-toolset-devel
- satellite-5-client-devel - satellite-5-client
- scala - satellite-5-client-devel
- scala-devel - scala
- squid - scala-devel
- squid-devel - squid
- subversion - squid-devel
- subversion-devel - subversion
- swig - subversion-devel
- swig-devel - swig
- tycho - swig-devel
- tycho-devel - tycho
- varnish - tycho-devel
- varnish-devel - varnish
- virt - varnish-devel
- virt-devel - virt
- log4j - virt-devel
- log4j-devel - log4j
- javapackages-bootstrap - log4j-devel
- javapackages-bootstrap-devel - javapackages-bootstrap
- javapackages-bootstrap-devel
... ...

File diff suppressed because it is too large Load Diff