v2: Add source-epoch key in pipeline declaration and pass to buildroot

If this is set it is passed down to all stages and set as
SOURCE_DATE_EPOCH in the buildroot environment. This implements
the spec at:
  https://reproducible-builds.org/docs/source-date-epoch/
This commit is contained in:
Alexander Larsson 2022-02-04 15:51:48 +01:00 committed by Christian Kellner
parent e516bf7898
commit b31c91d671
4 changed files with 19 additions and 8 deletions

View file

@ -104,6 +104,7 @@
"name": { "type:": "string" },
"build": { "type": "string" },
"runner": { "type": "string" },
"source-epoch": { "type": "integer" },
"stages": { "$ref": "#/definitions/stages" }
}
},