move to 9.4
This commit is contained in:
parent
bedad685a1
commit
68a3dfb21c
18
deploy.sh
18
deploy.sh
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# Latest Versions
|
# Latest Versions
|
||||||
GREEN_OBSIDIAN=9
|
GREEN_OBSIDIAN=9
|
||||||
BLUE_ONYX=3
|
BLUE_ONYX=4
|
||||||
#RED_QUARTZ=0
|
#RED_QUARTZ=0
|
||||||
|
|
||||||
GREEN_OBSIDIAN_ARCH=(x86_64 aarch64 i686)
|
GREEN_OBSIDIAN_ARCH=(x86_64 aarch64 i686)
|
||||||
@ -34,40 +34,40 @@ cp etc/mock/templates/*.tpl "${MOCK_DIR}/templates"
|
|||||||
number=4
|
number=4
|
||||||
while [[ $number -le $(( GREEN_OBSIDIAN - 1 )) ]]; do
|
while [[ $number -le $(( GREEN_OBSIDIAN - 1 )) ]]; do
|
||||||
for arch in "${GREEN_OBSIDIAN_ARCH[@]}"; do
|
for arch in "${GREEN_OBSIDIAN_ARCH[@]}"; do
|
||||||
sed "s|8\.X|8.$number|g" etc/mock/rl-8.X-$arch.cfg > ${MOCK_DIR}/rl-8.$number-$arch.cfg
|
sed "s|8\.X|8.$number|g" "etc/mock/rl-8.X-${arch}.cfg" > "${MOCK_DIR}/rl-8.$number-${arch}.cfg"
|
||||||
done
|
done
|
||||||
(( number = number + 1 ))
|
(( number = number + 1 ))
|
||||||
done
|
done
|
||||||
|
|
||||||
for arch in "${GREEN_OBSIDIAN_ARCH[@]}"; do
|
for arch in "${GREEN_OBSIDIAN_ARCH[@]}"; do
|
||||||
cp etc/mock/rl-8-$arch.cfg ${MOCK_DIR}
|
cp "etc/mock/rl-8-${arch}.cfg" "${MOCK_DIR}"
|
||||||
cp etc/mock/rl-8-koji-$arch.cfg ${MOCK_DIR}
|
cp "etc/mock/rl-8-koji-${arch}.cfg" "${MOCK_DIR}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# blue onyx
|
# blue onyx
|
||||||
number=0
|
number=0
|
||||||
while [[ $number -le $(( BLUE_ONYX - 1 )) ]]; do
|
while [[ $number -le $(( BLUE_ONYX - 1 )) ]]; do
|
||||||
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
||||||
sed "s|9\.X|9.$number|g" etc/mock/rl-9.X-$arch.cfg > ${MOCK_DIR}/rl-9.$number-$arch.cfg
|
sed "s|9\.X|9.$number|g" "etc/mock/rl-9.X-${arch}.cfg" > "${MOCK_DIR}/rl-9.$number-${arch}.cfg"
|
||||||
done
|
done
|
||||||
(( number = number + 1 ))
|
(( number = number + 1 ))
|
||||||
done
|
done
|
||||||
|
|
||||||
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
||||||
cp etc/mock/rl-9-$arch.cfg ${MOCK_DIR}
|
cp "etc/mock/rl-9-${arch}.cfg" "${MOCK_DIR}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# core infra repos
|
# core infra repos
|
||||||
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
for arch in "${BLUE_ONYX_ARCH[@]}"; do
|
||||||
if [[ "$arch" == "i686" ]]; then
|
if [[ "${arch}" == "i686" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
cp etc/mock/rl-9-$arch-core-infra.cfg ${MOCK_DIR}
|
cp "etc/mock/rl-9-${arch}-core-infra.cfg" "${MOCK_DIR}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# red quartz
|
# red quartz
|
||||||
for arch in "${RED_QUARTZ_ARCH[@]}"; do
|
for arch in "${RED_QUARTZ_ARCH[@]}"; do
|
||||||
cp etc/mock/rl-10-lookahead-$arch.cfg ${MOCK_DIR}
|
cp "etc/mock/rl-10-lookahead-${arch}.cfg" "${MOCK_DIR}"
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i "s|templates/|${MOCK_DIR}/templates/|g" "${MOCK_DIR}/"*.cfg
|
sed -i "s|templates/|${MOCK_DIR}/templates/|g" "${MOCK_DIR}/"*.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user