-
Notifications
You must be signed in to change notification settings - Fork 22
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
creating cron-workflow to invoke job template for the sync-job #2524
creating cron-workflow to invoke job template for the sync-job #2524
Conversation
Skipping CI for Draft Pull Request. |
I know that when going from stage to production we should be syncing adviser, revsolver, and security-indicator documents, but what about from production to stage? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good start
i have added some suggestions.
7bcc1ba
to
bff2b7b
Compare
It uses 3 templates because both for prod and stage, there are 3 separate types of documents to be synced. Additionally I can apply the resources (it is correct YAML syntax), however, the workflow controller rejects this |
6c828b9
to
e431284
Compare
e431284
to
afbc74e
Compare
Cron-workflow is now accepted, ready for review. |
afbc74e
to
c8f27e9
Compare
Attempting to implement this with a cron-workflow which uses a workflow template so the changes be used to both invoke a cronworkflow to run sync-job periodically, as well as be invoked from the management api via workflow. That being said I am encountering an Argo issue: |
5c9ec50
to
d7b4c5a
Compare
Issue about template reference exceeding max depth has been resolved, hoping that @harshad16 could take a look when you have time. |
86c0fc0
to
1f0a839
Compare
1f0a839
to
2d9e36a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
thanks 💯
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Related Issues and Dependencies
Partially Addresses: #2513
Related to: thoth-station/sync-job#61
Does this require new deployment ?
AICoE/aicoe-cd
and Prodoperate-first/argocd-apps
.Description
Creating a cron-workflow for the sync-job
/cc @harshad16