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 updated by NetworkToCode Cookie Drift Manager Tool #198

Merged
merged 6 commits into from
Jan 4, 2024

Conversation

snaselj
Copy link
Contributor

@snaselj snaselj commented Jan 4, 2024

Template:

{
    "template": "[email protected]:nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "u/snaselj-towncrier",
    "path": "/opt/ntc/nautobot/cookiecutter-nautobot-app/nautobot-app"
}

Cookie:

{
    "remote": "https://github.com/nautobot/nautobot-app-firewall-models.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-app-firewall-models",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-app-firewall-models",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@whitej6 @itdependsnetworks @jdrew82",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "app_name": "nautobot_firewall_models",
        "verbose_name": "Nautobot Firewall Models",
        "app_slug": "nautobot-firewall-models",
        "project_slug": "nautobot-app-firewall-models",
        "repo_url": "https://github.com/nautobot/nautobot-app-firewall-models",
        "base_url": "firewall-models",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotFirewallModels",
        "project_short_description": "Nautobot App to model firewall and security objects. Allows users to model policies in a vendor-neutral manner and use that data to drive network security automation",
        "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/firewall-models/en/latest",
        "_template": "/opt/ntc/nautobot/cookiecutter-nautobot-app/nautobot-app",
        "_output_dir": "/opt/ntc/drift-manager/outputs",
        "_repo_dir": "/opt/ntc/nautobot/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": null
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "945dd478c02d70bbd35cef776d1fae1c102c5e26",
    "draft": true
}

CLI Arguments:

{
    "cookie_dir": "",
    "input": false,
    "json_filename": "firewall-models.json",
    "output_dir": "./outputs",
    "push": true,
    "template": "/opt/ntc/nautobot/cookiecutter-nautobot-app",
    "template_dir": "",
    "template_ref": "",
    "pull_request": null,
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": null
}

Template:

```
{
    "template": "[email protected]:nautobot/cookiecutter-nautobot-app.git",
    "dir": "nautobot-app",
    "ref": "u/snaselj-towncrier",
    "path": "/opt/ntc/nautobot/cookiecutter-nautobot-app/nautobot-app"
}
```

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-app-firewall-models.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-app-firewall-models",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-app-firewall-models",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@whitej6 @itdependsnetworks @jdrew82",
        "full_name": "Network to Code, LLC",
        "email": "[email protected]",
        "github_org": "nautobot",
        "app_name": "nautobot_firewall_models",
        "verbose_name": "Nautobot Firewall Models",
        "app_slug": "nautobot-firewall-models",
        "project_slug": "nautobot-app-firewall-models",
        "repo_url": "https://github.com/nautobot/nautobot-app-firewall-models",
        "base_url": "firewall-models",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotFirewallModels",
        "project_short_description": "Nautobot App to model firewall and security objects. Allows users to model policies in a vendor-neutral manner and use that data to drive network security automation",
        "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/firewall-models/en/latest",
        "_template": "/opt/ntc/nautobot/cookiecutter-nautobot-app/nautobot-app",
        "_output_dir": "/opt/ntc/drift-manager/outputs",
        "_repo_dir": "/opt/ntc/nautobot/cookiecutter-nautobot-app/nautobot-app",
        "_checkout": null
    },
    "base_branch": "develop",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "945dd478c02d70bbd35cef776d1fae1c102c5e26",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "firewall-models.json",
    "output_dir": "./outputs",
    "push": true,
    "template": "/opt/ntc/nautobot/cookiecutter-nautobot-app",
    "template_dir": "",
    "template_ref": "",
    "pull_request": null,
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": null
}
```
@snaselj snaselj marked this pull request as ready for review January 4, 2024 14:56
@whitej6 whitej6 merged commit 115d456 into develop Jan 4, 2024
16 checks passed
@github-actions github-actions bot deleted the drift-manager/pr branch January 10, 2024 10:36
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