{"id":16215363,"url":"https://github.com/darkowlzz/olm-bundle","last_synced_at":"2026-06-22T19:31:24.027Z","repository":{"id":144734933,"uuid":"297762221","full_name":"darkowlzz/olm-bundle","owner":"darkowlzz","description":"Github Action to generate Operator Lifecycle Manager bundle format manifests.","archived":false,"fork":false,"pushed_at":"2020-10-19T19:32:16.000Z","size":69,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T10:29:46.381Z","etag":null,"topics":["automation","github-action","kubernetes","olm","operators","workflow"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkowlzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-22T20:18:40.000Z","updated_at":"2020-10-15T18:56:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b48a34ab-127d-4526-8192-e1d4d6a9276b","html_url":"https://github.com/darkowlzz/olm-bundle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/darkowlzz/olm-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkowlzz%2Folm-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkowlzz%2Folm-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkowlzz%2Folm-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkowlzz%2Folm-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkowlzz","download_url":"https://codeload.github.com/darkowlzz/olm-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkowlzz%2Folm-bundle/sbom","scorecard":{"id":322856,"data":{"date":"2025-08-11","repo":{"name":"github.com/darkowlzz/olm-bundle","commit":"0a561983add8121a96f16e5482e8bf59754ebece"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-image.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/darkowlzz/olm-bundle/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-image.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/darkowlzz/olm-bundle/publish-image.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-image.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/darkowlzz/olm-bundle/publish-image.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/darkowlzz/olm-bundle/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: Dockerfile-dev:1: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T01:47:51.160Z","repository_id":144734933,"created_at":"2025-08-18T01:47:51.160Z","updated_at":"2025-08-18T01:47:51.160Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34663522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","github-action","kubernetes","olm","operators","workflow"],"created_at":"2024-10-10T11:14:41.191Z","updated_at":"2026-06-22T19:31:24.006Z","avatar_url":"https://github.com/darkowlzz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# olm-bundle\n\n[![Test](https://github.com/darkowlzz/olm-bundle/workflows/Test/badge.svg)](https://github.com/darkowlzz/olm-bundle/actions?query=workflow%3ATest)\n[![Action in workflow](https://github.com/darkowlzz/olm-bundle/workflows/Action%20in%20workflow/badge.svg)](https://github.com/darkowlzz/olm-bundle/actions?query=workflow%3A%22Action+in+workflow%22)\n\nGithub Action to generate\n[Operator Lifecycle Manager](olm.operatorframework.io/) bundle format\nmanifests.\n\nolm-bundle can be used as github action or as an independent tool to help\ngenerate the OLM versioned bundles.\n\nWhen used as github action, it can be paired with\n[peter-evans/create-pull-request](https://github.com/marketplace/actions/create-pull-request)\nto create a pull request with the generated bundle changes.\n\n## Usage\n\nThis action can be used in two ways based on the location of the source bundle\nmanifests (CSV and CRD files):\n\n1. When the source bundle manifests is in the same repo, set the action input\n   `manifestsDir` to the source bundle manifests dir path as shown below:\n\n```yaml\non:\n  workflow_dispatch:\n    # Enable manual trigger for this action.\n    inputs:\n      version:\n        description: Bundle version.\n        required: true\n\njobs:\n  generate-bundle:\n    runs-on: ubuntu-latest\n    name: Generate operator bundle\n    steps:\n      - uses: actions/checkout@v2\n      - name: olm-bundle action\n        id: bundle\n        uses: darkowlzz/olm-bundle@master\n        with:\n          manifestsDir: bundle/manifests\n          outputDir: my-operator/${{ github.event.inputs.version }}\n          channels: stable,beta\n          package: my-operator\n      - name: bundle tree output\n        run: echo \"${{ steps.bundle.outputs.tree }}\"\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3.4.0\n```\n\nThis will read the manifests from `manifestsDir` and write it to the\n`outputDir` and create a pull request with the changes.\n\n2. When the source bundle manifests is in a different repo, set the action\n   inputs `operatorRepo`, `operatorBranch` and `operatorManifestsDir` as shown\n   below:\n\n```yaml\non:\n  workflow_dispatch:\n    # Enable manual trigger for this action.\n    inputs:\n      version:\n        description: Bundle version.\n        required: true\n\njobs:\n  generate-bundle:\n    runs-on: ubuntu-latest\n    name: Generate operator bundle\n    steps:\n      - uses: actions/checkout@v2\n      - name: olm-bundle action\n        id: bundle\n        uses: darkowlzz/olm-bundle@master\n        with:\n          outputDir: my-operator/${{ github.event.inputs.version }}\n          channels: stable,beta\n          package: my-operator\n          operatorRepo: https://github.com/example/someoperator\n          operatorBranch: devel\n          operatorManifestsDir: bundle/manifests\n      - name: bundle tree output\n        run: echo \"${{ steps.bundle.outputs.tree }}\"\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v3.4.0\n```\n\nThis will clone the operator repo that contains the bundle and extract the\nbundle manifests, use it to generate the versioned bundle at `outputDir` and\ncreate a pull request with the changes.\n\n## Action inputs\n\n| Name | Description | Example value |\n| --- | --- | --- |\n| `manifestsDir` | Directory containing all the CRDs and CSVs for a bundle. | `bundle/manifests` |\n| `outputDir` | Bundle version directory. Created if not exists. | `my-operator/0.3.0` |\n| `channels` | Channels of the bundle. Comma separated channel names. | `stable` |\n| `defaultChannel` | Default bundle channel name (optional, `stable` by default). | `stable` |\n| `package` | OLM package name. | `my-operator` |\n| `operatorRepo` | Operator git repo that contains the OLM manifests. | `https://github.com/example/my-operator` |\n| `operatorBranch` | Operator git repo branch. | `devel` |\n| `operatorManifestsDir` | Manifests dir in the operator git repo. | `bundle/manifests` |\n| `dockerfileLabels` | Path to a file containing extra Dockerfile labels |\n\n## Action outputs\n\n### `tree`\n\nTree view of the versioned bundle directory after the changes:\n\n```console\ntestdata/memcached/0.0.2\n|-- manifests\n|   |-- cache.example.com_memcachedpeers.yaml\n|   |-- cache.example.com_memcacheds.yaml\n|   +-- memcached-operator.clusterserviceversion.yaml\n+-- metadata\n    +-- annotations.yaml\n\n2 directories, 4 files\n```\n\n## Using without github actions\n\n### Container image\n\nolm-bundle can be used with the container image\n`ghcr.io/darkowlzz/olm-bundle:test`.\n\n```console\n$ docker run --rm \\\n\t-v $PWD:/github/workspace \\\n\t-e OUTPUT_DIR=\u003cpackage-name\u003e/\u003cbundle-version\u003e \\\n\t-e CHANNELS=\u003cchannel-name\u003e \\\n\t-e PACKAGE=\u003cpackage-name\u003e \\\n\t-e OPERATOR_REPO=\u003coperator-repo\u003e \\\n\t-e OPERATOR_BRANCH=\u003coperator-branch\u003e \\\n\t-e OPERATOR_MANIFESTS_DIR=\u003coperator-manifests-dir\u003e \\\n\t-u \"$(shell id -u):$(shell id -g)\" \\\n\tghcr.io/darkowlzz/olm-bundle:test\n```\n\nThis will generate the versioned bundle in `OUTPUT_DIR` on the host.\n\n**NOTE**: Mounting to the working directory to `/github/workspace` is required\nbecause the container image is made to work in github actions environment.\n\n### Script\n\nTo use olm-bundle directly on host using the `generate.sh` script, install\n[`opm`](https://github.com/operator-framework/operator-registry) first. The\nbundle generation depends on `opm`. Ensure that it's available in the $PATH.\nRun:\n\n```console\n$ MANIFESTS_DIR=path/to/source/bundle \\\n\tOUTPUT_DIR=my-operator/0.3.0 CHANNELS=stable PACKAGE=my-operator \\\n\tgenerate.sh\n```\n\nThis will generate the versioned bundle in `OUTPUT_DIR` on the host.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkowlzz%2Folm-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkowlzz%2Folm-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkowlzz%2Folm-bundle/lists"}