From 5cbd1f5229063f90414fad689e0dc4375aa1113a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 10:27:11 +0100 Subject: [PATCH 1/7] switch to gitea actions checkout --- .gitea/workflows/build-image.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 857f7ff..bee5b24 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -1,9 +1,7 @@ name: Build an image to deploy website on: - push: - tags: - - v* + push # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -17,7 +15,7 @@ jobs: runs-on: cth-ubuntu-latest steps: - name: Check out repository - uses: https://github.com/actions/checkout@v4 + uses: actions/checkout@v4 with: lfs: true -- 2.45.2 From b3245fd1cba350527887acbeba4ac9d023d949de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 10:30:12 +0100 Subject: [PATCH 2/7] fetching lfs manually --- .gitea/workflows/build-image.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index bee5b24..67a1ff3 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -15,9 +15,11 @@ jobs: runs-on: cth-ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v4 - with: - lfs: true + uses: https://github.com/actions/checkout@v4 + + - name: Fetch lfs + run: | + git lfs pull - name: update packages run: apt-get update -- 2.45.2 From 410781307fa6f7ddcdcdf3b7b4cc309571e683d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 10:32:10 +0100 Subject: [PATCH 3/7] checkout manually --- .gitea/workflows/build-image.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 67a1ff3..33a87aa 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -14,11 +14,12 @@ jobs: build: runs-on: cth-ubuntu-latest steps: - - name: Check out repository - uses: https://github.com/actions/checkout@v4 - - name: Fetch lfs run: | + git init + git remote add origin gitea@example.com:org/repo.git + git fetch --depth 1 origin ${{ gitea.ref }} + git checkout FETCH_HEAD git lfs pull - name: update packages -- 2.45.2 From fcb16e9ea035e8a962770a5a76f2486b4de8e548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 10:34:58 +0100 Subject: [PATCH 4/7] fix repository address --- .gitea/workflows/build-image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 33a87aa..8e457f0 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -14,10 +14,11 @@ jobs: build: runs-on: cth-ubuntu-latest steps: - - name: Fetch lfs + - name: Git checkout with LFS + # see https://gitea.com/gitea/act_runner/issues/164#issuecomment-921571 run: | git init - git remote add origin gitea@example.com:org/repo.git + git remote add origin git@gitea.champs-libres.be:champs-libres/prez-concepts-chill.git git fetch --depth 1 origin ${{ gitea.ref }} git checkout FETCH_HEAD git lfs pull -- 2.45.2 From f4648e5f56cad670709cbc9c7ba3f5ca440ccde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 10:35:50 +0100 Subject: [PATCH 5/7] switch to https --- .gitea/workflows/build-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 8e457f0..934dc31 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -18,7 +18,7 @@ jobs: # see https://gitea.com/gitea/act_runner/issues/164#issuecomment-921571 run: | git init - git remote add origin git@gitea.champs-libres.be:champs-libres/prez-concepts-chill.git + git remote add origin https://gitea.champs-libres.be/champs-libres/prez-concepts-chill.git git fetch --depth 1 origin ${{ gitea.ref }} git checkout FETCH_HEAD git lfs pull -- 2.45.2 From 444f0b321cd76b022198d5036da3c4de94aef1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 11:25:17 +0100 Subject: [PATCH 6/7] release 1.2.2 - rc3 --- .changes/1.2.2-rc3.md | 5 +++++ .changes/unreleased/Fixed-20241118-112438.yaml | 3 +++ CHANGELOG.md | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 .changes/1.2.2-rc3.md create mode 100644 .changes/unreleased/Fixed-20241118-112438.yaml diff --git a/.changes/1.2.2-rc3.md b/.changes/1.2.2-rc3.md new file mode 100644 index 0000000..9e3bc87 --- /dev/null +++ b/.changes/1.2.2-rc3.md @@ -0,0 +1,5 @@ +## 1.2.2-rc3 - 2024-11-18 +### Fixed +* Embed resources into presentation formation signature +* Checkout images using lfs +* Fixed CI diff --git a/.changes/unreleased/Fixed-20241118-112438.yaml b/.changes/unreleased/Fixed-20241118-112438.yaml new file mode 100644 index 0000000..2b29fc0 --- /dev/null +++ b/.changes/unreleased/Fixed-20241118-112438.yaml @@ -0,0 +1,3 @@ +kind: Fixed +body: Fixed CI +time: 2024-11-18T11:24:38.361711822+01:00 diff --git a/CHANGELOG.md b/CHANGELOG.md index dabcb5a..ffae9b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 1.2.2-rc3 - 2024-11-18 +### Fixed +* Embed resources into presentation formation signature +* Checkout images using lfs +* Fixed CI + ## 1.2.2-rc2 - 2024-11-18 ### Fixed * Embed resources into presentation formation signature -- 2.45.2 From 7edc02e9db66b7720aa5cb328767c3268bcfb4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 18 Nov 2024 11:26:18 +0100 Subject: [PATCH 7/7] restore ci on tags only --- .gitea/workflows/build-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 934dc31..184f744 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -1,7 +1,9 @@ name: Build an image to deploy website on: - push + push: + tags: + - v* # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: -- 2.45.2