Commit 94337107 authored by nimrod's avatar nimrod
Browse files

Repeatable-ish builds.

Repeatable builds, except for variations in dependencies.
parent ce81f558
Pipeline #2583 passed with stages
in 9 minutes and 22 seconds
......@@ -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:
......
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment