-
Notifications
You must be signed in to change notification settings - Fork 0
Initial CI/CD Setup #1
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?
Conversation
|
@bstrdsmkr Thanks a lot for your contribution and help the synchronizer deployment. I have several general questions:
|
5c0c041 to
584a6e6
Compare
We'll have a local deployment repo in Gitlab. If you update the version number in that repo, it'll deploy that version into production.
Those are defined in the values file. By default I've only defined the one instance named
An NTP server should be able to handle way more than 5 simultaneous connections, but NTP is built to be fault tolerant so it's expected for the server to be unavailable from time to time |
Cool. Could I be added to the repo? so if there are some urgent fixes, i can push changes quickly
Yes. we need monitor all the staged indexes. In the code, we only use stage in the cli, but it will find the corresponding indexes using the project name (e.g., CMIP6Plus, e3sm, input4MIPs, obs4MIPs etc.). Also the
Cool. I wonder if the container syncs its time to the ntp server frequently. If there is an error to get the time from ntp server, it will use other two online time servers, then the local time. If all fail, the sync will quit. But it will pick up the time of last successful sync in the next sync. So it won't miss any data. |
88d5988 to
a411075
Compare
| Details can be seen in the design.md | ||
| """ | ||
| lock_file_path = f"/tmp/metadata_migrate_sync_{project.value}.lock" # noqa S108 |
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.
the lock file is important. we cannot confirm that the sync must be finished in 5 minutes. So if the previous sync has not finished, the present sync is on. It will cause problems if the sync runs under crontab.
No description provided.