Skip to content

Commit 3fbd5cb

Browse files
authored
make gardenlinux_epoch in s3 artifact manifest an integer (#136)
* make gardenlinux_epoch in s3 artifact manifest an integer to parse this better in GLCI * github actions: bump default version to 0.8.2
1 parent ab3ba86 commit 3fbd5cb

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/actions/features_parse/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ outputs:
1111
runs:
1212
using: composite
1313
steps:
14-
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/[email protected].1
14+
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/[email protected].2
1515
- id: result
1616
shell: bash
1717
run: |

.github/actions/flavors_parse/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ outputs:
1313
runs:
1414
using: composite
1515
steps:
16-
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/[email protected].1
16+
- uses: gardenlinux/python-gardenlinux-lib/.github/actions/[email protected].2
1717
- id: matrix
1818
shell: bash
1919
run: |

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Installs the given GardenLinux Python library
33
inputs:
44
version:
55
description: GardenLinux Python library version
6-
default: "0.8.1"
6+
default: "0.8.2"
77
runs:
88
using: composite
99
steps:

src/gardenlinux/s3/s3_artifacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def upload_from_directory(
146146
"base_image": None,
147147
"build_committish": commit_hash,
148148
"build_timestamp": datetime.fromtimestamp(release_timestamp).isoformat(),
149-
"gardenlinux_epoch": cname_object.version.split(".", 1)[0],
149+
"gardenlinux_epoch": int(cname_object.version.split(".", 1)[0]),
150150
"logs": None,
151151
"modifiers": feature_list,
152152
"require_uefi": "_usi" in feature_list,

0 commit comments

Comments
 (0)