Use random repo name and hardcode API token
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
# Configuration
|
||||
GITEA_URL="https://git.domverse-berlin.eu"
|
||||
GITEA_USER="domverse"
|
||||
GITEA_TOKEN="${GITEA_TOKEN:?'GITEA_TOKEN environment variable must be set'}"
|
||||
TEST_REPO="test-repo"
|
||||
GITEA_TOKEN="${GITEA_TOKEN:-74d3ae59375a1cf2b4bc78b98e4de9e4208413ce}"
|
||||
TEST_REPO="test-$(head -c 6 /dev/urandom | base64 | tr -dc 'a-z0-9' | head -c 8)"
|
||||
TEST_DIR="/tmp/gitea-test-$$"
|
||||
API_URL="${GITEA_URL}/api/v1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user