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 #658

Merged
merged 7 commits into from Oct 28, 2023

Conversation

snaselj
Copy link
Contributor

@snaselj snaselj commented Oct 16, 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-golden-config.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@itdependsnetworks @jeffkala @nkallergis",
        "full_name": "Network to Code, LLC",
        "email": "opensource@networktocode.com",
        "github_org": "nautobot",
        "plugin_name": "nautobot_golden_config",
        "verbose_name": "Golden Config",
        "plugin_slug": "nautobot-golden-config",
        "project_slug": "nautobot-plugin-golden-config",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-golden-config",
        "base_url": "golden-config",
        "min_nautobot_version": "1.4.0",
        "max_nautobot_version": "1.9999",
        "camel_name": "NautobotGoldenConfig",
        "project_short_description": "A plugin for configuration on 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/golden-config/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": "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": "",
    "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
}

bakebot and others added 4 commits October 16, 2023 09:54
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-golden-config.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@itdependsnetworks @jeffkala @nkallergis",
        "full_name": "Network to Code, LLC",
        "email": "opensource@networktocode.com",
        "github_org": "nautobot",
        "plugin_name": "nautobot_golden_config",
        "verbose_name": "Golden Config",
        "plugin_slug": "nautobot-golden-config",
        "project_slug": "nautobot-plugin-golden-config",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-golden-config",
        "base_url": "golden-config",
        "min_nautobot_version": "1.4.0",
        "max_nautobot_version": "1.9999",
        "camel_name": "NautobotGoldenConfig",
        "project_short_description": "A plugin for configuration on 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/golden-config/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": "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": "",
    "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
}
```
@snaselj snaselj marked this pull request as ready for review October 16, 2023 11:01
@snaselj
Copy link
Contributor Author

snaselj commented Oct 16, 2023

Updated with the latest template, ready for review.

bakebot and others added 2 commits October 17, 2023 07:52
Template:

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

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-plugin-golden-config.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@itdependsnetworks @jeffkala @nkallergis",
        "full_name": "Network to Code, LLC",
        "email": "opensource@networktocode.com",
        "github_org": "nautobot",
        "plugin_name": "nautobot_golden_config",
        "verbose_name": "Golden Config",
        "plugin_slug": "nautobot-golden-config",
        "project_slug": "nautobot-plugin-golden-config",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-golden-config",
        "base_url": "golden-config",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotGoldenConfig",
        "project_short_description": "A plugin for configuration on 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/golden-config/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": "u/snaselj-ci-checks"
    },
    "base_branch": "drift-manager/pr",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.UPDATE_OR_CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "8ac3ba2838e787f0787dde4abaa23c610f2b136c",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "",
    "output_dir": "./outputs",
    "push": true,
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "template_dir": "nautobot-app",
    "template_ref": "u/snaselj-ci-checks",
    "pull_request": "update-or-create",
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": true
}
```
@snaselj
Copy link
Contributor Author

snaselj commented Oct 17, 2023

Rebaked to add poetry check and invoke check-migrations to CI.

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@snaselj
Copy link
Contributor Author

snaselj commented Oct 19, 2023

All comments are addressed, ready for review now.

@itdependsnetworks itdependsnetworks merged commit 3d75094 into develop Oct 28, 2023
15 checks passed
jmpettit pushed a commit to jmpettit/nautobot-app-golden-config that referenced this pull request Jan 30, 2024
* Cookie updated by NetworkToCode Cookie Drift Manager Tool

Template:

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

Cookie:

```
{
    "remote": "https://github.com/nautobot/nautobot-plugin-golden-config.git",
    "path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "repository_path": "/opt/ntc/drift-manager/outputs/nautobot-plugin-golden-config",
    "dir": "",
    "branch_prefix": "drift-manager",
    "context": {
        "codeowner_github_usernames": "@itdependsnetworks @jeffkala @nkallergis",
        "full_name": "Network to Code, LLC",
        "email": "opensource@networktocode.com",
        "github_org": "nautobot",
        "plugin_name": "nautobot_golden_config",
        "verbose_name": "Golden Config",
        "plugin_slug": "nautobot-golden-config",
        "project_slug": "nautobot-plugin-golden-config",
        "repo_url": "https://github.com/nautobot/nautobot-plugin-golden-config",
        "base_url": "golden-config",
        "min_nautobot_version": "2.0.0",
        "max_nautobot_version": "2.9999",
        "camel_name": "NautobotGoldenConfig",
        "project_short_description": "A plugin for configuration on 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/golden-config/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": "u/snaselj-ci-checks"
    },
    "base_branch": "drift-manager/pr",
    "remote_name": "origin",
    "pull_request_strategy": "PullRequestStrategy.UPDATE_OR_CREATE",
    "post_actions": [
        "PostAction.BLACK"
    ],
    "baked_commit_ref": "8ac3ba2838e787f0787dde4abaa23c610f2b136c",
    "draft": true
}
```

CLI Arguments:

```
{
    "cookie_dir": "",
    "input": false,
    "json_filename": "",
    "output_dir": "./outputs",
    "push": true,
    "template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
    "template_dir": "nautobot-app",
    "template_ref": "u/snaselj-ci-checks",
    "pull_request": "update-or-create",
    "post_action": [
        "black"
    ],
    "disable_post_actions": false,
    "draft": true
}
```

Co-authored-by: bakebot <info@networktocode.com>
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.

None yet

3 participants