Skip to content

Commit

Permalink
ci: minisign (#3111)
Browse files Browse the repository at this point in the history
* ci: test minisign

* ci: add a test case

* chore: update policy
  • Loading branch information
suzuki-shunsuke authored Sep 22, 2024
1 parent 0c0cba1 commit 2f9cc34
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/wc-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ jobs:
# go_install - terrafmt
run: aqua rm x-motemen/ghq bats-core/bats-core terraform terrafmt

- name: Test minisign
run: aqua i
working-directory: tests/minisign

- name: Test rm -m l
run: aqua rm -m l ghcp
- name: Test rm -m lp
Expand Down
2 changes: 1 addition & 1 deletion aqua/aqua-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://aquaproj.github.io/docs/tutorial-extras/policy-as-code
registries:
- type: standard
ref: semver(">= 3.0.0")
ref: semver(">= 3.0.0") or Version == "3b233e231969388a2cc54028d75948705d73ac09"
- name: main
type: local
path: ../tests/main/registry.yaml
Expand Down
15 changes: 15 additions & 0 deletions tests/minisign/aqua.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# aqua - Declarative CLI Version Manager
# https://aquaproj.github.io/
checksum:
enabled: true
# require_checksum: true
# supported_envs:
# - all
registries:
- type: standard
ref: 3b233e231969388a2cc54028d75948705d73ac09 # TODO update ref
packages:
- name: bufbuild/[email protected]
- name: bufbuild/buf
version: v0.53.0

0 comments on commit 2f9cc34

Please sign in to comment.