diff --git a/.github/workflows/build_and_test_debug.yml b/.github/workflows/build_and_test_debug.yml index e73e46472..eabbdadb9 100644 --- a/.github/workflows/build_and_test_debug.yml +++ b/.github/workflows/build_and_test_debug.yml @@ -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 diff --git a/src/server_manager/install_scripts/install_server.sh b/src/server_manager/install_scripts/install_server.sh index e2c125c62..146c0b429 100755 --- a/src/server_manager/install_scripts/install_server.sh +++ b/src/server_manager/install_scripts/install_server.sh @@ -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() {