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

Nightly Mongo Dev Updater #748

Open
wants to merge 16 commits into
base: gql
Choose a base branch
from
Open

Nightly Mongo Dev Updater #748

wants to merge 16 commits into from

Conversation

klhftco
Copy link
Contributor

@klhftco klhftco commented Nov 21, 2024

Triggers nightly dumping of MongoDB from staging to development release.

Not sure if need to specify environment

{{ if eq .Values.env "dev" }}
# only run cleanup job in dev environment
...
{{ end }}

Manual triggering: kubectl create job --from=cronjob/mongo-reset <job_name>
Created Github Action for manual triggering.

@klhftco klhftco requested a review from maxmwang November 21, 2024 22:59
@klhftco
Copy link
Contributor Author

klhftco commented Dec 2, 2024

@maxmwang does this look ok~

@klhftco
Copy link
Contributor Author

klhftco commented Dec 4, 2024

Github action revised and ran successfully (reset dev mongo #3).
Job deletion time increased to 60s after job termination.

only issue: not sure why Github action cannot be manually triggered even though I have workflow_dispatch

@klhftco
Copy link
Contributor Author

klhftco commented Dec 4, 2024

klhftco-patch-1 should resolve action triggering, once merged into master

.github/workflows/cd-dev.yaml Outdated Show resolved Hide resolved
@maxmwang
Copy link
Contributor

maxmwang commented Dec 7, 2024

putting this on hold while I set up mongo replicaset on hozer.

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.

2 participants