这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Conversation

@AmrMKayid
Copy link
Member

Description

Migrating infrastructure code for CLI and API to the new pygrid_0.3 Branch and updating the code to match the new version.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

sachin-101 and others added 30 commits December 19, 2020 19:31
* Initial CLI module

* Write setup file for CLI

* Create utils.py for CLI

* Add click Colors

* Basic CLI

* Testing click.group, config and greeting user

* Basic deploy command

* Logging config to output file at the end

* Update README.md

Add CLI installation and basic usage to README

* Fix installation command

* Promt User for deployment information

* Add basic node and network commands

* Add simple method for coloring

* Hide credentials inputs

* Create aws.py for managing deployment on AWS

* Create gcp.py for managing deployment on GCP

* Create azure.py for managing deployment on AZURE

* Get Providers Configuration

Prompting user to provide configuration for the selected cloud

* Update README.md

* Using boto3 to get regions and instances types

* Using PyInquirer for promting questions interactively

* Printing provider configrations

* Get PyGrid App Arguments for deployment

* Update README.md

* Terraform helper scripts

* Create Provider super class

* Using terrascript

* GCP Provider class template

* Azure Provider class template

* base setup deployment script

* AWS Provider class ✅

* Update CLI

AWS serverfull deployment for both nodes and networks are done ✅

* Initial GCP deployment

Needs promting user configs, adjusting configs dynamically, testing

* Small updates

* Replace deployment keys with credentials file

* Create EC2 class for client config

* Create GCloud class for using GCP CLI commands

* Getting GCP User Config

* Create AZ Class for using AZ CLI commands

* Getting Azure User Config

* Wrote Main Azure resources

Note: Change from Azure => Azurem (need to wait for update from terrascript)

* PyGrid Network & Node Deployment on Azure

Need proper testing...

* Update deploy base script

* GCloud Deployment is READY ✅🎉

Co-authored-by: Patrick Cason <me@patrickcason.com>
functional again

* Moved to Config object in app.py
* Fixed issues with cli config object
functional again

* Moved to Config object in app.py
* Fixed issues with cli config object
* gives more modularity to adding/removing resources
* Used built in terraform function to generate the cidr_blocks
* Comment out dev related stuff
* simplify class variables in AWS_Serverless
- thanks for the help @sachin-101
@AmrMKayid AmrMKayid self-assigned this Dec 19, 2020
Copy link
Member

@IonesioJunior IonesioJunior left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@IonesioJunior
Copy link
Member

Can I merge it? @AmrMKayid , @sachin-101

@IonesioJunior IonesioJunior merged commit 456d457 into pygrid_0.3.0 Jan 4, 2021
@IonesioJunior IonesioJunior deleted the pygrid_merge_deployment_0.3 branch January 4, 2021 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants