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

View File

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

File diff suppressed because it is too large Load Diff