bitovi / bitovi/bitops

BitOps Plugin support for private repos

Open
#60 5 comments 1 reaction 0 assignees View on GitHub
documentation 📗 enhancement ✨ help wanted 🙏
Dominant language
Python
Stars
37
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Need to implement a pattern in `plugin.config.yml` to support private plugin repos. For example:

```
plugins:
- name: pluginA
repo: https://github.com/myorg/pluginA.git
auth:
# type http or ssh detected by repo prefix
user:
type: string
value: myusername
user:
type: string
value: mytoken
- name: pluginB
repo: https://github.com/myorg/pluginB.git
auth:
user:
type: env
value: $GIT_USER #defines which env var to get this value from
user:
type: env
value: $GIT_PASSWORD #defines which env var to get this value from
- name: pluginC
repo: git@github.com:myorg/pluginC.git
auth:
sshkey:
type: string
value: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
- name: pluginD
repo: git@github.com:myorg/pluginD.git
sshkey:
type: env
value: $GIT_SSHKEY #defines which env var to get this value from
- name: pluginE
repo: git@github.com:myorg/pluginD.git
sshkey:
type: path
value: /path/to/mounted/sshkey
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.