Commit 94337107 authored by nimrod's avatar nimrod
Browse files

Repeatable-ish builds.

Repeatable builds, except for variations in dependencies.
parent ce81f558
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ Generate payload:
    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
  before_script:
    - apt-get update
    - apt-get install -y zip
    - apt-get install -y strip-nondeterminism zip
  script:
    make payload.zip
  artifacts:
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@ payload.zip: clean requirements.txt $(src)
	mkdir -p payload
	cp -a src/* payload/
	python3 -m pip install -r requirements.txt -t payload
	cd payload && zip -X --exclude __pycache__ --exclude "*.pyc" --exclude test --exclude bin -r ../payload.zip ./
	cd payload && zip -X --exclude __pycache__ --exclude "*.pyc" --exclude test --exclude bin -r ../$@ ./
	strip-nondeterminism $@

.PHONY = clean
clean: