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