pipeline-commander
pipeline-commander copied to clipboard
A hackish tool to trigger a GitLab pipeline and wait for its completion.
Syntax warnings in python 3.8+ on lines 265, 283 'SyntaxWarning: "is" with a literal. Did you mean "=="?'
Hi! I literally copy your example, just replacing with our values, and get an error message that implies the syntax is wrong: `$ python3 pipeline-commander.py -v pipeline create --server-url https://my.server...
Python throws an InsecureRequestWarning when it cannot verify an certificate in https mode. There should be an option to ignore that and just blindly trust the SSL connection as valid.
Many python utilities and programs such as git provide several sub-commands with specific-arguments. E.g. git-clone has a man page but isn't an actual executable. It's just a sub-commands of git...
https://stackoverflow.com/questions/30405867/how-to-get-python-requests-to-trust-a-self-signed-ssl-certificate In my case, it's possible that my private key is just not in the correct format.
https://docs.gitlab.com/ee/ci/triggers/README.html#ci-job-token It's possible that the GitLab UI might respond with a nice UI if we set `--private-token=$CI_JOB_TOKEN` and `CI_PIPELINE_SOURCE="pipeline"`. This depends on #1 .