Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2026-05-28 15:26:07 +00:00
parent 29ecca8803
commit 1f6ec897d6
7 changed files with 0 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
additionalProperties:
formFields:
- default: "/home/woodpecker"
edit: true
envKey: WOODPECKER_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: "localhost:9000"
edit: true
envKey: WOODPECKER_SERVER
labelZh: Woodpecker GRPC 服务地址
labelEn: Woodpecker server GRPC address
required: true
type: text
- default: ""
edit: true
envKey: WOODPECKER_AGENT_SECRET
labelZh: 密钥
labelEn: Secret
required: true
type: text
- default: 4
edit: true
envKey: WOODPECKER_MAX_WORKFLOWS
labelZh: 最大任务数
labelEn: Maximum number of tasks
required: true
type: number
@@ -0,0 +1,21 @@
networks:
1panel-network:
external: true
services:
woodpecker-agent:
image: woodpeckerci/woodpecker-agent:v3.15.0
container_name: ${CONTAINER_NAME}
command: agent
restart: always
networks:
- 1panel-network
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${WOODPECKER_ROOT_PATH}/agent:/etc/woodpecker
environment:
- HTTPS_PROXY=${HTTP_PROXY}
- NO_PROXY=127.0.0.1,localhost,.local,woodpecker-agent,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -0,0 +1,21 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
DATA_DIR="$WOODPECKER_ROOT_PATH"
chmod -R 777 "$DATA_DIR"
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi