mirror of
https://codeberg.org/hyperreal/vauxite-build
synced 2024-11-01 08:43:13 +01:00
Fix Bash syntax error
This commit is contained in:
parent
5be2f39428
commit
c64e89915e
@ -16,7 +16,7 @@ vauxite-compose-job:
|
||||
before_script:
|
||||
- printf "fastestmirror=True\ndeltarpm=True\n" | tee -a /etc/dnf/dnf.conf
|
||||
- dnf update -y
|
||||
- dnf install -y ostree podman rpm-ostree rsync
|
||||
- dnf install -y git git-core ostree podman rpm-ostree rsync
|
||||
- podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
script:
|
||||
- mkdir -p "$(pwd)/.tmp"
|
||||
@ -25,9 +25,10 @@ vauxite-compose-job:
|
||||
echo "Previous build repo not found. Initialize new build repo in archive mode."
|
||||
ostree --repo="${BUILD_REPO}" init --mode=archive
|
||||
fi
|
||||
- if [ ! -d "${SOURCE_REPO}/.git" ]; then
|
||||
echo "Source repo not found. Clone from upstream."
|
||||
git clone -b "f${RELVER}" "${SOURCE_URL}" "${SOURCE_REPO}"
|
||||
- |
|
||||
if [ ! -d "${SOURCE_REPO}/.git" ]; then
|
||||
echo "Source repo not found. Clone from upstream."
|
||||
git clone -b "f${RELVER}" "${SOURCE_URL}" "${SOURCE_REPO}"
|
||||
fi
|
||||
- rsync -aAX "${SOURCE_REPO}"/ "$(pwd)/.tmp"
|
||||
- rsync -aAX "$(pwd)/src/" "$(pwd)/.tmp"
|
||||
|
Loading…
Reference in New Issue
Block a user