Skip to content

Commit

Permalink
Merge branch 'jsonnet-libs:master' into contour-gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
vtomasr5 committed Aug 5, 2024
2 parents 79b32b0 + 91eace2 commit b95a768
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 5 deletions.
82 changes: 82 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/cilium"
"clickhouse-operator":
"name": "Generate clickhouse-operator Jsonnet library and docs"
"needs":
- "build"
- "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v3"
- "id": "filter"
"uses": "dorny/paths-filter@v2"
"with":
"filters": |
workflows:
- '.github/**'
- 'bin/**'
- 'Dockerfile'
- 'go.mod'
- 'go.sum'
- 'jsonnet/**'
- 'main.go'
- 'Makefile'
- 'pkg/**'
- 'scripts/**'
- 'tf/**'
- 'libs/clickhouse-operator/**'
- "if": "steps.filter.outputs.workflows == 'true'"
"uses": "actions/download-artifact@v2"
"with":
"name": "docker-artifact"
"path": "artifacts"
- "if": "steps.filter.outputs.workflows == 'true'"
"run": "make load"
- "env":
"DIFF": "true"
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
"GIT_COMMITTER_EMAIL": "[email protected]"
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/clickhouse-operator"
"cloudnative-pg":
"name": "Generate cloudnative-pg Jsonnet library and docs"
"needs":
Expand Down Expand Up @@ -771,6 +811,46 @@
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/crossplane"
"datadog-operator":
"name": "Generate datadog-operator Jsonnet library and docs"
"needs":
- "build"
- "repos"
"runs-on": "ubuntu-latest"
"steps":
- "uses": "actions/checkout@v3"
- "id": "filter"
"uses": "dorny/paths-filter@v2"
"with":
"filters": |
workflows:
- '.github/**'
- 'bin/**'
- 'Dockerfile'
- 'go.mod'
- 'go.sum'
- 'jsonnet/**'
- 'main.go'
- 'Makefile'
- 'pkg/**'
- 'scripts/**'
- 'tf/**'
- 'libs/datadog-operator/**'
- "if": "steps.filter.outputs.workflows == 'true'"
"uses": "actions/download-artifact@v2"
"with":
"name": "docker-artifact"
"path": "artifacts"
- "if": "steps.filter.outputs.workflows == 'true'"
"run": "make load"
- "env":
"DIFF": "true"
"GEN_COMMIT": "${{ github.ref == 'refs/heads/master' && github.repository == 'jsonnet-libs/k8s' }}"
"GIT_COMMITTER_EMAIL": "[email protected]"
"GIT_COMMITTER_NAME": "jsonnet-libs-bot"
"SSH_KEY": "${{ secrets.DEPLOY_KEY }}"
"if": "steps.filter.outputs.workflows == 'true'"
"run": "make libs/datadog-operator"
"debugging":
"name": "Debugging Github Action values"
"runs-on": "ubuntu-latest"
Expand Down Expand Up @@ -2109,6 +2189,7 @@
- "calico"
- "cert-manager"
- "cilium"
- "clickhouse-operator"
- "cloudnative-pg"
- "cluster-api"
- "cluster-api-provider-aws"
Expand All @@ -2117,6 +2198,7 @@
- "consul"
- "contour"
- "crossplane"
- "datadog-operator"
- "eck-operator"
- "edp-keycloak-operator"
- "emissary"
Expand Down
3 changes: 2 additions & 1 deletion libs/argo-rollouts/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ local manifests = [
'rollout-crd.yaml',
];
local versions = [
'1.6.0'
'1.6.0',
'1.7.0',
];

config.new(
Expand Down
1 change: 1 addition & 0 deletions libs/cert-manager/config.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local config = import 'jsonnet/config.jsonnet';
local versions = [
{ version: '1.15', tag: 'v1.15.1'},
{ version: '1.14', tag: 'v1.14.2'},
{ version: '1.13', tag: 'v1.13.3'},
{ version: '1.12', tag: 'v1.12.7'},
Expand Down
25 changes: 25 additions & 0 deletions libs/datadog-operator/config.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
local config = import 'jsonnet/config.jsonnet';

local versions = [
{ version: '1.6.0', tag: 'v1.6.0' },
{ version: '1.7.0', tag: 'v1.7.0' },
];

config.new(
name='datadog-operator',
specs=[
{
output: v.version,
prefix: '^com\\.datadoghq\\..*',
crds: [
'https://raw.githubusercontent.com/DataDog/datadog-operator/%s/config/crd/bases/v1/datadoghq.com_datadogagentprofiles.yaml' % [v.tag],
'https://raw.githubusercontent.com/DataDog/datadog-operator/%s/config/crd/bases/v1/datadoghq.com_datadogagents.yaml' % [v.tag],
'https://raw.githubusercontent.com/DataDog/datadog-operator/%s/config/crd/bases/v1/datadoghq.com_datadogmetrics.yaml' % [v.tag],
'https://raw.githubusercontent.com/DataDog/datadog-operator/%s/config/crd/bases/v1/datadoghq.com_datadogmonitors.yaml' % [v.tag],
'https://raw.githubusercontent.com/DataDog/datadog-operator/%s/config/crd/bases/v1/datadoghq.com_datadogslos.yaml' % [v.tag],
],
localName: 'datadog-operator',
}
for v in versions
]
)
11 changes: 8 additions & 3 deletions libs/edp-keycloak-operator/config.jsonnet
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
local config = import 'jsonnet/config.jsonnet';

local versions = [
{output: '1.15.0', version:'v1.15.0'},
{output: '1.17.0', version:'v1.17.0'},
{output: '1.18.1', version:'v1.18.1'}
{ output: '1.15.0', version: 'v1.15.0' },
{ output: '1.17.0', version: 'v1.17.0' },
{ output: '1.18.1', version: 'v1.18.1' },
{ output: '1.18.2', version: 'v1.18.2' },
{ output: '1.19.0', version: 'v1.19.0' },
{ output: '1.20.0', version: 'v1.20.0' },
{ output: '1.21.0', version: 'v1.21.0' },
{ output: '1.22.0', version: 'v1.22.0' },
];

config.new(
Expand Down
2 changes: 1 addition & 1 deletion libs/envoy-gateway/config.jsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local config = import 'jsonnet/config.jsonnet';
local versions = ['v0.6.0', 'v1.0.1'];
local versions = ['v0.6.0', 'v1.0.1', 'v1.1.0'];

config.new(
name='envoy-gateway',
Expand Down
11 changes: 11 additions & 0 deletions libs/gateway-api/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ local versions = [
{output: '0.7', version: '0.7.1'},
{output: '0.8', version: '0.8.1'},
{output: '1.0', version: '1.0.0'},
{output: '1.1', version: '1.1.0'},
];

config.new(
Expand All @@ -18,5 +19,15 @@ config.new(
localName: 'gateway-api',
}
for v in versions
] + [
{
output: v.output + "-experimental",
prefix: '^io\\.k8s\\.networking\\.gateway\\..*',
crds: [
'https://github.com/kubernetes-sigs/gateway-api/releases/download/v%(version)s/experimental-install.yaml' % { version: v.version }
],
localName: 'gateway-api',
}
for v in versions
]
)

0 comments on commit b95a768

Please sign in to comment.