Skip to content

Commit dd66df1

Browse files
committed
update kubernetes-sigs/gateway-api
Signed-off-by: Sebastian Hoß <[email protected]>
1 parent f2f9967 commit dd66df1

File tree

27 files changed

+1932
-17
lines changed

27 files changed

+1932
-17
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# SPDX-FileCopyrightText: The kube-custom-resources-rs Authors
2+
# SPDX-License-Identifier: 0BSD
3+
4+
name: Release gateway_networking_x_k8s_io
5+
on:
6+
schedule:
7+
- cron: 45 14 * * SAT
8+
workflow_dispatch:
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- id: checkout
14+
name: Checkout
15+
uses: actions/checkout@v4
16+
- id: commits
17+
name: Count Commits
18+
run: echo "count=$(git rev-list --count HEAD --since='last Saturday' -- custom-resources/gateway_networking_x_k8s_io)" >> $GITHUB_OUTPUT
19+
- id: release
20+
name: Create Release Version
21+
if: steps.commits.outputs.count > 0
22+
run: echo "version=1.$(date --utc +'%Y%m%d').$(date --utc +'%-H%M%S')" >> $GITHUB_OUTPUT
23+
- name: Set up Rust
24+
if: steps.commits.outputs.count > 0
25+
uses: dtolnay/rust-toolchain@stable
26+
- name: Install cargo-workspaces
27+
uses: taiki-e/install-action@v2
28+
with:
29+
tool: cargo-edit
30+
- name: Cargo Version
31+
if: steps.commits.outputs.count > 0
32+
run: cargo set-version --package kcr_gateway_networking_x_k8s_io ${{ steps.release.outputs.version }}
33+
- name: Publish to crates.io
34+
if: steps.commits.outputs.count > 0
35+
run: >
36+
cargo publish
37+
--allow-dirty
38+
--token ${{ secrets.CRATES_IO_TOKEN }}
39+
--package kcr_gateway_networking_x_k8s_io
40+
--jobs 1
41+
--no-verify
42+
env:
43+
RUSTFLAGS: "-A warnings"
44+
- id: mail
45+
name: Send Mail
46+
if: steps.commits.outputs.count > 0
47+
uses: dawidd6/action-send-mail@v4
48+
with:
49+
server_address: ${{ secrets.MAIL_SERVER }}
50+
server_port: ${{ secrets.MAIL_PORT }}
51+
username: ${{ secrets.MAIL_USERNAME }}
52+
password: ${{ secrets.MAIL_PASSWORD }}
53+
subject: ${{ github.event.repository.name }}/gateway_networking_x_k8s_io version ${{ steps.release.outputs.version }} published
54+
body: See ${{ steps.create_release.outputs.url }} for details.
55+
to: ${{ secrets.MAIL_RECIPIENT }}
56+
from: ${{ secrets.MAIL_SENDER }}
57+
- id: matrix
58+
name: Send Matrix Message
59+
if: steps.commits.outputs.count > 0
60+
uses: s3krit/[email protected]
61+
with:
62+
room_id: ${{ secrets.MATRIX_ROOM_ID }}
63+
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }}
64+
message: ${{ github.event.repository.name }}/gateway_networking_x_k8s_io version [${{ steps.release.outputs.version }}](${{ steps.create_release.outputs.url }}) published
65+
server: ${{ secrets.MATRIX_SERVER }}

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ members = [
157157
"custom-resources/fossul_io",
158158
"custom-resources/frrk8s_metallb_io",
159159
"custom-resources/gateway_networking_k8s_io",
160+
"custom-resources/gateway_networking_x_k8s_io",
160161
"custom-resources/gateway_nginx_org",
161162
"custom-resources/getambassador_io",
162163
"custom-resources/gitops_hybrid_cloud_patterns_io",

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ The following groups are available:
197197
- [fossul.io](https://crates.io/crates/kcr_fossul_io)
198198
- [frrk8s.metallb.io](https://crates.io/crates/kcr_frrk8s_metallb_io)
199199
- [gateway.networking.k8s.io](https://crates.io/crates/kcr_gateway_networking_k8s_io)
200+
- [gateway.networking.x-k8s.io](https://crates.io/crates/kcr_gateway_networking_x_k8s_io)
200201
- [gateway.nginx.org](https://crates.io/crates/kcr_gateway_nginx_org)
201202
- [getambassador.io](https://crates.io/crates/kcr_getambassador_io)
202203
- [gitops.hybrid-cloud-patterns.io](https://crates.io/crates/kcr_gitops_hybrid_cloud_patterns_io)

code-generator/src/catalog.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,6 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
21932193
project_name: "kubernetes-sigs/gateway-api",
21942194
license: APACHE_V2,
21952195
urls: &[
2196-
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_backendlbpolicies.yaml",
21972196
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_backendtlspolicies.yaml",
21982197
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_gatewayclasses.yaml",
21992198
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml",
@@ -2203,6 +2202,8 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
22032202
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_tcproutes.yaml",
22042203
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml",
22052204
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.k8s.io_udproutes.yaml",
2205+
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.x-k8s.io_xbackendtrafficpolicies.yaml",
2206+
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/experimental/gateway.networking.x-k8s.io_xlistenersets.yaml",
22062207
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/standard/gateway.networking.k8s.io_gatewayclasses.yaml",
22072208
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/standard/gateway.networking.k8s.io_gateways.yaml",
22082209
"https://github.com/kubernetes-sigs/gateway-api/blob/main/config/crd/standard/gateway.networking.k8s.io_grpcroutes.yaml",

0 commit comments

Comments
 (0)