-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/HappyPathway/eks-automation…
- Loading branch information
Showing
11 changed files
with
255 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
template_automation/tests/integration/test_github_operations.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import pytest | ||
| import os | ||
|
|
||
| @pytest.mark.integration | ||
| def test_repository_operations(test_repo, cleanup_mode): | ||
| """Test basic repository operations.""" | ||
| # Your test code here that uses the test_repo | ||
|
|
||
| # This is just an example verification | ||
| assert test_repo.name.startswith("test-repo-") | ||
|
|
||
| # Log what will happen to this repository | ||
| if cleanup_mode: | ||
| print(f"Repository {test_repo.name} will be DELETED after this test") | ||
| else: | ||
| print(f"Repository {test_repo.name} will be ARCHIVED after this test") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| [pytest] | ||
| markers = | ||
| integration: marks tests as integration tests (requires GitHub API access) | ||
| addopts = --timestamp=%(timestamp)s | ||
| python_functions = test_* |
1 change: 1 addition & 0 deletions
1
...aform_data_dirs/default/providers/registry.terraform.io/hashicorp/aws/5.96.0/darwin_amd64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /Users/darnold/.terraform.d/plugin-cache/registry.terraform.io/hashicorp/aws/5.96.0/darwin_amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "version": 3, | ||
| "terraform_version": "1.10.5", | ||
| "backend": { | ||
| "type": "gcs", | ||
| "config": { | ||
| "access_token": null, | ||
| "bucket": "hpw-terraform-state", | ||
| "credentials": null, | ||
| "encryption_key": null, | ||
| "impersonate_service_account": null, | ||
| "impersonate_service_account_delegates": null, | ||
| "kms_encryption_key": null, | ||
| "prefix": "eks-automation-lambda", | ||
| "storage_custom_endpoint": null | ||
| }, | ||
| "hash": 3602047810 | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters