ctfcicd


Namectfcicd JSON
Version 1.1.2 PyPI version JSON
download
home_page
SummaryTool for CI/CD pipelines to deploy CTFs
upload_time2023-10-20 14:57:36
maintainer
docs_urlNone
authorAndré Cirne
requires_python>=3.9
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ctf-cicd

Program to deploy automatically CTF challenges in CTFD. 
This tool tries to answer the limitations of ctfcli, when you use it for continuos deployment. The settings are passed to the program using environment variables and there is no need to have config files in the repository.

The majority of the features are implemented using ctfcli and also inpired by the blogpost from [Rohan Mukherjee](https://medium.com/csictf/automate-deployment-using-ci-cd-eeadd3d47ca7).


## Running and configure this tool

`ctf-cicd` deploys all challenges (challenge.yml) that are detected in the current directory or any of its subfolders. To define challenges, they must respect the [ctfcli specification](https://github.com/CTFd/ctfcli#challenge-specification).

### Installation

``
$ pip3 install .
``

### Running
``
$ ctfcicd
``

### Settings

`CTFD_TOKEN`: CTFd Admin Access Token (ex. d41d8cd98f00b204e9800998ecf8427e)

`CTFD_URL`: CTFd instance URL (ex. https://demo.ctfd.io)

`DEPLOY_HOST`: URI of the method that you want to use to deploy your dockerized challenge ([More info](https://github.com/CTFd/ctfcli/blob/226036fba901ac93a5dd0dab20233cd2168eeacb/ctfcli/spec/challenge-example.yml#L27)).

`DEPLOY_NETWORK`: Optional variable to specify to which network you want the container attached.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ctfcicd",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "",
    "author": "Andr\u00e9 Cirne",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/7f/22/b9889800feb9c5e1591992fffc3afb718fcb89a7a266dfca42835853dd4d/ctfcicd-1.1.2.tar.gz",
    "platform": null,
    "description": "# ctf-cicd\n\nProgram to deploy automatically CTF challenges in CTFD. \nThis tool tries to answer the limitations of ctfcli, when you use it for continuos deployment. The settings are passed to the program using environment variables and there is no need to have config files in the repository.\n\nThe majority of the features are implemented using ctfcli and also inpired by the blogpost from [Rohan Mukherjee](https://medium.com/csictf/automate-deployment-using-ci-cd-eeadd3d47ca7).\n\n\n## Running and configure this tool\n\n`ctf-cicd` deploys all challenges (challenge.yml) that are detected in the current directory or any of its subfolders. To define challenges, they must respect the [ctfcli specification](https://github.com/CTFd/ctfcli#challenge-specification).\n\n### Installation\n\n``\n$ pip3 install .\n``\n\n### Running\n``\n$ ctfcicd\n``\n\n### Settings\n\n`CTFD_TOKEN`: CTFd Admin Access Token (ex. d41d8cd98f00b204e9800998ecf8427e)\n\n`CTFD_URL`: CTFd instance URL (ex. https://demo.ctfd.io)\n\n`DEPLOY_HOST`: URI of the method that you want to use to deploy your dockerized challenge ([More info](https://github.com/CTFd/ctfcli/blob/226036fba901ac93a5dd0dab20233cd2168eeacb/ctfcli/spec/challenge-example.yml#L27)).\n\n`DEPLOY_NETWORK`: Optional variable to specify to which network you want the container attached.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Tool for CI/CD pipelines to deploy CTFs",
    "version": "1.1.2",
    "project_urls": {
        "Homepage": "https://github.com/MrSuicideParrot/ctf-cicd",
        "Repository": "https://github.com/MrSuicideParrot/ctf-cicd"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94c5cb97ac9e55da1b91912853f29d1a6c15b74261a040f277fc34d1785d3a10",
                "md5": "c407d9198db6a8c4e2618c6fc23bb1c7",
                "sha256": "4b08219c3416936a4886a8472d95989f9607ee64183191b25a4206bd414e124b"
            },
            "downloads": -1,
            "filename": "ctfcicd-1.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c407d9198db6a8c4e2618c6fc23bb1c7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10792,
            "upload_time": "2023-10-20T14:57:35",
            "upload_time_iso_8601": "2023-10-20T14:57:35.494317Z",
            "url": "https://files.pythonhosted.org/packages/94/c5/cb97ac9e55da1b91912853f29d1a6c15b74261a040f277fc34d1785d3a10/ctfcicd-1.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f22b9889800feb9c5e1591992fffc3afb718fcb89a7a266dfca42835853dd4d",
                "md5": "de7adf8e3904705d7f82de0da66474b7",
                "sha256": "1dc99af77f0e5cd8b3c0e877fc2c5d0fa4d330ec2e2e373cc25f156a61baa036"
            },
            "downloads": -1,
            "filename": "ctfcicd-1.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "de7adf8e3904705d7f82de0da66474b7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 9433,
            "upload_time": "2023-10-20T14:57:36",
            "upload_time_iso_8601": "2023-10-20T14:57:36.636290Z",
            "url": "https://files.pythonhosted.org/packages/7f/22/b9889800feb9c5e1591992fffc3afb718fcb89a7a266dfca42835853dd4d/ctfcicd-1.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-20 14:57:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MrSuicideParrot",
    "github_project": "ctf-cicd",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "ctfcicd"
}
        
Elapsed time: 0.50525s