From 35d249bda0c012fc2cb11cd0f578e162e4a357af Mon Sep 17 00:00:00 2001 From: Ishan Jain <51803183+ishanjainn@users.noreply.github.com> Date: Tue, 22 Nov 2022 15:28:21 +0530 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 70 +++++++++++++++++------------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e292359..2ca124e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,50 +39,50 @@ jobs: run: ansible-test sanity -v --color --coverage working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} - integration: - runs-on: ubuntu-latest - name: Integration (Ⓐ${{ matrix.ansible }}-py${{ matrix.python }}) - strategy: - fail-fast: true - max-parallel: 1 - matrix: - ansible: - - stable-2.13 - python: - - '3.10' +# integration: +# runs-on: ubuntu-latest +# name: Integration (Ⓐ${{ matrix.ansible }}-py${{ matrix.python }}) +# strategy: +# fail-fast: true +# max-parallel: 1 +# matrix: +# ansible: +# - stable-2.13 +# python: +# - '3.10' - steps: - - name: Check out code - uses: actions/checkout@v2 - with: - path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} +# steps: +# - name: Check out code +# uses: actions/checkout@v2 +# with: +# path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} - - name: create integration_config - working-directory: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}/tests/integration - run: | - cat < integration_config.yml - stack_name: ${{ secrets.ANSIBLE_TEST_STACK_NAME }} - org_name: ${{ secrets.ANSIBLE_TEST_ORG_NAME }} - grafana_cloud_api_key: ${{ secrets.ANSIBLE_TEST_CLOUD_API_KEY }} - grafana_api_key: ${{ secrets.ANSIBLE_TEST_GRAFANA_API_KEY }} - EOF +# - name: create integration_config +# working-directory: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}/tests/integration +# run: | +# cat < integration_config.yml +# stack_name: ${{ secrets.ANSIBLE_TEST_STACK_NAME }} +# org_name: ${{ secrets.ANSIBLE_TEST_ORG_NAME }} +# grafana_cloud_api_key: ${{ secrets.ANSIBLE_TEST_CLOUD_API_KEY }} +# grafana_api_key: ${{ secrets.ANSIBLE_TEST_GRAFANA_API_KEY }} +# EOF - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} +# - name: Set up Python +# uses: actions/setup-python@v2 +# with: +# python-version: ${{ matrix.python }} - - name: Install ansible-base (${{ matrix.ansible }}) - run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check +# - name: Install ansible-base (${{ matrix.ansible }}) +# run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check - - name: Run integration test - run: ansible-test integration -v --color --retry-on-error --continue-on-error --diff --python ${{ matrix.python }} --docker --coverage - working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} +# - name: Run integration test +# run: ansible-test integration -v --color --retry-on-error --continue-on-error --diff --python ${{ matrix.python }} --docker --coverage +# working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}} release: name: Create GitHub Release runs-on: ubuntu-latest - needs: [sanity, integration] + needs: [sanity] steps: - name: Checkout uses: actions/checkout@v3