Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 25, 2024
1 parent 5361937 commit 36601f2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ You can also use this pipeline programmatically:
```ts
import { importApiSpecs, runTests } from "https://pkg.fluentci.io/microcks_pipeline@v0.1.0/mod.ts";

await importApiSpec(
await importApiSpecs(
".",
Deno.env.get("SPECIFICATION_FILES")!,
Deno.env.get("MICROCKS_URL")!,
Expand Down
25 changes: 23 additions & 2 deletions ci.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
import { hello } from "https://pkg.fluentci.io/base_pipeline@v0.5.3/mod.ts";
import {
importApiSpecs,
runTests,
} from "https://pkg.fluentci.io/microcks_pipeline@v0.1.0/mod.ts";

await hello();
await importApiSpecs(
".",
Deno.env.get("SPECIFICATION_FILES")!,
Deno.env.get("MICROCKS_URL")!,
Deno.env.get("KEYCLOAK_CLIENT_ID")!,
Deno.env.get("KEYCLOAK_CLIENT_SECRET")!
);

await runTests(
Deno.env.get("API_NAME_AND_VERSION")!,
Deno.env.get("TEST_ENDPOINT")!,
Deno.env.get("MICROCKS_URL")!,
Deno.env.get("KEYCLOAK_CLIENT_ID")!,
Deno.env.get("KEYCLOAK_CLIENT_SECRET")!,
Deno.env.get("RUNNER")!,
Deno.env.get("WAIT_FOR"),
Deno.env.get("SECRET_NAME"),
Deno.env.get("FILTER_OPERATIONS")
);

0 comments on commit 36601f2

Please sign in to comment.