-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix/dependabots' of github.com:dgraeber/seed-farmer int…
…o fix/dependabots
- Loading branch information
Showing
3 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
from typing import Optional | ||
|
||
checklist = """ Be sure to check: | ||
1. The session that you are executing the CLI from matches the ACCOUNT and REGION | ||
where your toolchain is configured | ||
2. The session has permissions to access the proper toolchain role | ||
""" | ||
|
||
|
||
def no_deployment_found(deployment_name: Optional[str] = None) -> str: | ||
msg = "We found no deployments with your active session." | ||
if deployment_name: | ||
msg = f"We found no deployments named {deployment_name} with your active session." | ||
|
||
checklist = """ Be sure to check: | ||
1. The session that you are executing the CLI from matches the ACCOUNT and REGION | ||
where your toolchain is configured | ||
2. The session has permissions to access the proper toolchain role | ||
""" | ||
|
||
return msg + checklist | ||
|
||
|
||
def git_error_support() -> str: | ||
return """ | ||
1. Make sure your path to the repo is correct and valid (check your module manifests!) | ||
2. The credentials used to call SeedFarmer have access to the repo | ||
3. The credentials used to call SeedFarmer have not expired | ||
""" |
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