Skip to content

Commit 22f3fb0

Browse files
authored
flavors, metdata/image/oci download links (#3)
* better logging * change default variables * move to poetry * fix source repo * add flavors and oci * fix download and upload * add update script to update existing releases * bump dependencies * reorder imports * move NoAliasDumper * remove unused setup_logger * fix get_current_timestamp * rework exception handling to always exit * refactor format_output * update README for poetry
1 parent 4de578a commit 22f3fb0

File tree

15 files changed

+2238
-309
lines changed

15 files changed

+2238
-309
lines changed

.github/workflows/image-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
- bin/**
99
- glrd/**
1010
- Containerfile
11-
- requirements.txt
12-
- setup.py
11+
- poetry.lock
12+
- pyproject.toml
1313
jobs:
1414
build:
1515
name: build

.github/workflows/image-release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: ./.github/actions/setup
21-
- name: set version
22-
run: |
23-
version=$(echo ${{ github.ref_name }} | cut -d'v' -f2)
24-
echo ${version} >VERSION
2521
- name: podman login
2622
run: |
2723
podman login -u token -p ${{ github.token }} ghcr.io

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
*.egg-info
22
**/__pycache__
3+
.artifacts_cache.json
4+
.artifacts_index.json
35
.envrc
46
.venv
57
_build
8+
dist/
69
shell.nix
710
releases.json
811
releases.yaml

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ The GLRD provides a structured way to store and access release data for Garden L
3838

3939
### Prerequisites
4040

41-
- **Python 3.6+**
41+
- **Python 3.10+**
4242

4343
You can install the required Python packages using:
4444

4545
```bash
46-
pip install -r requirements.txt
46+
poetry install
4747
```
4848

4949
- **AWS CLI** configured with appropriate permissions if you plan to use S3 integration.
@@ -56,7 +56,7 @@ Clone the repository and ensure that the scripts are executable:
5656
```bash
5757
git clone https://github.com/gardenlinux/glrd.git
5858
cd glrd
59-
pip install -e .
59+
poetry install
6060
```
6161
</details>
6262

VERSION

Lines changed: 0 additions & 2 deletions
This file was deleted.

bin/glrd

Lines changed: 0 additions & 40 deletions
This file was deleted.

bin/glrd-manage

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)