Skip to content

Commit

Permalink
fix: CAPTAIN_DOMAIN variable
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala committed Jan 20, 2025
1 parent 6c47e3f commit 02d3149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/util/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ def nuke_captain_domain_data_and_backups(captain_domain):
return "View all jobs: https://github.com/internal-GlueOps/gha-tools-api/actions/workflows/nuke-captain-domain-data-and-backups.yml"

def reset_tenant_github_organization(captain_domain, delete_all_existing_repos, custom_domain, enable_custom_domain):
call_github_workflow("https://api.github.com/repos/internal-GlueOps/gha-tools-api/actions/workflows/reset-tenant-github-organization.yml/dispatches", {"CAPTAIN_DOMAIN_TO_NUKE": captain_domain, "DELETE_ALL_EXISTING_REPOS": str(delete_all_existing_repos), "CUSTOM_DOMAIN": custom_domain, "ENABLE_CUSTOM_DOMAIN": str(enable_custom_domain)})
call_github_workflow("https://api.github.com/repos/internal-GlueOps/gha-tools-api/actions/workflows/reset-tenant-github-organization.yml/dispatches", {"CAPTAIN_DOMAIN": captain_domain, "DELETE_ALL_EXISTING_REPOS": str(delete_all_existing_repos), "CUSTOM_DOMAIN": custom_domain, "ENABLE_CUSTOM_DOMAIN": str(enable_custom_domain)})
return "View all jobs: https://github.com/internal-GlueOps/gha-tools-api/actions/workflows/reset-tenant-github-organization.yml"

0 comments on commit 02d3149

Please sign in to comment.