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:
parent
e516bf7898
commit
b31c91d671
4 changed files with 19 additions and 8 deletions
|
|
@ -35,7 +35,7 @@ class TestDescriptions(unittest.TestCase):
|
|||
def test_stage_run(self):
|
||||
index = osbuild.meta.Index(os.curdir)
|
||||
info = index.get_module_info("Stage", "org.osbuild.noop")
|
||||
stage = osbuild.Stage(info, {}, None, None, {})
|
||||
stage = osbuild.Stage(info, {}, None, None, {}, None)
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue