chore: s/code.forgejo.org/data.forgejo.org/ for actions
This commit is contained in:
parent
3cbec4448c
commit
b2471a699d
8 changed files with 22 additions and 22 deletions
|
|
@ -3,7 +3,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: cache S3 binaries
|
- name: cache S3 binaries
|
||||||
id: S3
|
id: S3
|
||||||
uses: https://code.forgejo.org/actions/cache@v4
|
uses: https://data.forgejo.org/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/minio
|
/usr/local/bin/minio
|
||||||
|
|
@ -11,7 +11,7 @@ runs:
|
||||||
/usr/local/bin/garage
|
/usr/local/bin/garage
|
||||||
key: S3
|
key: S3
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/actions/setup-forgejo@v2.0.10
|
- uses: https://data.forgejo.org/actions/setup-forgejo@v2.0.10
|
||||||
with:
|
with:
|
||||||
install-only: true
|
install-only: true
|
||||||
- run: forgejo-binary.sh ensure_user forgejo
|
- run: forgejo-binary.sh ensure_user forgejo
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: 'code.forgejo.org/oci/node:20-bookworm'
|
image: 'code.forgejo.org/oci/node:20-bookworm'
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v5
|
- uses: https://data.forgejo.org/actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.22"
|
||||||
- name: lib/build.sh
|
- name: lib/build.sh
|
||||||
|
|
@ -64,7 +64,7 @@ jobs:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: lxc-bookworm
|
runs-on: lxc-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: ./.forgejo/prepare-end-to-end
|
- uses: ./.forgejo/prepare-end-to-end
|
||||||
- run: su forgejo -c "./end-to-end.sh test_packages"
|
- run: su forgejo -c "./end-to-end.sh test_packages"
|
||||||
- name: full logs
|
- name: full logs
|
||||||
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: lxc-bookworm
|
runs-on: lxc-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: ./.forgejo/prepare-end-to-end
|
- uses: ./.forgejo/prepare-end-to-end
|
||||||
- run: ./end-to-end.sh prepare_dockerd
|
- run: ./end-to-end.sh prepare_dockerd
|
||||||
- run: su forgejo -c "./end-to-end.sh test_actions"
|
- run: su forgejo -c "./end-to-end.sh test_actions"
|
||||||
|
|
@ -87,14 +87,14 @@ jobs:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: lxc-bookworm
|
runs-on: lxc-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: ./.forgejo/prepare-end-to-end
|
- uses: ./.forgejo/prepare-end-to-end
|
||||||
- name: install zstd
|
- name: install zstd
|
||||||
run: |
|
run: |
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get -q install -y -qq zstd
|
apt-get -q install -y -qq zstd
|
||||||
- name: cache GitLab OCI image
|
- name: cache GitLab OCI image
|
||||||
uses: https://code.forgejo.org/actions/cache@v4
|
uses: https://data.forgejo.org/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/srv/forgejo-binaries/gitlab
|
/srv/forgejo-binaries/gitlab
|
||||||
|
|
@ -120,7 +120,7 @@ jobs:
|
||||||
forgejo: https://codeberg.org
|
forgejo: https://codeberg.org
|
||||||
owner: forgejo
|
owner: forgejo
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: ./.forgejo/prepare-end-to-end
|
- uses: ./.forgejo/prepare-end-to-end
|
||||||
- name: set full-version
|
- name: set full-version
|
||||||
id: full-version
|
id: full-version
|
||||||
|
|
@ -132,7 +132,7 @@ jobs:
|
||||||
- run: ./end-to-end.sh prepare_dockerd
|
- run: ./end-to-end.sh prepare_dockerd
|
||||||
- run: su forgejo -c "./end-to-end.sh test_actions ${{ matrix.info.version }}"
|
- run: su forgejo -c "./end-to-end.sh test_actions ${{ matrix.info.version }}"
|
||||||
- name: update documentation
|
- name: update documentation
|
||||||
uses: https://code.forgejo.org/actions/cascading-pr@v2.1
|
uses: https://data.forgejo.org/actions/cascading-pr@v2.1
|
||||||
with:
|
with:
|
||||||
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
origin-url: ${{ env.GITHUB_SERVER_URL }}
|
||||||
origin-repo: ${{ github.repository }}
|
origin-repo: ${{ github.repository }}
|
||||||
|
|
@ -154,7 +154,7 @@ jobs:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: lxc-bookworm
|
runs-on: lxc-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: ./.forgejo/prepare-end-to-end
|
- uses: ./.forgejo/prepare-end-to-end
|
||||||
- run: su forgejo -c "./end-to-end.sh test_upgrades"
|
- run: su forgejo -c "./end-to-end.sh test_upgrades"
|
||||||
- run: su forgejo -c "./end-to-end.sh test_storage"
|
- run: su forgejo -c "./end-to-end.sh test_storage"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
|
|
||||||
- run: touch artifacts/ONE artifacts/TWO
|
- run: touch artifacts/ONE artifacts/TWO
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
- uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: many-artifacts
|
name: many-artifacts
|
||||||
path: artifacts/
|
path: artifacts/
|
||||||
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
needs: [upload-many]
|
needs: [upload-many]
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
- uses: https://data.forgejo.org/forgejo/download-artifact@v4
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
test -f many-artifacts/ONE
|
test -f many-artifacts/ONE
|
||||||
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
|
|
||||||
- run: echo hello > path/to/artifact/world.txt
|
- run: echo hello > path/to/artifact/world.txt
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
- uses: https://data.forgejo.org/forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: my-artifact
|
name: my-artifact
|
||||||
path: path/to/artifact/world.txt
|
path: path/to/artifact/world.txt
|
||||||
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: "! test -f world.txt"
|
- run: "! test -f world.txt"
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
- uses: https://data.forgejo.org/forgejo/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: my-artifact
|
name: my-artifact
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: cache restore
|
- name: cache restore
|
||||||
id: cachestep
|
id: cachestep
|
||||||
uses: https://code.forgejo.org/actions/cache/restore@v4
|
uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/something
|
/usr/local/bin/something
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
run: echo SOMETHING > /usr/local/bin/something
|
run: echo SOMETHING > /usr/local/bin/something
|
||||||
|
|
||||||
- name: cache save
|
- name: cache save
|
||||||
uses: https://code.forgejo.org/actions/cache/save@v4
|
uses: https://data.forgejo.org/actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/something
|
/usr/local/bin/something
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: cache restore
|
- name: cache restore
|
||||||
id: cachestep1
|
id: cachestep1
|
||||||
uses: https://code.forgejo.org/actions/cache/restore@v4
|
uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/something
|
/usr/local/bin/something
|
||||||
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
run: echo SOMETHING > /usr/local/bin/something
|
run: echo SOMETHING > /usr/local/bin/something
|
||||||
|
|
||||||
- name: cache save
|
- name: cache save
|
||||||
uses: https://code.forgejo.org/actions/cache/save@v4
|
uses: https://data.forgejo.org/actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/something
|
/usr/local/bin/something
|
||||||
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
|
|
||||||
- name: cache restore
|
- name: cache restore
|
||||||
id: cachestep2
|
id: cachestep2
|
||||||
uses: https://code.forgejo.org/actions/cache/restore@v4
|
uses: https://data.forgejo.org/actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/bin/something
|
/usr/local/bin/something
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
#
|
#
|
||||||
# This Docker action creates the file SOMEFILE ...
|
# This Docker action creates the file SOMEFILE ...
|
||||||
#
|
#
|
||||||
- uses: https://code.forgejo.org/forgejo/test-setup-forgejo-docker@main
|
- uses: https://data.forgejo.org/forgejo/test-setup-forgejo-docker@main
|
||||||
with:
|
with:
|
||||||
args: ${{ github.workspace }}/SOMEFILE
|
args: ${{ github.workspace }}/SOMEFILE
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ jobs:
|
||||||
${{ toJSON(github) }}
|
${{ toJSON(github) }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- name: checkout the default branch if pull_request_target
|
- name: checkout the default branch if pull_request_target
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue