1
0
Fork 0

Adding upstream version 3.10.8.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-18 09:37:23 +02:00
parent 37e9b6d587
commit 03bfe4079e
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
356 changed files with 28857 additions and 0 deletions

View file

@ -0,0 +1,35 @@
on:
push:
tags: 'v*'
jobs:
publish:
runs-on: docker-bookworm
container:
image: 'data.forgejo.org/oci/ci:1'
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
- uses: https://data.forgejo.org/actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: |
make f3-cli
mkdir release
mv f3-cli release/
- name: publish release
uses: https://data.forgejo.org/actions/forgejo-release@v2.6.0
with:
url: "https://code.forgejo.org"
repo: "f3/gof3"
direction: upload
tag: "${{ github.ref_name }}"
sha: "${{ github.sha }}"
release-dir: release
token: ${{ secrets.RELEASE_NOTES_ASSISTANT_TOKEN }}
override: true
verbose: ${{ vars.VERBOSE || "false" }}
release-notes-assistant: true
hide-archive-link: true

View file

@ -0,0 +1,38 @@
#
# secrets.F3_READ_PRIVATE_MIRRORS_TOKEN
# https://code.forgejo.org/forgejo-mirror scope read:repository
#
on:
pull_request_target:
push:
branches:
- 'main'
- 'wip-gitea'
jobs:
compliance-gitea:
runs-on: lxc-bookworm
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
with:
submodules: true
- uses: https://data.forgejo.org/actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: install jq make
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -qq -y jq make
- run: make deps-backend lint
- name: install zstd for actions/cache@v4
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -y -qq zstd
- name: run tests
run: |
./tests/run.sh prepare_container
su forgejo -c "./tests/run.sh test_gitea ${{ secrets.F3_READ_PRIVATE_MIRRORS_TOKEN }}"

View file

@ -0,0 +1,54 @@
on:
pull_request:
push:
branches:
- 'main'
jobs:
compliance:
runs-on: lxc-bookworm
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
with:
submodules: true
- uses: https://data.forgejo.org/actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: install jq make
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -qq -y jq make
- run: make deps-backend lint
- name: install hoverfly
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -qq -y unzip wget
version=$(./tests/run.sh hoverfly_version)
wget https://github.com/SpectoLabs/hoverfly/releases/download/v$version/hoverfly_bundle_linux_amd64.zip
unzip hoverfly_bundle_linux_amd64.zip
mv hoverfly hoverctl /usr/local/bin
- name: install zstd for actions/cache@v4
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -y -qq zstd
- name: get GitLab version
id: gitlab
run: |
echo "version=$(./tests/run.sh gitlab_version)" >> "$GITHUB_OUTPUT"
- name: cache GitLab OCI image
uses: https://data.forgejo.org/actions/cache@v4
with:
path: |
/srv/forgejo-binaries/gitlab
key: gitlab-${{ steps.gitlab.outputs.version }}
- name: run tests
run: |
./tests/run.sh prepare_container
su forgejo -c "./tests/run.sh run"