Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Commit e2c11b1

Browse files
committed
refactor: Pin specific commit instead of a branch to prevent silent changes of built artifacts
Signed-off-by: Felicitas Pojtinger <[email protected]>
1 parent 6326ee2 commit e2c11b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SHELL := /bin/bash
22
REPO := https://github.com/loopholelabs/linux-pvm.git
33
BASEURL := https://loopholelabs.github.io/linux-pvm-ci/
4-
BRANCH := pvm-v6.7
4+
COMMIT := 51ee0edb884b3372c168f58244de58507c99b2f7
55

66
obj = fedora/baremetal fedora/hetzner fedora/digitalocean fedora/aws fedora/gcp fedora/ovh fedora/linode \
77
rocky/baremetal rocky/hetzner rocky/digitalocean rocky/aws rocky/gcp rocky/ovh rocky/azure rocky/civo rocky/linode \
@@ -12,7 +12,8 @@ all: $(addprefix build/,$(obj))
1212
clone:
1313
rm -rf work/base/linux
1414
mkdir -p work/base/linux
15-
git clone --depth 1 --single-branch --branch ${BRANCH} ${REPO} work/base/linux
15+
git clone --depth 1 --no-checkout ${REPO} work/base/linux
16+
cd work/base/linux && git fetch --depth 1 origin ${COMMIT} && git checkout ${COMMIT}
1617

1718
copy: $(addprefix copy/,$(obj))
1819
$(addprefix copy/,$(obj)):

0 commit comments

Comments
 (0)