fix(server): make temp file names longer (#1464)

This commit is contained in:
Vinicius Fortuna 2024-01-10 08:43:02 -05:00 committed by GitHub
parent ac6be23b2e
commit 4537fddc75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View file

@ -59,6 +59,19 @@ jobs:
- name: Shadowbox Integration Test
run: npm run action shadowbox/integration_test/run
manual-install-script:
name: Manual Install Script
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Install Outline Server
run: ./src/server_manager/install_scripts/install_server.sh --hostname localhost
- name: Test API
run: 'curl --silent --fail --insecure $(grep "apiUrl" /opt/outline/access.txt | cut -d: -f 2-)/server'
metrics-server:
name: Metrics Server
runs-on: ubuntu-latest

View file

@ -58,8 +58,8 @@ readonly SENTRY_LOG_FILE=${SENTRY_LOG_FILE:-}
# - STDERR is only used in the event of a fatal error
# - Detailed logs are recorded to this FULL_LOG, which is preserved if an error occurred.
# - The most recent error is stored in LAST_ERROR, which is never preserved.
FULL_LOG="$(mktemp -t outline_logXXX)"
LAST_ERROR="$(mktemp -t outline_last_errorXXX)"
FULL_LOG="$(mktemp -t outline_logXXXXXXXXXX)"
LAST_ERROR="$(mktemp -t outline_last_errorXXXXXXXXXX)"
readonly FULL_LOG LAST_ERROR
function log_command() {