ISISComputingGroup/IBEX

Jenkins job to check the status of Instrument config dir

Closed this issue · 1 comments

As a: Developer I would like a Jenkins job to check the status of config dir. Similar to Scripts Divergence Check job we already have.

Umbrella ticket:

Acceptance Criteria

What is the acceptance criteria?

  • A Jenkins job is created to check the status of the config directory on all Instruments running IBEX
  • The job runs automatically at specified intervals.
  • The job output is looked at and noted by the team once ran successfully.

Extra Information

Why is it needed?
To ensure the configuration directory is always in the expected state and to quickly identify any discrepancies.
Also to give the team more information to take to a meeting with Maxim and relevant to disscus the handling of this dir.

Where required files/links are
Refer to the configuration and scripts used in the existing Scripts Divergence Check job for guidance.

How to Test

Verbose instructions for the reviewer to test changes

  1. Navigate to the Jenkins dashboard.
  2. Locate the newly created job for checking the config directory status.
  3. Manually trigger the job and ensure it completes successfully.
  4. Verify that the jobs output is correct for a sample of instruments. (ssh and git status on them instruments yourself)
  5. Review the job configuration to confirm it runs at the specified intervals.

To test

MERGE AFTER

HAS BEEN MERGED

Swap branches of the hotfixstatuschecker jobs on jenkins for the pr branch Ticket8402_Jenkins_job_to_check_the_status_of_Instrument_config_dir, run the job, verify checks correct directory etc then merge branch INTO MASTER and swap jobs branches back to pointing at master.