Skip to content
Snippets Groups Projects
Commit 94337107 authored by nimrod's avatar nimrod
Browse files

Repeatable-ish builds.

Repeatable builds, except for variations in dependencies.
parent ce81f558
No related branches found
No related tags found
No related merge requests found
Pipeline #2583 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment