Skip to content

Commit

Permalink
Update/1.22.0 (#21)
Browse files Browse the repository at this point in the history
* Update to 1.22.0 and bump version number

* Update build and release workflows

* Fix deprecated config options
  • Loading branch information
k0gen authored May 29, 2024
1 parent 17afa75 commit 91fada3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/buildService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Build Service
on:
workflow_dispatch:
pull_request:
paths-ignore: ["*.md"]
branches: ["main", "master"]
paths-ignore: ['*.md']
branches: ['main', 'master']
push:
paths-ignore: ["*.md"]
branches: ["main", "master"]
paths-ignore: ['*.md']
branches: ['main', 'master']

jobs:
BuildPackage:
Expand All @@ -17,7 +17,7 @@ jobs:
uses: Start9Labs/sdk@v1

- name: Checkout services repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build the service package
id: build
Expand All @@ -30,7 +30,7 @@ jobs:
shell: bash

- name: Upload .s9pk
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.package_id }}.s9pk
path: ./${{ env.package_id }}.s9pk
6 changes: 3 additions & 3 deletions .github/workflows/releaseService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Service
on:
push:
tags:
- "v*.*"
- 'v*.*'

jobs:
ReleasePackage:
Expand All @@ -15,7 +15,7 @@ jobs:
uses: Start9Labs/sdk@v1

- name: Checkout services repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build the service package
run: |
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
shell: bash

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ env.package_title }} ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gitea/gitea:1.21.8
FROM gitea/gitea:1.22.0

RUN apk add --no-cache tini curl yq; \
rm -f /var/cache/apk/*
Expand Down
2 changes: 2 additions & 0 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export GITEA__server__ROOT_URL="$PROTOCOL://$DOMAIN/"
export GITEA__server__SSH_DOMAIN=$DOMAIN
export GITEA__security__INSTALL_LOCK=true
export GITEA__security__SECRET_KEY=$SECRET_KEY
export GITEA__lfs__PATH="/data/git/lfs"
sed -i -e '/^LFS_CONTENT_PATH =/d' -e '/^ROUTER =/d' /data/gitea/conf/app.ini

if [ "$(yq ".disable-registration" /data/start9/config.yaml)" = "true" ]; then
export GITEA__service__DISABLE_REGISTRATION=true
Expand Down
5 changes: 3 additions & 2 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
id: gitea
title: "Gitea"
version: 1.21.8
version: 1.22.0
release-notes: |
* Upstream code update
* Full list of upstream changes available [here](https://github.com/go-gitea/gitea/compare/v1.21.2...v1.21.8)
* Fix deprecated config options
* Full list of upstream changes available [here](https://github.com/go-gitea/gitea/compare/v1.21.8...v1.22.0)
license: MIT
wrapper-repo: "https://github.com/Start9Labs/gitea-startos"
upstream-repo: "https://github.com/go-gitea/gitea"
Expand Down
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export const migration: T.ExpectedExports.migration = compat.migrations
throw new Error("Downgrade not supported");
},
},
}, "1.21.8");
}, "1.22.0");

0 comments on commit 91fada3

Please sign in to comment.