Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 27, 2024
1 parent 645fe89 commit 939f747
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ Use as a [Dagger](https://dagger.io) module:
dagger install github.com/fluent-ci-templates/microcks-pipeline@main
```

Call a function from the module:

```bash
# Import API specifications into Microcks
dagger call import-api-specs --src . \
--specification-files $SPECIFICATION_FILES \
--microcks-url $MICROCKS_URL \
--keycloak-client-id $KEYCLOAK_CLIENT_ID \
--keycloak-client-secret KEYCLOAK_CLIENT_SECRET

# Run Microcks tests
dagger call run-tests --api-name-and-version "$API_NAME_AND_VERSION" \
--test-endpoint $TEST_ENDPOINT \
--runner $RUNNER \
--microcks-url $MICROCKS_URL \
--keycloak-client-id $KEYCLOAK_CLIENT_ID \
--keycloak-client-secret KEYCLOAK_CLIENT_SECRET
```

## Environment variables

| Variable | Description | Default |
Expand Down

0 comments on commit 939f747

Please sign in to comment.