Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reubenmiller/setup-go-c8y-cli
Setup go-c8y-cli for use in GitHub workflows
https://github.com/reubenmiller/setup-go-c8y-cli
c8y cumulocity-iot github-actions go-c8y-cli
Last synced: about 1 month ago
JSON representation
Setup go-c8y-cli for use in GitHub workflows
- Host: GitHub
- URL: https://github.com/reubenmiller/setup-go-c8y-cli
- Owner: reubenmiller
- License: mit
- Created: 2023-07-18T15:40:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-06T14:07:21.000Z (8 months ago)
- Last Synced: 2024-05-06T15:38:00.783Z (8 months ago)
- Topics: c8y, cumulocity-iot, github-actions, go-c8y-cli
- Language: TypeScript
- Homepage: https://goc8ycli.netlify.app
- Size: 1.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# setup-go-c8y-cli
[![Actions Status](https://github.com/reubenmiller/setup-go-c8y-cli/workflows/build-test/badge.svg)](https://github.com/reubenmiller/setup-go-c8y-cli/actions)
This action sets up a binary in \$PATH for use in actions
```yaml
env:
C8Y_HOST: '${{ secrets.C8Y_HOST }}'
C8Y_USER: '${{ secrets.C8Y_USER }}'
C8Y_PASSWORD: '${{ secrets.C8Y_PASSWORD }}'
steps:
- uses: actions/checkout@v3
- uses: reubenmiller/setup-go-c8y-cli@main
- run: |
c8y microservice create --file myfile.zip
```You can customize some of the go-c8y-cli setup options:
```yaml
env:
C8Y_HOST: '${{ secrets.C8Y_HOST }}'
C8Y_USER: '${{ secrets.C8Y_USER }}'
C8Y_PASSWORD: '${{ secrets.C8Y_PASSWORD }}'
steps:
- uses: actions/checkout@v3
- uses: reubenmiller/setup-go-c8y-cli@main
with:
version: '2.36.0'
showVersion: false
showTenant: false
- run: |
c8y microservice create --file myfile.zip
```