Skip to content

Commit

Permalink
Remove debugging steps
Browse files Browse the repository at this point in the history
  • Loading branch information
sbreker committed Oct 21, 2024
1 parent b0e7203 commit fb9ee78
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/oidc-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,31 +121,17 @@ jobs:
sudo nginx -t
sudo systemctl restart nginx
- name: Dump contents of app.yml BEFORE copy
run: sudo cat plugins/arOidcPlugin/config/app.yml

- name: Update OIDC plugin app.yml file
run: sudo cp -v test/etc/oidc/arOidcPlugin/config/app.yml plugins/arOidcPlugin/config

- name: Dump contents of app.yml AFTER copy
run: sudo cat plugins/arOidcPlugin/config/app.yml

- name: Update factories.yml to use oidcUser
run: |
sudo sed -i 's/class: myUser/class: oidcUser/' config/factories.yml
- name: Dump contents of factories.yml
run: |
sudo cat config/factories.yml
- name: Update settings.yml login module to oidc
run: |
sudo sed -i 's/login_module:\s*user/login_module: oidc/' apps/qubit/config/settings.yml
- name: Dump contents of settings.yml
run: |
sudo cat apps/qubit/config/settings.yml
- name: Install OIDC Plugin
run: |
touch activate-oidc-plugin
Expand All @@ -167,31 +153,13 @@ jobs:
sudo mkdir -p ${{ github.workspace }}/cypress/screenshots ${{ github.workspace }}/cypress/videos
sudo chmod a=rwx ${{ github.workspace }}/cypress/screenshots ${{ github.workspace }}/cypress/videos
- name: Ensure NGINX is Running
run: sudo systemctl status nginx

- name: Run tests
env:
BROWSER: ${{ matrix.browser }}
CYPRESS_VIDEO: false
CYPRESS_BASE_URL: http://localhost
run: npx cypress run --config-file cypress.config.oidc.js --browser ${BROWSER,}

- name: Ensure NGINX is Running
run: sudo systemctl status nginx

- name: Output NGINX error log
if: always()
run: sudo cat /var/log/nginx/error.log

- name: Output AtoM error test log
if: always()
run: sudo cat ./log/qubit_test.log

- name: Output AtoM error prod log
if: always()
run: sudo cat ./log/qubit_prod.log

- name: Tear down services
if: always()
run: |
Expand Down

0 comments on commit fb9ee78

Please sign in to comment.