Skip to content

Siteimprove Integration

philipjfried edited this page Sep 26, 2019 · 5 revisions

Overview

This project/website is integrated with Siteimprove found at https://siteimprove.ucop.edu

*The references to Gitlab are from the original setup.

How is it Integrated

Then any UCSB Local Administrator may perform a full site re-scan as needed outside of the Siteimprove schedule: UCTech_-DCI_Score_Dashboard___Dashboard-_new_crawl

Or any Siteimprove user may goto a particular report and request that a particular page be re-scanned: UCTech_-DCI_Score_Dashboard___Dashboard-_page_rescan

Technical Details on Integration

The integration is in this project space, https://gitlab.id.ucsb.edu/ucsb-collaboration/uctech-daily-siteimprove-sync , which all members have access to. The automation is a gitlab ci automation task. A gitlab job is defined which runs some bash commands to perform Terminus commands on the uctech-ucsb-edu-v04 environments. The automation is performed using a docker image file dgurba did not create, but it is referenced in that projects gitlab Snippets.

Additionally this approach was tried outside of GitlabCI via a vanilla docker container using docker-compose and basic bash commands when logged into the container. That bare-bones example is in a folder in the project sourcecode as an example.

Lastly:

  • The integration requires a pantheon token be used for Terminus authentication. This token is stored as a Gitlab secret variable in the project settings and used in scripts.
  • There were additional GitlabCI integration issues not encountered in the docker-compose POC basic setup, see the project issues for details.
  • An entry in my personal https://statuscake.com account is used to test the HTTP/S endpoint of http://siteimprove-uctech-ucsb-edu-v04.pantheonsite.io/ every 15 minutes. This is so that the Pantheon environment is kept alive continuously to the world (otherwise Pantheon will sleep the servers), and Siteimprove can properly crawl the site when its available (it is destroyed briefly when the site is re-synced).
Clone this wiki locally