codebuild-ci


Namecodebuild-ci JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/satyamsoni2211/codebuild_ci
SummaryCommand line utility to trigger and wait for Code build Pipeline to complete
upload_time2023-04-20 10:34:39
maintainer
docs_urlNone
authorsatyam soni
requires_python>=3.9
licenseMIT
keywords python aws codebuild ci devops cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # CODEBUILD CI

Code Build Pipelines run Asynchronously and there is no provision to wait for them in bitbucket pipelines/ github actions to complete.
This project will wait for Codebuild pipeline to complete and log all the log events as well. This handles any abrupt pipeline stops.

## How to use

---

```bash
pip install codebuild-ci
```

```bash
python -m codebuild --project project --log-group <aws log group>
```

Checking for other options:

```bash
python -m codebuild --help
```

### Integrate with Bitbucket Pipeline

```yml
- script:
    - python -m pip install codebuild-ci
    - python -m codebuild-ci --project project --log-group <aws log group>
```

## contributing to code

---

You can Fork the repo and raise a PR for the active development.

## Tips for testing

---

### Stubbing Code

```python
from botocore.stub import Stubber
# stub code
stubber = Stubber(client)
stubber.add_response('start_build', {
    'build': {
        'id': 'foo-project:foo-id'
    }
})
stubber.add_response('batch_get_builds', {
    'builds': [{
        'id': 'foo-project:foo-id',
        'buildStatus': 'SUCCEEDED'
    }]
})
stubber.activate()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/satyamsoni2211/codebuild_ci",
    "name": "codebuild-ci",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "python,aws,codebuild,ci,devops,cli",
    "author": "satyam soni",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b8/aa/cccd1395f8647dda6c1059ab457e57b6c10a40c288d84ce2508842f3d7e4/codebuild_ci-0.2.0.tar.gz",
    "platform": null,
    "description": "# CODEBUILD CI\n\nCode Build Pipelines run Asynchronously and there is no provision to wait for them in bitbucket pipelines/ github actions to complete.\nThis project will wait for Codebuild pipeline to complete and log all the log events as well. This handles any abrupt pipeline stops.\n\n## How to use\n\n---\n\n```bash\npip install codebuild-ci\n```\n\n```bash\npython -m codebuild --project project --log-group <aws log group>\n```\n\nChecking for other options:\n\n```bash\npython -m codebuild --help\n```\n\n### Integrate with Bitbucket Pipeline\n\n```yml\n- script:\n    - python -m pip install codebuild-ci\n    - python -m codebuild-ci --project project --log-group <aws log group>\n```\n\n## contributing to code\n\n---\n\nYou can Fork the repo and raise a PR for the active development.\n\n## Tips for testing\n\n---\n\n### Stubbing Code\n\n```python\nfrom botocore.stub import Stubber\n# stub code\nstubber = Stubber(client)\nstubber.add_response('start_build', {\n    'build': {\n        'id': 'foo-project:foo-id'\n    }\n})\nstubber.add_response('batch_get_builds', {\n    'builds': [{\n        'id': 'foo-project:foo-id',\n        'buildStatus': 'SUCCEEDED'\n    }]\n})\nstubber.activate()\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Command line utility to trigger and wait for Code build Pipeline to complete",
    "version": "0.2.0",
    "split_keywords": [
        "python",
        "aws",
        "codebuild",
        "ci",
        "devops",
        "cli"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8de5666501479fec2e180f6b7ba2e60f379dcf710c067d9a6fc5878897c618ef",
                "md5": "b9396ad5ad74810b4fdef8a2186466a1",
                "sha256": "3ff84f6203750e36df9302d45228a7436a739a1b1b1033ea15fae61e08e4fc88"
            },
            "downloads": -1,
            "filename": "codebuild_ci-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b9396ad5ad74810b4fdef8a2186466a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 7248,
            "upload_time": "2023-04-20T10:34:37",
            "upload_time_iso_8601": "2023-04-20T10:34:37.891980Z",
            "url": "https://files.pythonhosted.org/packages/8d/e5/666501479fec2e180f6b7ba2e60f379dcf710c067d9a6fc5878897c618ef/codebuild_ci-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b8aacccd1395f8647dda6c1059ab457e57b6c10a40c288d84ce2508842f3d7e4",
                "md5": "dc136f5a58a6417dea5d90cf72583eb0",
                "sha256": "f60873edea132b40c2917c86e35b3b4b878526fb021ed9356041db346ca495f0"
            },
            "downloads": -1,
            "filename": "codebuild_ci-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "dc136f5a58a6417dea5d90cf72583eb0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4834,
            "upload_time": "2023-04-20T10:34:39",
            "upload_time_iso_8601": "2023-04-20T10:34:39.950841Z",
            "url": "https://files.pythonhosted.org/packages/b8/aa/cccd1395f8647dda6c1059ab457e57b6c10a40c288d84ce2508842f3d7e4/codebuild_ci-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-20 10:34:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "satyamsoni2211",
    "github_project": "codebuild_ci",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "codebuild-ci"
}
        
Elapsed time: 0.06327s