Skip to content

Commit 69b8170

Browse files
authored
ci: fix windows GH actions (#1420)
* ci: fix windows GH actions Signed-off-by: Salim Afiune Maya <[email protected]> * chore: don't run windows-test on every pr Signed-off-by: Salim Afiune Maya <[email protected]> --------- Signed-off-by: Salim Afiune Maya <[email protected]>
1 parent 8999a52 commit 69b8170

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/chocolatey-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Publish the Lacework CLI to Chocolatey
2-
31
on: workflow_dispatch
42

53
jobs:
@@ -13,7 +11,7 @@ jobs:
1311
fetch-depth: 0
1412

1513
- name: Running integration tests
16-
container: lacework/win-golang:1.18-20h2
14+
image: lacework/win-golang:1.18-20h2
1715
shell: pwsh
1816
run: |
1917
# install chocolatey

.github/workflows/windows-integration.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Run integration tests for the Lacework CLI on Windows
2-
31
on:
42
push:
53
branches:
@@ -23,6 +21,14 @@ jobs:
2321

2422
- name: Running integration tests
2523
shell: pwsh
24+
env:
25+
CI_ACCOUNT: ${{ secrets.CI_ACCOUNT }}
26+
CI_SUBACCOUNT: ${{ secrets.CI_SUBACCOUNT }}
27+
CI_API_KEY: ${{ secrets.CI_API_KEY }}
28+
CI_API_SECRET: ${{ secrets.CI_API_SECRET }}
29+
HONEYAPIKEY: ${{ secrets.HONEY_DEV_KEY }}
30+
HONEYDATASET: ${{ secrets.HONEYDATASET }}
31+
LW_INT_TEST_AWS_ACC: ${{ secrets.LW_INT_TEST_AWS_ACC }}
2632
run: |
2733
Set-ExecutionPolicy Bypass -Scope Process -Force
2834
./scripts/codefresh.ps1

0 commit comments

Comments
 (0)