From aeb312c719b48f64bc338235c1cfcea9a2630332 Mon Sep 17 00:00:00 2001 From: Shu Kutsuzawa Date: Fri, 5 Jan 2024 06:14:24 +0900 Subject: [PATCH] update policy --- .config/aqua/aqua-policy.yaml | 23 ++++++++--------------- .config/aqua/aqua.yaml | 8 ++++---- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/.config/aqua/aqua-policy.yaml b/.config/aqua/aqua-policy.yaml index 05707d7f..11c215e7 100644 --- a/.config/aqua/aqua-policy.yaml +++ b/.config/aqua/aqua-policy.yaml @@ -1,22 +1,15 @@ # aqua Policy # https://aquaproj.github.io/ registries: -# Example -- name: local - type: local - path: registry.yaml - # - name: aqua-registry - # type: github_content - # repo_owner: aquaproj - # repo_name: aqua-registry - # ref: semver(">= 3.0.0") # ref is optional - # path: registry.yaml - type: standard ref: semver(">= 3.0.0") +- name: custom + type: local + path: registry.yaml +- name: private + type: local + path: private/registry.yaml packages: -# Example -- registry: local # allow all packages in the Registry - # - name: cli/cli # allow only a specific package. The default value of registry is "standard" - # - name: cli/cli - # version: semver(">= 2.0.0") # version is optional - registry: standard +- registry: custom +- registry: private diff --git a/.config/aqua/aqua.yaml b/.config/aqua/aqua.yaml index 0c9022d9..0745330f 100644 --- a/.config/aqua/aqua.yaml +++ b/.config/aqua/aqua.yaml @@ -11,10 +11,10 @@ registries: - name: custom type: local path: ./registry.yaml -# - name: private -# type: local -# path: ./private/registry.yaml -# private: true +- name: private + type: local + path: ./private/registry.yaml + private: true packages: - import: ./private/aqua.yaml - name: cli/cli@v2.38.0