Skip to content

Commit 4a414ed

Browse files
authored
feat: adds envoy-gateway (#1)
1 parent 014fbd8 commit 4a414ed

17 files changed

+74353
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ permissions:
1414

1515
jobs:
1616
ci:
17-
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.1
17+
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.7.2
1818
with:
1919
forge_version: 0.15.0

blueprint.cue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ global: {
2828
version: "0.8.15"
2929
}
3030

31+
github: {
32+
registry: "ghcr.io"
33+
}
34+
3135
kcl: {
3236
install: true
3337
registries: [

earthly/kcl/Earthfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
VERSION 0.8
2+
3+
INSTALL:
4+
FUNCTION
5+
6+
RUN wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash

modules/envoy-gateway/Earthfile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
VERSION 0.8
2+
3+
IMPORT ../../earthly/kcl AS kcl
4+
5+
deps:
6+
FROM debian:bookworm-slim
7+
8+
RUN apt-get update && apt-get install -y curl wget
9+
10+
DO kcl+INSTALL
11+
12+
src:
13+
FROM +deps
14+
15+
WORKDIR /work
16+
17+
COPY --dir crd v1alpha1 .
18+
COPY kcl.mod kcl.mod.lock README.md .
19+
20+
generate:
21+
FROM +src
22+
23+
RUN kcl import -m crd -o . -s crd/crd.yaml
24+
RUN kcl doc generate
25+
26+
SAVE ARTIFACT models/v1alpha1 AS LOCAL v1alpha1
27+
SAVE ARTIFACT docs/envoy-gateway.md AS LOCAL README.md
28+
29+
check:
30+
FROM +generate
31+
32+
WORKDIR /work
33+
34+
RUN diff -r models/v1alpha1 v1alpha1
35+
RUN diff -r docs/envoy-gateway.md README.md

modules/envoy-gateway/README.md

Lines changed: 21002 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: "1.0"
2+
project: {
3+
name: "envoy-gateway"
4+
release: {
5+
kcl: {
6+
on: tag: {}
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)