Automatically update the helmfile.yaml file by adding commit id and run the command to make the pod up.
Do uncomment the helmfile.yaml file in kube-manifest for which you want to make the pod up.
- Add devstack_label on which you want to make pod up.
Line 7 in 6914ef3
- If you want to deploy the pod with your commit id(i.e not master commit id), then in this function
deployWithGivenCommitId()
add like thisrepo_name_with_given_commit_id['dashboard'] = 'your_commit_id'
,repo_name_with_given_commit_id['api'] = 'your_commit_id'
etc..
- Add GITHUB_TOKEN in ~/.bash_profile
- Add helmfile_directory_path in
Line 13 in 6914ef3
- Add helmfile_yaml_path in
Line 14 in 6914ef3
pip3 install PyGithub
python3 helmfile_sync.py