Skip to content

Commit a5fe7b5

Browse files
committed
feat: add wasm plugin
feat: add wasm plugin feat: add wasm plugin
1 parent 2a9912f commit a5fe7b5

File tree

13 files changed

+968
-16
lines changed

13 files changed

+968
-16
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Setup Fluent CI CLI
14-
uses: fluentci-io/setup-fluentci@v4
13+
- name: Setup Fluent CI
14+
uses: fluentci-io/setup-fluentci@v5
15+
with:
16+
wasm: true
17+
plugin: deno
18+
args: |
19+
fmt
20+
test
21+
coverage
1522
- name: Run Dagger Pipelines
1623
run: |
17-
fluentci run deno_pipeline fmt test
1824
dagger -m github.com/fluent-ci-templates/pulumi-pipeline@main functions
1925
- name: Upload to Codecov
20-
run: fluentci run codecov_pipeline
26+
run: fluentci run --wasm codecov upload
2127
env:
2228
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2329
publish:

.github/workflows/example.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,27 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- uses: denoland/setup-deno@v1
14-
with:
15-
deno-version: v1.41
16-
- name: Setup Fluent CI CLI
17-
run: deno install -A -r https://cli.fluentci.io -n fluentci
18-
- name: Setup Dagger
19-
run: |
20-
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.10.0 sh
21-
sudo mv bin/dagger /usr/local/bin
22-
dagger version
2313
- name: Setup Service Account
24-
run: echo $GCP_SERVICE_ACCOUNT > fluentci-086b644d4c53.json
14+
run: |
15+
echo $GCP_SERVICE_ACCOUNT > fluentci-086b644d4c53.json
2516
env:
2617
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
2718
working-directory: example
19+
- name: Setup Fluent CI CLI
20+
uses: fluentci-io/setup-fluentci@v5
21+
with:
22+
wasm: true
23+
plugin: bun
24+
args: install
25+
working-directory: example
26+
- name: Run Wasm Plugin
27+
run: |
28+
fluentci run --wasm . preview --stack dev
29+
fluentci run --wasm . up --stack dev
30+
working-directory: example
31+
env:
32+
GOOGLE_APPLICATION_CREDENTIALS: ./fluentci-086b644d4c53.json
33+
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
2834
- name: Run Dagger Pipelines
2935
run: dagger run deno run -A ../src/dagger/runner.ts preview
3036
working-directory: example

dagger.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
22
"name": "pulumi",
3-
"sdk": "github.com/fluentci-io/daggerverse/deno-sdk@main"
3+
"sdk": "github.com/fluentci-io/daggerverse/deno-sdk@main",
4+
"version": "v0.5.0",
5+
"description": "",
6+
"author": "Tsiry Sandratraina",
7+
"license": "MIT"
48
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target/

0 commit comments

Comments
 (0)