ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

Jenkins job to check the status of Instrument config dir #8402

Closed isaachilly closed 3 months ago

isaachilly commented 4 months ago

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?

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.
isaachilly commented 3 months ago

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.