mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 00:50:56 -05:00
add lxc-helpers
This commit is contained in:
parent
fd145b4da2
commit
203f05100b
6 changed files with 12 additions and 2 deletions
|
@ -11,6 +11,8 @@ jobs:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: 'true'
|
||||||
- run: |
|
- run: |
|
||||||
set -x
|
set -x
|
||||||
./forgejo-dependencies.sh install_docker
|
./forgejo-dependencies.sh install_docker
|
||||||
|
|
|
@ -4,6 +4,8 @@ jobs:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: 'true'
|
||||||
- run: |
|
- run: |
|
||||||
set -x
|
set -x
|
||||||
LXC_IP_PREFIX=10.0.9 ./forgejo-dependencies.sh
|
LXC_IP_PREFIX=10.0.9 ./forgejo-dependencies.sh
|
||||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "lxc-helpers"]
|
||||||
|
path = lxc-helpers
|
||||||
|
url = https://code.forgejo.org/forgejo/lxc-helpers
|
|
@ -138,10 +138,10 @@ function push_self_action() {
|
||||||
local tag="$4"
|
local tag="$4"
|
||||||
|
|
||||||
local dir="$DIR/self"
|
local dir="$DIR/self"
|
||||||
git clone . $dir
|
git clone --recurse-submodules . $dir
|
||||||
(
|
(
|
||||||
cd $dir
|
cd $dir
|
||||||
rm -fr .forgejo .git
|
rm -fr .forgejo .git lxc-helpers/.git
|
||||||
git init
|
git init
|
||||||
git checkout -b main
|
git checkout -b main
|
||||||
git remote add origin "$url/$owner/$self_action"
|
git remote add origin "$url/$owner/$self_action"
|
||||||
|
|
1
lxc-helpers
Submodule
1
lxc-helpers
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0e3a7b3f4835b45cc3758f974f09819c923b2398
|
|
@ -10,6 +10,8 @@ jobs:
|
||||||
echo +++++++++++++++++++++++++++++++++++++++++++
|
echo +++++++++++++++++++++++++++++++++++++++++++
|
||||||
echo about to actions/checkout@v3 for SELF@vTest
|
echo about to actions/checkout@v3 for SELF@vTest
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: 'true'
|
||||||
- id: forgejo
|
- id: forgejo
|
||||||
uses: SELF@vTest
|
uses: SELF@vTest
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue