Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manosbatsis/corda5-cli-action
Adds Corda 5 CLI to your GitHub actions.
https://github.com/manosbatsis/corda5-cli-action
action actions ci ci-cd cicd corda corda-developers corda-framework corda-network cordapp cordapps github-actions integration-testing
Last synced: 10 days ago
JSON representation
Adds Corda 5 CLI to your GitHub actions.
- Host: GitHub
- URL: https://github.com/manosbatsis/corda5-cli-action
- Owner: manosbatsis
- Created: 2023-09-02T11:57:07.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-30T09:46:41.000Z (10 months ago)
- Last Synced: 2024-01-30T10:51:04.830Z (10 months ago)
- Topics: action, actions, ci, ci-cd, cicd, corda, corda-developers, corda-framework, corda-network, cordapp, cordapps, github-actions, integration-testing
- Language: TypeScript
- Homepage:
- Size: 587 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Corda 5 CLI Action
Adds Corda 5 CLI to your [GitHub actions](https://github.com/features/actions).
Works well with [corda5-testutils](https://github.com/manosbatsis/corda5-testutils).Example workflow fragment bellow:
```yaml
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Setup Corda CLI
uses: manosbatsis/[email protected]
with:
cli-version: '5.0.1' # or 5.1.0
# Or use custom location, e.g.
# cli-installer-zip-url: 'https://github.com/corda/corda-runtime-os/releases/download/release-5.0.1.0/corda-cli-installer-5.0.1.0.zip'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build test
```## Examples
You can find a complete example built on top of CSDE at the [CSDE-cordapp-integration-testing](https://github.com/manosbatsis/CSDE-cordapp-integration-testing) repo.
There is also a relevant Medium article [here](https://medium.com/@manosbatsis/corda5-integration-testing-4e98d6a195cd).## Feedback
Issues, PRs etc. welcome. You can also try pinging me on https://cordaledger.slack.com