Skip to content

Commit 5b7617d

Browse files
committed
Merge branch 'kemotaha-fresh-empanadas' into devel
2 parents e2ae0f8 + 8e2cc06 commit 5b7617d

File tree

382 files changed

+15880
-6377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

382 files changed

+15880
-6377
lines changed

.github/empanadas.png

209 KB
Loading

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
sig-core-toolkit
1+
Empanadas
22
================
33

4-
Release Engineering toolkit for repeatable operations or functionality testing.
4+
Empanadas is the Rocky Linux Release Engineering toolkit for repeatable operations or functionality testing.
5+
6+
<center><img src='.github/empanadas.png' width=150px /></center>
57

68
Currently mirrored at our [github](https://github.com/rocky-linux), and the
79
[RESF Git Service](https://git.resf.org). Changes will typically occur at the
@@ -12,10 +14,9 @@ What does this have?
1214

1315
* analyze -> Analysis utilities (such as download stats)
1416
* chat -> mattermost related utilities
15-
* func -> (mostly defunct) testing scripts and tools to test base functionality
1617
* iso -> Contains `empanadas`, which provides ISO, Compose, and Sync related utilities.
1718
* mangle -> Manglers and other misc stuff
18-
* sync -> Sync tools, primarily for Rocky Linux 8 and will eventually be deprecated
19+
* sync -> Sync tools, used to sync from compose directories to mirror for Rocky Linux
1920

2021
How can I help?
2122
---------------
@@ -35,9 +36,3 @@ PR's against the main branch will be closed.
3536

3637
PR's are preferred at the [RESF Git Service](https://git.resf.org).
3738

38-
Will some of this be moved into separate repositories?
39-
------------------------------------------------------
40-
41-
There may be some things that will be moved to its own repository in the near
42-
future. From a SIG/Core standpoint, we believe a good chunk of this should stay
43-
here as it makes it easier for us to maintain and manage.

cron/beta-8

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
3+
FROMMAIL="Compose Tracker <[email protected]>"
4+
rm -rf /etc/pungi-beta
5+
git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r8-beta /etc/pungi-beta
6+
ret_val=$?
7+
if [ "$ret_val" -ne 0 ]; then
8+
echo "Git pull failed for beta pungi config" | mutt -e "set from=\"$FROM\"" \
9+
-e 'set envelope_from=yes' \
10+
-s "Git pull on /etc/pungi-beta failed" \
11+
12+
exit 1
13+
fi
14+
pushd /etc/pungi-beta/scripts
15+
bash produce-8-beta-full.sh
16+
ret_val=$?
17+
popd
18+
19+
if [ "$ret_val" -eq 0 ]; then
20+
pushd /root/sync-devel/sync
21+
RLVER=8 bash beta-release-sync-to-staging.sh
22+
popd
23+
fi

cron/lookahead-8

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
3+
FROMMAIL="Compose Tracker <[email protected]>"
4+
pushd /etc/pungi-lh/scripts
5+
git pull
6+
ret_val=$?
7+
if [ "$ret_val" -ne 0 ]; then
8+
echo "Git pull failed for LookAhead pungi config" | mutt -e "set from=\"$FROM\"" \
9+
-e 'set envelope_from=yes' \
10+
-s "Git pull on /etc/pungi-lh failed" \
11+
12+
exit 1
13+
fi
14+
bash produce-8-lookahead-full.sh
15+
ret_val=$?
16+
popd
17+
18+
if [ "$ret_val" -eq 0 ]; then
19+
pushd /root/sync-devel/sync
20+
RLVER=8 bash lh-release-sync-to-staging.sh
21+
popd
22+
fi

cron/stable-updates-8

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/bash
2+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
3+
FROMMAIL="Compose Tracker <[email protected]>"
4+
rm -rf /etc/pungi-prod
5+
git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r8 /etc/pungi-prod
6+
rm -rf /mnt/compose/8_metadata
7+
git clone https://git.rockylinux.org/rocky/rocky-module-metadata.git -b r8 /mnt/compose/8_metadata
8+
ret_val=$?
9+
if [ "$ret_val" -ne 0 ]; then
10+
echo "Git pull failed for prod pungi config" | mutt -e "set from=\"$FROM\"" \
11+
-e 'set envelope_from=yes' \
12+
-s "Git pull on /etc/pungi-prod failed" \
13+
14+
exit 1
15+
fi
16+
pushd /etc/pungi-prod/scripts
17+
bash updates-8-full.sh
18+
ret_val=$?
19+
popd
20+
21+
if [ "$ret_val" -eq 0 ]; then
22+
pushd /root/sync-devel/sync
23+
RLVER=8 bash sync-to-staging.sh Rocky-devel
24+
RLVER=8 bash sync-to-staging.sh Extras
25+
RLVER=8 bash sync-to-staging.sh Rocky
26+
popd
27+
28+
pushd /mnt/repos-staging/mirror/pub/rocky/8.10
29+
python3.9 /usr/local/bin/apollo_tree -p $(pwd) -n 'Rocky Linux 8 $arch' -i Live -i Minimal -i devel -i extras -i images -i isos -i live -i metadata -i Devel -i plus -i nfv
30+
popd
31+
32+
pushd /root/sync-devel/sync
33+
RLVER=8 bash sign-repos-only.sh
34+
popd
35+
fi

cron/stable-updates-no-devel-8

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/bin/bash
2+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
3+
FROMMAIL="Compose Tracker <[email protected]>"
4+
rm -rf /etc/pungi-prod
5+
git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r8 /etc/pungi-prod
6+
ret_val=$?
7+
if [ "$ret_val" -ne 0 ]; then
8+
echo "Git pull failed for prod pungi config" | mutt -e "set from=\"$FROM\"" \
9+
-e 'set envelope_from=yes' \
10+
-s "Git pull on /etc/pungi-prod failed" \
11+
12+
exit 1
13+
fi
14+
pushd /etc/pungi-prod/scripts
15+
#bash updates-8-full.sh
16+
bash updates-8.sh
17+
ret_val=$?
18+
popd
19+
20+
if [ "$ret_val" -eq 0 ]; then
21+
pushd /root/sync-devel/sync
22+
#RLVER=8 bash sync-to-staging.sh Rocky-devel
23+
#RLVER=8 bash sync-to-staging.sh Extras
24+
RLVER=8 bash sync-to-staging.sh Rocky
25+
popd
26+
27+
pushd /mnt/repos-staging/mirror/pub/rocky/8.10
28+
python3.9 /usr/local/bin/apollo_tree -p $(pwd) -n 'Rocky Linux 8 $arch' -i Live -i Minimal -i devel -i extras -i images -i isos -i live -i metadata -i Devel -i plus -i nfv
29+
popd
30+
31+
pushd /root/sync-devel/sync
32+
RLVER=8 bash sign-repos-only.sh
33+
popd
34+
fi

cron/stable-updates-no-push-8

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
3+
FROMMAIL="Compose Tracker <[email protected]>"
4+
rm -rf /etc/pungi-prod
5+
git clone https://git.rockylinux.org/rocky/pungi-rocky.git -b r8 /etc/pungi-prod
6+
ret_val=$?
7+
if [ "$ret_val" -ne 0 ]; then
8+
echo "Git pull failed for prod pungi config" | mutt -e "set from=\"$FROM\"" \
9+
-e 'set envelope_from=yes' \
10+
-s "Git pull on /etc/pungi-prod failed" \
11+
12+
exit 1
13+
fi
14+
pushd /etc/pungi-prod/scripts
15+
#bash updates-8-full.sh
16+
bash updates-8.sh
17+
ret_val=$?
18+
popd

func/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)