adjust to changes in build script contract
@@ -48,7 +48,8 @@ spec:
)
git_helper.repo.git.checkout('$(params.committish)')
- print(f'cloned into {repo_dir}')
+ print(f'cloned into {repo_dir} - checked out: $(params.committish)')
+ print(git_helper.repo.git.show())
- name: 'build-image'
securityContext:
@@ -62,6 +63,7 @@ spec:
#!/usr/bin/env sh
set -u
set -x
+ apt update && apt install -y git
export TZ=UTC
export LC_ALL=C
export suite="$(params.suite)"
@@ -76,9 +78,19 @@ spec:
mkdir "${OUT_DIR}"
export OUT_FILE="${PWD}/gardenlinux.out"
+ cd gardenlinux-git
+ git rev-parse @
+ git status
+ cd ..
+
+ pwd
echo "running build.."
#/opt/debuerreotype/bin/build.sh
- gardenlinux-git/bin/build.sh
+ gardenlinux-git/bin/garden-build.sh \
+ --arch amd64 \
+ --suite $(params.suite) \
+ --timestamp ${timestamp} \
+ --features "$(params.features),server)"
ls -la "${OUT_FILE}"
tar tf "${OUT_FILE}"
if [ -f "${OUT_FILE}" ]; then
