From cbaccbcac63e7b4495efc42f41e045fc698d7f7e Mon Sep 17 00:00:00 2001 From: Dan Lorenc Date: Thu, 6 Jul 2023 21:33:14 -0400 Subject: [PATCH] Add cedar cli. Signed-off-by: Dan Lorenc --- cedar.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cedar.yaml diff --git a/cedar.yaml b/cedar.yaml new file mode 100644 index 000000000000..6440055e89ac --- /dev/null +++ b/cedar.yaml @@ -0,0 +1,37 @@ +package: + name: cedar + version: 2.3.0 + epoch: 0 + description: "Core implementation of the Cedar language" + copyright: + - license: Apache-2.0 + +environment: + contents: + packages: + - rust + - wolfi-base + - busybox + - ca-certificates-bundle + - build-base + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/cedar-policy/cedar + expected-commit: cbbc35609de083671ed38689039c9e783c314bce + tag: v${{package.version}} + + - name: Configure and build + runs: | + cargo build --release -vv + mkdir -p ${{targets.destdir}}/usr/bin/ + mv target/release/cedar ${{targets.destdir}}/usr/bin/ + + - uses: strip + +update: + enabled: true + github: + identifier: cedar-policy/cedar + strip-prefix: v