Work in progress
Usiamo un meccanismo di CI/CD per cui:
Setup iniziale dell'ambiente sul
Installare git-crypto
Copiare da cld-confi
xxxx
Verificare che i repo di test e di produzione siano aggiornati
Se devi modificare file nell'ambiente di test
git push WARNING: Since August 2021 for the commit is required the personal token instead of the password! Follow this instruction to create a personal token and remember to save it. Then use the token instead of the old password otherwise you will get the message:
| [root@cld-config puppet_xena_env_test]# git push Username for 'https://github.com': federica.fanzago@cern.ch (proprio username) Password for 'https://federica.fanzago@cern.ch@github.com': (mettere il token) remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/CloudPadovana/puppet_xena.git/' |
|---|
Se devi modificare file nell'ambiente di produzione
git push WARNING: Since August 2021 for the commit is required the personal token instead of the password! Follow this instruction to create a personal token and remember to save it. Then use the token instead of the old password otherwise you will get the message:
| [root@cld-config puppet_xena_env_test]# git push Username for 'https://github.com': federica.fanzago@cern.ch (proprio username) Password for 'https://federica.fanzago@cern.ch@github.com': (mettere il token) remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/CloudPadovana/puppet_xena.git/' |
|---|