-
Notifications
You must be signed in to change notification settings - Fork 171
feat: add apl-operator #2151
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
base: main
Are you sure you want to change the base?
feat: add apl-operator #2151
Conversation
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success93 tests passing in 9 suites. Report generated by 🧪jest coverage report action from a223e5e |
helmfile.d/helmfile-09.init.yaml
Outdated
app: core | ||
<<: *default | ||
# - name: otomi-pipelines | ||
# installed: true |
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.
I would actually set it to false, so we ensure that corresponding app is removed
src/common/envalid.ts
Outdated
@@ -32,6 +32,8 @@ export const cliEnvSpec = { | |||
RANDOM: bool({ desc: 'Randomizes the timeouts by multiplying with a factor between 1 to 2', default: false }), | |||
MIN_TIMEOUT: num({ desc: 'The number of milliseconds before starting the first retry', default: 60000 }), | |||
FACTOR: num({ desc: 'The factor to multiply the timeout with', default: 1 }), | |||
GITEA_URL: str({ default: 'gitea-http.gitea.svc.cluster.local:3000' }), |
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.
GITEA_URL could be split into:
GITEA_HOST and GITEA_PORT
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.
Perhaps also instead of GITEA we could use GIT because the operator is git repo provider agnostic
src/operator/apl-operator.ts
Outdated
export class AplOperator { | ||
private d = terminal('operator:apl') | ||
private isRunning = false | ||
private pollInterval = 1000 |
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.
It could be configurable
📌 Summary
🔍 Reviewer Notes
🧹 Checklist