1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 09:56:16 +00:00

add lxc-helpers

This commit is contained in:
Earl Warren 2023-05-16 23:39:10 +02:00
parent fd145b4da2
commit 203f05100b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
6 changed files with 12 additions and 2 deletions

View file

@ -11,6 +11,8 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- run: |
set -x
./forgejo-dependencies.sh install_docker

View file

@ -4,6 +4,8 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- run: |
set -x
LXC_IP_PREFIX=10.0.9 ./forgejo-dependencies.sh

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "lxc-helpers"]
path = lxc-helpers
url = https://code.forgejo.org/forgejo/lxc-helpers

View file

@ -138,10 +138,10 @@ function push_self_action() {
local tag="$4"
local dir="$DIR/self"
git clone . $dir
git clone --recurse-submodules . $dir
(
cd $dir
rm -fr .forgejo .git
rm -fr .forgejo .git lxc-helpers/.git
git init
git checkout -b main
git remote add origin "$url/$owner/$self_action"

1
lxc-helpers Submodule

@ -0,0 +1 @@
Subproject commit 0e3a7b3f4835b45cc3758f974f09819c923b2398

View file

@ -10,6 +10,8 @@ jobs:
echo +++++++++++++++++++++++++++++++++++++++++++
echo about to actions/checkout@v3 for SELF@vTest
- uses: actions/checkout@v3
with:
submodules: 'true'
- id: forgejo
uses: SELF@vTest
with: