Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update integrations repo name #13494

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create(ctx, name, integration_type, location, non_interactive, quiet, dry_ru
abort(f'Cannot use non-interactive mode with repo_choice: {repo_choice}')

if not non_interactive and not dry_run:
if repo_choice not in ['core', 'integrations']:
if repo_choice not in ['core', 'integrations-internal-core']:
support_email = click.prompt('Email used for support requests')
template_fields['email'] = support_email
template_fields['email_packages'] = template_fields['email']
Expand Down Expand Up @@ -152,7 +152,7 @@ def create(ctx, name, integration_type, location, non_interactive, quiet, dry_ru
else:
# Fill in all common non Marketplace fields
template_fields['pricing_plan'] = ''
if repo_choice in ['core', 'integrations']:
if repo_choice in ['core', 'integrations-internal-core']:
template_fields[
'author_info'
] = """
Expand Down
2 changes: 1 addition & 1 deletion datadog_checks_dev/datadog_checks/dev/tooling/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'extras': os.path.join('~', 'dd', 'integrations-extras'),
'agent': os.path.join('~', 'dd', 'datadog-agent'),
'marketplace': os.path.join('~', 'dd', 'marketplace'),
'integrations': os.path.join('~', 'dd', 'integrations'),
'integrations-internal-core': os.path.join('~', 'dd', 'integrations-internal-core'),
},
'agents': {
'master': {'docker': 'datadog/agent-dev:master', 'local': 'latest'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'internal': 'integrations-internal',
'agent': 'datadog-agent',
'marketplace': 'marketplace',
'integrations': 'integrations',
'integrations-internal-core': 'integrations-internal-core',
}

VERSION_BUMP = {
Expand Down
4 changes: 2 additions & 2 deletions datadog_checks_dev/datadog_checks/dev/tooling/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def construct_template_fields(integration_name, repo_choice, integration_type, *
integration_links = integration_type_links.get(integration_type).format(
name=normalized_integration_name, repository="integrations-core"
)
elif repo_choice == 'integrations':
elif repo_choice == 'integrations-internal-core':
check_name = normalized_integration_name
author = 'Datadog'
email = 'help@datadoghq.com'
Expand All @@ -77,7 +77,7 @@ def construct_template_fields(integration_name, repo_choice, integration_type, *
license_header = ''
support_type = 'core'
integration_links = integration_type_links.get(integration_type).format(
name=normalized_integration_name, repository="integrations"
name=normalized_integration_name, repository="integrations-internal-core"
)
elif repo_choice == 'marketplace':
check_name = normalize_package_name(f"{kwargs.get('author')}_{normalized_integration_name}")
Expand Down