Skip to content
Snippets Groups Projects

Integrate bash script

Merged Alan Nelson requested to merge integrate-sh-script into merge-request-check-enhancements

Ok, this should be all we need to integrate the new bash script.

  • Installs bash and git in the container
  • Calls the bash script from python if the API returns a 403 (user doesn't have permission to merge). The exit code of this script is then used.
  • Added set -e to the bash script so that if any command fails the script doesn't exit with a status of 0
  • Added an if statement to use a different source SHA when running as a special Merge Request Pipeline.
  • Updated requirements file to use latest versions of packages. I included all dependencies this time as there seems to be a conflict with the urllib3 package otherwise.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading