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

Cookie initialy baked by NetworkToCode Cookie Drift Manager Tool #107

Merged
merged 8 commits into from
Nov 8, 2023

Conversation

snaselj
Copy link
Contributor

@snaselj snaselj commented Oct 25, 2023

Template:

{
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "develop",
    "path": null
}

Cookie:

{
    "remote": "https://github.com/nautobot/nautobot-plugin-netbox-importer.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-netbox-importer",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-netbox-importer",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@smith-ntc",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "plugin_name": "nautobot_netbox_importer",
        "verbose_name": "Nautobot NetBox Importer",
        "plugin_slug": "nautobot-netbox-importer",
        "project_slug": "nautobot-plugin-netbox-importer",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-netbox-importer",
        "base_url": "netbox-importer",
        "min_nautobot_version": "1.6.0",
        "max_nautobot_version": "1.9999",
        "camel_name": "NautobotNetboxImporter",
        "project_short_description": "Data importer from NetBox 2.10.x to Nautobot.",
        "model_class_name": "None",
        "open_source_license": "Apache-2.0",
        "docs_base_url": "https://docs.nautobot.com",
        "docs_app_url": "https://docs.nautobot.com/projects/netbox-importer/en/latest",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/opt/ntc/drift-manager/outputs",
        "_repo_dir": "/home/jsn/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "develop"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "",
    "draft": true
}

CLI Arguments:

{
    "cookie_dir": "",
    "input": false,
    "json_filename": "setup-cookie-netbox-importer.json",
    "output_dir": "./outputs",
    "push": true,
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "template_dir": "nautobot-app",
    "template_ref": "develop",
    "pull_request": null,
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": true
}

Template:

```
{
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "develop",
    "path": null
}
```

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-plugin-netbox-importer.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-netbox-importer",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-netbox-importer",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@smith-ntc",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "plugin_name": "nautobot_netbox_importer",
        "verbose_name": "Nautobot NetBox Importer",
        "plugin_slug": "nautobot-netbox-importer",
        "project_slug": "nautobot-plugin-netbox-importer",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-netbox-importer",
        "base_url": "netbox-importer",
        "min_nautobot_version": "1.6.0",
        "max_nautobot_version": "1.9999",
        "camel_name": "NautobotNetboxImporter",
        "project_short_description": "Data importer from NetBox 2.10.x to Nautobot.",
        "model_class_name": "None",
        "open_source_license": "Apache-2.0",
        "docs_base_url": "https://docs.nautobot.com",
        "docs_app_url": "https://docs.nautobot.com/projects/netbox-importer/en/latest",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/opt/ntc/drift-manager/outputs",
        "_repo_dir": "/home/jsn/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "develop"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "setup-cookie-netbox-importer.json",
    "output_dir": "./outputs",
    "push": true,
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "template_dir": "nautobot-app",
    "template_ref": "develop",
    "pull_request": null,
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": true
}
```
Copy link
Contributor Author

@snaselj snaselj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR introduces the Drift Manager, there are a few changes to docs necessary, could you check it pls. @whitej6 ? Otherwise it's ready for review.

docs/admin/install.md Outdated Show resolved Hide resolved
docs/user/external_interactions.md Outdated Show resolved Hide resolved
docs/user/external_interactions.md Outdated Show resolved Hide resolved
@snaselj snaselj marked this pull request as ready for review November 8, 2023 08:21
@snaselj
Copy link
Contributor Author

snaselj commented Nov 8, 2023

Ready to merge @whitej6

@whitej6 whitej6 merged commit b134fbe into develop Nov 8, 2023
15 checks passed
@nautobot-bot nautobot-bot deleted the drift-manager/pr branch January 17, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants