Skip to content

Conversation

@hyrsky
Copy link
Contributor

@hyrsky hyrsky commented Oct 11, 2024

UHF-10354

What was done

  • New cron entrypoint crashes the pod if any of the scripts fail.

How to install

  • make fresh shell
  • sudo cp /app/docker/openshift/cron-entrypoint.sh /usr/local/bin/cron-entrypoint
  • sudo cp -r /app/docker/openshift/crons/ /
  • sudo cp /app/docker/openshift/init.sh /init.sh
  • sudo chmod +x /usr/local/bin/cron-entrypoint /crons/*

How to test

  • Run /usr/local/bin/cron-entrypoint - nothing bad should happen
  • Check that code follows our standards

Continuous documentation

Other PRs

@hyrsky hyrsky force-pushed the UHF-10354-new-cron-entrypoint branch from 94cbf3d to dcd4a56 Compare October 11, 2024 09:02
@sonarqubecloud
Copy link

@hyrsky hyrsky merged commit e1164c3 into dev Oct 21, 2024
@hyrsky hyrsky deleted the UHF-10354-new-cron-entrypoint branch October 21, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants