summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-04-12 19:56:25 +0200
committerGitHub <noreply@github.com>2024-04-12 19:56:25 +0200
commitc015e8413ed57e2cbeb2c552640dd3230808cddf (patch)
treebe10bf724df426daa460c674e3d2681b84cf610a /.github
parent[RBAC] Update related name to reflect upstream DAB change (#15093) (diff)
downloadawx-c015e8413ed57e2cbeb2c552640dd3230808cddf.tar.xz
awx-c015e8413ed57e2cbeb2c552640dd3230808cddf.zip
Store molecule debug output to github artifacts (#15107)
Related to https://github.com/ansible/awx-operator/pull/1823
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e2d205a1dd..cb83d92090 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -66,6 +66,8 @@ jobs:
awx-operator:
runs-on: ubuntu-latest
timeout-minutes: 60
+ env:
+ DEBUG_OUTPUT_DIR: /tmp/awx_operator_molecule_test
steps:
- name: Checkout awx
uses: actions/checkout@v3
@@ -111,6 +113,14 @@ jobs:
env:
AWX_TEST_IMAGE: local/awx
AWX_TEST_VERSION: ci
+ STORE_DEBUG_OUTPUT: true
+
+ - name: Upload debug output
+ if: failure()
+ uses: actions/upload-artifact@v3
+ with:
+ name: awx-operator-debug-output
+ path: ${{ env.DEBUG_OUTPUT_DIR }}
collection-sanity:
name: awx_collection sanity