Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub client to allow direct commits to main (#8)
* Remove obsolete Lambda packaging script and related configuration files - Deleted `package_lambda.py` script responsible for packaging AWS Lambda functions and layers. - Removed `pip.conf` configuration file for pip settings. - Eliminated `requirements.txt` file that specified Python dependencies. - Deleted `test_payload.json` used for testing Lambda functions. - Removed empty JSON and TFVAR files in `varfiles` directory. - Deleted `variables.tf` file containing Terraform variable definitions. - Removed `versions.tf` file specifying Terraform version requirements. - Added new GitHub Actions workflow for building and pushing Lambda container images using Packer. - Introduced `packer.pkr.hcl` file for Packer configuration to build Docker images for Lambda. * Refactor GitHub API integration to remove Census-specific references and improve configuration handling * Update Python setup in build workflow to use actions/setup-python@v4 and improve dependency installation * Add Terraform backend configuration for GCS storage * Add GOOGLE_CREDENTIALS environment variable to build workflow * Remove unused PACKER_GITHUB_API_TOKEN from build workflow environment * updating build * Remove eks_automation/data.json configuration file * Add integration tests and workflow * Resolve merge conflicts after merging main * Add integration tests workflow and variables config * Remove __pycache__ directories and add .gitignore * Update GitHub client to allow direct commits to main - Add auto_init and branch settings in repository creation - Improve branch-specific operations in clone and commit methods - Fix test cases to properly test branch operations - Remove version-specific file cloning in favor of branch-based * Ensure target directory exists when downloading repository files * Enhance GitHubClient to ensure target directory exists and handle unexpected blob encoding * Add delay in integration tests to ensure GitHub API consistency --------- Co-authored-by: Dave Arnold <dave@roknsound.com>
- Loading branch information