Compare commits
5 Commits
fix/timeli
...
ci_cat_log
| Author | SHA256 | Date | |
|---|---|---|---|
| 709d59c1f8 | |||
| 545898b9d6 | |||
| ee3a64e113 | |||
|
|
61d03fc709 | ||
|
|
fca20232e6 |
@@ -18,6 +18,15 @@ jobs:
|
||||
run: whoami
|
||||
- name: pwd
|
||||
run: pwd
|
||||
- name: free disk space if needed
|
||||
run: |
|
||||
df -h
|
||||
df -H . | tail -n 1 | awk '{ print $5 }' | grep -oE '[0-9]+'
|
||||
test 85 -lt "$(df -H . | tail -n 1 | awk '{ print $5 }' | grep -oE '[0-9]+')" || echo too low space will attempt to clean
|
||||
test 85 -lt "$(df -H . | tail -n 1 | awk '{ print $5 }' | grep -oE '[0-9]+')" || bash -xc 'go clean cache'
|
||||
test 85 -lt "$(df -H . | tail -n 1 | awk '{ print $5 }' | grep -oE '[0-9]+')" || bash -xc 'podman rmi -a -f'
|
||||
df -h
|
||||
df -H . | tail -n 1 | awk '{ print $5 }' | grep -oE '[0-9]+'
|
||||
- name: vars
|
||||
run: |
|
||||
set | grep GITEA_
|
||||
@@ -45,6 +54,26 @@ jobs:
|
||||
- name: Run tests
|
||||
run: py.test-3.11 -v tests
|
||||
working-directory: ./autogits/integration
|
||||
- name: podman ps
|
||||
if: failure()
|
||||
run: podman ps
|
||||
- name: workflow pr log
|
||||
if: failure()
|
||||
run: |
|
||||
echo $(podman-compose logs workflow-pr | wc -l)
|
||||
working-directory: ./autogits/integration
|
||||
- name: workflow pr log
|
||||
if: failure()
|
||||
run: |
|
||||
echo "here are the logs:"
|
||||
podman-compose logs workflow-pr
|
||||
working-directory: ./autogits/integration
|
||||
- name: gitea log
|
||||
if: failure()
|
||||
run: podman logs gitea-test
|
||||
- name: gitea publisher log
|
||||
if: failure()
|
||||
run: podman logs gitea-publisher
|
||||
- name: Make sure the pod is down
|
||||
if: always()
|
||||
run: make down
|
||||
|
||||
@@ -155,7 +155,6 @@ index 0000000..e69de29
|
||||
|
||||
|
||||
@pytest.mark.t005
|
||||
# @pytest.mark.xfail(reason="TBD troubleshoot")
|
||||
def test_005_any_maintainer_approval_sufficient(maintainer_env, ownerA_client, ownerBB_client):
|
||||
"""
|
||||
Test scenario:
|
||||
@@ -233,7 +232,6 @@ index 0000000..e69de29
|
||||
|
||||
|
||||
@pytest.mark.t006
|
||||
@pytest.mark.xfail(reason="tbd flacky in ci")
|
||||
def test_006_maintainer_rejection_removes_other_requests(maintainer_env, ownerA_client, ownerBB_client):
|
||||
"""
|
||||
Test scenario:
|
||||
@@ -287,7 +285,6 @@ index 0000000..e69de29
|
||||
|
||||
|
||||
@pytest.mark.t007
|
||||
@pytest.mark.xfail(reason="TBD troubleshoot")
|
||||
def test_007_review_required_needs_all_approvals(review_required_env, ownerA_client, ownerBB_client):
|
||||
"""
|
||||
Test scenario:
|
||||
|
||||
Reference in New Issue
Block a user