From e5bb13ed634197b11ac27dbfa369b8b1eb7ff10b Mon Sep 17 00:00:00 2001 From: Gianfranco Paoloni Date: Tue, 6 Sep 2022 21:24:31 -0300 Subject: [PATCH] Commented deploy and e2e --- .../plugin-hrm-form-pre-release-qa.yml | 84 +++++++++---------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/.github/workflows/plugin-hrm-form-pre-release-qa.yml b/.github/workflows/plugin-hrm-form-pre-release-qa.yml index 528808cd97..3c72bdf3a7 100644 --- a/.github/workflows/plugin-hrm-form-pre-release-qa.yml +++ b/.github/workflows/plugin-hrm-form-pre-release-qa.yml @@ -15,56 +15,56 @@ on: jobs: - build-and-deploy: - # TODO: remove branch tag (@gian_CHI-1262-p2) - uses: techmatters/flex-plugins/.github/workflows/end_to_end_development.yml@gian_CHI-1262-p2 - secrets: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} - E2E_DEV_ACCOUNT_SID: ${{ secrets.E2E_DEV_ACCOUNT_SID }} - E2E_DEV_AUTH_TOKEN: ${{ secrets.E2E_DEV_AUTH_TOKEN }} - with: - changelog: "Deploying for pre-release ${{ inputs.tag-prefix }}: ${{ inputs.tag-prefix }} (commit ${{ github.sha }})" - send-slack-message: 'false' + # build-and-deploy: + # # TODO: remove branch tag (@gian_CHI-1262-p2) + # uses: techmatters/flex-plugins/.github/workflows/end_to_end_development.yml@gian_CHI-1262-p2 + # secrets: + # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} + # E2E_DEV_ACCOUNT_SID: ${{ secrets.E2E_DEV_ACCOUNT_SID }} + # E2E_DEV_AUTH_TOKEN: ${{ secrets.E2E_DEV_AUTH_TOKEN }} + # with: + # changelog: "Deploying for pre-release ${{ inputs.tag-prefix }}: ${{ inputs.tag-prefix }} (commit ${{ github.sha }})" + # send-slack-message: 'false' - run-e2e-tests: - needs: build-and-deploy + # run-e2e-tests: + # needs: build-and-deploy - runs-on: ubuntu-latest + # runs-on: ubuntu-latest - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - name: Use Node.js - uses: actions/setup-node@v1 - with: - node-version: '14.x' + # steps: + # # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + # - uses: actions/checkout@v2 + # - name: Use Node.js + # uses: actions/setup-node@v1 + # with: + # node-version: '14.x' - # Build Playwright - - name: Install e2e-tests dependencies - run: npm install - working-directory: ./e2e-tests - - name: Setup dependencies for playwright/browsers - uses: microsoft/playwright-github-action@v1 - - name: Install Playwright CLI - run: npx playwright install - working-directory: ./e2e-tests + # # Build Playwright + # - name: Install e2e-tests dependencies + # run: npm install + # working-directory: ./e2e-tests + # - name: Setup dependencies for playwright/browsers + # uses: microsoft/playwright-github-action@v1 + # - name: Install Playwright CLI + # run: npx playwright install + # working-directory: ./e2e-tests - # Run E2E tests against actual E2E Flex instance - - name: Run Playwright tests - run: DEBUG=pw:api PLAYWRIGHT_BASEURL=${{secrets.PLAYWRIGHT_BASEURL_E2E}} PLAYWRIGHT_USER_USERNAME=${{secrets.PLAYWRIGHT_USER_USERNAME}} PLAYWRIGHT_USER_PASSWORD=${{secrets.PLAYWRIGHT_USER_PASSWORD}} TWILIO_ACCOUNT_SID=${{secrets.E2E_DEV_ACCOUNT_SID}} TWILIO_AUTH_TOKEN=${{secrets.E2E_DEV_AUTH_TOKEN}} npx playwright test - working-directory: ./e2e-tests + # # Run E2E tests against actual E2E Flex instance + # - name: Run Playwright tests + # run: DEBUG=pw:api PLAYWRIGHT_BASEURL=${{secrets.PLAYWRIGHT_BASEURL_E2E}} PLAYWRIGHT_USER_USERNAME=${{secrets.PLAYWRIGHT_USER_USERNAME}} PLAYWRIGHT_USER_PASSWORD=${{secrets.PLAYWRIGHT_USER_PASSWORD}} TWILIO_ACCOUNT_SID=${{secrets.E2E_DEV_ACCOUNT_SID}} TWILIO_AUTH_TOKEN=${{secrets.E2E_DEV_AUTH_TOKEN}} npx playwright test + # working-directory: ./e2e-tests - # Upload artifacts - - uses: actions/upload-artifact@v2 - if: ${{ always() }} - with: - name: test-artifacts - path: e2e-tests/test-results + # # Upload artifacts + # - uses: actions/upload-artifact@v2 + # if: ${{ always() }} + # with: + # name: test-artifacts + # path: e2e-tests/test-results generate-pre-release: - needs: run-e2e-tests + # needs: run-e2e-tests runs-on: ubuntu-latest