Extract e2e test environment variables into file.

This commit is contained in:
Maximilian Paß
2024-01-24 14:13:41 +01:00
committed by Sebastian Serth
parent fa04ed8ad4
commit f16efa65b7
3 changed files with 14 additions and 14 deletions

7
.github/workflows/resources/.env vendored Normal file
View File

@@ -0,0 +1,7 @@
POSEIDON_AWS_ENABLED="false"
POSEIDON_AWS_ENDPOINT="${POSEIDON_AWS_ENDPOINT}"
POSEIDON_AWS_FUNCTIONS=""
POSEIDON_LOGGER_FORMATTER="JSONFormatter"
POSEIDON_LOG_FILE="${GITHUB_WORKSPACE}/poseidon.log"
POSEIDON_NOMAD_DISABLEFORCEPULL="true"
GOCOVERDIR="${GITHUB_WORKSPACE}/coverage"

View File

@@ -8,8 +8,7 @@ Requires=poseidon.socket
[Service]
WorkingDirectory=${GITHUB_WORKSPACE}
ExecStart=${GITHUB_WORKSPACE}/poseidon
Environment="POSEIDON_SERVER_SYSTEMDSOCKETACTIVATION=TRUE"
Environment="GOCOVERDIR=${GITHUB_WORKSPACE}/${GOCOVERDIR}"
EnvironmentFile=${GITHUB_WORKSPACE}/.env
Restart=always
StartLimitBurst=0