Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable30] ci(integration): Print federation log file #13942

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/integration-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,18 @@ jobs:
run: |
cat data/nextcloud.log

- name: Check Federation log
if: always()
id: check_federation_log
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "data/tests-talk-real-federated-server/data/nextcloud.log"

- name: Print federation logs
if: always() && steps.check_federation_log.outputs.files_exists == 'true'
run: |
cat data/tests-talk-real-federated-server/data/nextcloud.log

summary:
permissions:
contents: none
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/integration-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,18 @@ jobs:
run: |
cat data/nextcloud.log

- name: Check Federation log
if: always()
id: check_federation_log
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "data/tests-talk-real-federated-server/data/nextcloud.log"

- name: Print federation logs
if: always() && steps.check_federation_log.outputs.files_exists == 'true'
run: |
cat data/tests-talk-real-federated-server/data/nextcloud.log

summary:
permissions:
contents: none
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/integration-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,18 @@ jobs:
run: |
cat data/nextcloud.log

- name: Check Federation log
if: always()
id: check_federation_log
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "data/tests-talk-real-federated-server/data/nextcloud.log"

- name: Print federation logs
if: always() && steps.check_federation_log.outputs.files_exists == 'true'
run: |
cat data/tests-talk-real-federated-server/data/nextcloud.log

summary:
permissions:
contents: none
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/integration-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,18 @@ jobs:
run: |
cat data/nextcloud.log

- name: Check Federation log
if: always()
id: check_federation_log
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "data/tests-talk-real-federated-server/data/nextcloud.log"

- name: Print federation logs
if: always() && steps.check_federation_log.outputs.files_exists == 'true'
run: |
cat data/tests-talk-real-federated-server/data/nextcloud.log

summary:
permissions:
contents: none
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/integration-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ jobs:
run: |
cat data/nextcloud.log

- name: Check Federation log
if: always()
id: check_federation_log
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "data/tests-talk-real-federated-server/data/nextcloud.log"

- name: Print federation logs
if: always() && steps.check_federation_log.outputs.files_exists == 'true'
run: |
cat data/tests-talk-real-federated-server/data/nextcloud.log

summary:
permissions:
contents: none
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ DESTROY_REAL_FEDERATED_SERVER=false

if [ ! -d "$REAL_FEDERATED_SERVER_CONFIG_DIR" ] || NEXTCLOUD_CONFIG_DIR="$REAL_FEDERATED_SERVER_CONFIG_DIR" ${ROOT_DIR}/occ status | grep "installed: false"; then
DESTROY_REAL_FEDERATED_SERVER=true
if [ $CI ]; then
DESTROY_REAL_FEDERATED_SERVER=false
fi
echo ''
echo -e "\033[0;31mReal federated server not installed in $REAL_FEDERATED_SERVER_CONFIG_DIR\033[0m"
echo -e "\033[0;33mPerforming basic SQLite installation with data directory in $REAL_FEDERATED_SERVER_DATA_DIR\033[0m"
Expand Down
Loading