Skip to content

Commit

Permalink
ci: use dagger v0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Oct 22, 2023
1 parent 42ea057 commit c6176b4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Terragrunt Pipeline

[![fluentci pipeline](https://img.shields.io/badge/dynamic/json?label=pkg.fluentci.io&labelColor=%23000&color=%23460cf1&url=https%3A%2F%2Fapi.fluentci.io%2Fv1%2Fpipeline%2Fterragrunt_pipeline&query=%24.version)](https://pkg.fluentci.io/terragrunt_pipeline)
![deno compatibility](https://shield.deno.dev/deno/^1.34)
![deno compatibility](https://shield.deno.dev/deno/^1.37)
[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/terragrunt-pipeline)](https://codecov.io/gh/fluent-ci-templates/terragrunt-pipeline)

A ready-to-use CI/CD Pipeline for managing your infrastructure with [Terragrunt](https://terragrunt.gruntwork.io/).
Expand Down Expand Up @@ -66,6 +66,11 @@ fluentci run .
| validate | Validate the configuration files |
| apply | Apply infrastructure changes |

```graphql
apply(src: String!, tfVersion: String): String
validate(src: String!, tfVersion: String): String
```

## Programmatic usage

You can also use this pipeline programmatically:
Expand Down
13 changes: 3 additions & 10 deletions ci.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import Client, { connect } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
import {
validate,
apply,
} from "https://pkg.fluentci.io/terragrunt_pipeline@v0.3.1/mod.ts";
} from "https://pkg.fluentci.io/terragrunt_pipeline@v0.4.0/mod.ts";

function pipeline(src = ".") {
connect(async (client: Client) => {
await validate(client, src);
await apply(client, src);
});
}

pipeline();
await validate();
await apply();

0 comments on commit c6176b4

Please sign in to comment.