Skip to content

gacerioni/harness_cg_groupless_user_remover

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn Build Status


Logo

GraphQL Python Projects - by Gabs the CSE (and now Chico)

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact
  7. Tech Stack

About The Project

The main goal of this project is to mantain a trustful source of Python GraphQL-related automations, to help Harness Customers.

Getting Started

Prerequisites

  • python3.6+

  • 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

Installation and Usage - Container Image

  1. Clone the repo
    git clone https://github.com/gacerioni/harness_cg_groupless_user_remover.git
    cd harness_cg_groupless_user_remover/
  2. Build the Container image (this will be on DockerHub soon, Drone on the way)
    docker build --tag python-docker-gabs .
  3. 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

Old School Installation and Usage

  1. Clone the repo

    git clone https://github.com/gacerioni/harness_cg_groupless_user_remover.git
  2. Install the project dependecies (very simple stuff, meant to deal with requests, json, html)

    pip install -r requirements.txt
  3. 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>
  4. Enjoy ;)

    python main.py
    <...>

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Gabriel Cerioni - @gabs.tar.gz - gacerioni@gmail.com

Project Link: https://github.com/gacerioni/harness_cg_groupless_user_remover/

Tech Stack

About

Gabs the CSE - Harness - GraphQL Labs - Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.7%
  • Dockerfile 3.3%