Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cronjob automation #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

swapnil-bobade27
Copy link
Contributor

Automation for cronjob

Signed-off-by: Swapnil Bobade [email protected]

@ppc64le-cloud-bot
Copy link
Contributor

Welcome @swapnil-bobade27! It looks like this is your first PR to ocp-power-automation/ocp4-playbooks-extras 🎉

@ppc64le-cloud-bot ppc64le-cloud-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Dec 14, 2022
playbooks/roles/ocp-cronjob/tasks/main.yml Show resolved Hide resolved
playbooks/roles/ocp-cronjob/defaults/main.yml Outdated Show resolved Hide resolved
playbooks/roles/ocp-cronjob/templates/cron-job.yml.j2 Outdated Show resolved Hide resolved
playbooks/roles/ocp-cronjob/templates/cron-job.yml.j2 Outdated Show resolved Hide resolved
playbooks/roles/ocp-cronjob/defaults/main.yml Outdated Show resolved Hide resolved
examples/all.yaml Outdated Show resolved Hide resolved
playbooks/roles/ocp-cronjob/README.md Outdated Show resolved Hide resolved
| Variable | Required | Default |Comments |
|--------------------------------|----------|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| enable_cronjob | yes | false | Flag to be set to true to enable cronjob |
| cj_schedule | yes | */1 * * * * | can be updated as per requirement | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| cj_schedule | yes | */1 * * * * | can be updated as per requirement | |
| cj_schedule | no | */1 * * * * | can be updated as per requirement | |

If default is assigned the variable becomes optional.

playbooks/roles/ocp-cronjob/tasks/main.yml Outdated Show resolved Hide resolved
examples/all.yaml Outdated Show resolved Hide resolved
@ppc64le-cloud-bot ppc64le-cloud-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. do-not-merge/contains-merge-commits size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed do-not-merge/contains-merge-commits size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 20, 2023
@ppc64le-cloud-bot ppc64le-cloud-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed do-not-merge/contains-merge-commits size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 23, 2023
@swapnil-bobade27 swapnil-bobade27 force-pushed the cronjob-automation-development branch 3 times, most recently from 604086e to dd7b0e0 Compare January 23, 2023 09:54
@ppc64le-cloud-bot ppc64le-cloud-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 23, 2023
examples/all.yaml Show resolved Hide resolved
@ppc64le-cloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: swapnil-bobade27
Once this PR has been reviewed and has the lgtm label, please assign pravin-dsilva for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Swapnil Bobade <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants