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

Replacement of Cookie initialy baked by NetworkToCode Cookie Drift Manager Tool #100

Closed
wants to merge 8 commits into from

Conversation

itdependsnetworks
Copy link
Contributor

If I understand correctly, this should work, and should replace #94.

bakebot and others added 8 commits January 23, 2024 09:10
Template:

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

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-app-design-builder.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-app-design-builder",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-app-design-builder",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@abates @mzbroch",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "plugin_name": "nautobot_design_builder",
        "verbose_name": "Nautobot Design Builder",
        "plugin_slug": "nautobot-design-builder",
        "project_slug": "nautobot-app-design-builder",
        "repo_url": "https://github.com/nautobot/nautobot-app-design-builder",
        "base_url": "design-builder",
        "min_nautobot_version": "1.6.8",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotDesignBuilder",
        "project_short_description": "Nautobot app that uses design templates to easily create data objects in Nautobot with minimal input from a user.",
        "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/nautobot-design-builder/en/latest",
        "_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
        "_output_dir": "/opt/ntc/drift-manager/outputs",
        "_repo_dir": "/opt/ntc/drift-manager/outputs/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": "nautobot-app-v1.2"
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "",
    "draft": false
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "design-builder.json",
    "output_dir": "./outputs",
    "push": true,
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "template_dir": "nautobot-app",
    "template_ref": "nautobot-app-v1.2",
    "pull_request": null,
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": false
}
```
@abates
Copy link
Contributor

abates commented Jan 23, 2024

These changes have been incorporated into the OSRB branch and pull #101

@abates abates closed this Jan 23, 2024
@abates abates deleted the kc-driftmgr branch January 26, 2024 16:10
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.

4 participants