Table of Contents
The main goal of this project is to mantain a trustful source of Python GraphQL-related automations, to help Harness Customers.
-
A Harness account, of course!
-
For MacOs Users, please double-check the SSL CERT
cd /Applications/Python\ 3.9/ # PUT YOUR PYTHON VERSION ./Install\ Certificates.command
- Clone the repo
git clone https://github.com/gacerioni/harness_cg_groupless_user_remover.git cd harness_cg_groupless_user_remover/
- Build the Container image (this will be on DockerHub soon, Drone on the way)
docker build --tag python-docker-gabs .
- Run the Container, passing the required Env Vars
docker run -e "HARNESS_ACCOUNT=<YOUR_ACCOUNT>" -e "HARNESS_GRAPHQL_API_KEY=<YOUR_API_KEY>" python-docker-gabs
-
Clone the repo
git clone https://github.com/gacerioni/harness_cg_groupless_user_remover.git
-
Install the project dependecies (very simple stuff, meant to deal with requests, json, html)
pip install -r requirements.txt
-
Export the required variables (Just to avoid Secrets, KMS, Vaults, etc, to keep this project simple)
export HARNESS_ACCOUNT=<YOUR_ACCOUNT> export HARNESS_GRAPHQL_API_KEY=<YOUR_API_KEY>
-
Enjoy ;)
python main.py <...>
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Gabriel Cerioni - @gabs.tar.gz - gacerioni@gmail.com
Project Link: https://github.com/gacerioni/harness_cg_groupless_user_remover/