Skip to content

Commit b62ba02

Browse files
authored
Unstick release 0.9.0 (#1002)
* Unstick release 0.9.0 Got stuck with this release, as we have new crates that also need to be published and I hadn't factored that into the new publishing steps. This includes moving the `xds` crates to being `quilkin-xds` so there was less concern with crate name collisions. 🤞🏻 hopefully this is it! Work on #964 * Fix for Github Action.
1 parent f517cc6 commit b62ba02

File tree

11 files changed

+74
-53
lines changed

11 files changed

+74
-53
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
- name: Install nextest
6969
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
7070
- name: Build
71-
run: cargo build -p qt -p quilkin -p xds --tests
72-
- run: cargo nextest run -p qt -p quilkin -p xds quilkin
71+
run: cargo build -p qt -p quilkin -p quilkin-xds --tests
72+
- run: cargo nextest run -p qt -p quilkin -p quilkin-xds quilkin
7373

7474
build:
7575
name: Build

Cargo.lock

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ test = false
7575
[dependencies]
7676
# Local
7777
quilkin-macros = { version = "0.9.0", path = "./crates/macros" }
78-
xds = { path = "crates/xds" }
78+
quilkin-xds = {version = "0.9.0",path = "crates/xds" }
7979
quilkin-proto.workspace = true
8080

8181
# Crates.io
@@ -206,7 +206,7 @@ prometheus = { version = "0.13.3", default-features = false }
206206
prost = "0.12"
207207
prost-types = "0.12"
208208
quilkin = { path = "." }
209-
quilkin-proto = { path = "crates/quilkin-proto" }
209+
quilkin-proto = {version = "0.9.0", path = "crates/quilkin-proto" }
210210
rand = "0.8.5"
211211
regex = "1.9.6"
212212
serde = { version = "1.0.188", features = ["derive", "rc"] }

build/templates/release-issue.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
- [ ] Update Cargo version for release
1616
- [ ] Edit the `version` field in `./Cargo.toml` and remove the `-dev` suffix.
1717
- [ ] Edit the `quilkin-macros` dependency in `./Cargo.toml` and remove the `-dev` suffix.
18+
- [ ] Edit the `quilkin-proto` dependency in `./Cargo.toml` and remove the `-dev` suffix.
19+
- [ ] Edit the `quilkin-xds` dependency in `./Cargo.toml` and remove the `-dev` suffix.
1820
- [ ] Edit the `version` field in `./crates/macros/Cargo.toml` and remove the `-dev` suffix.
21+
- [ ] Edit the `version` field in `./crates/quilkin-proto/Cargo.toml` and remove the `-dev` suffix.
22+
- [ ] Edit the `version` field in `./crates/xds/Cargo.toml` and remove the `-dev` suffix.
1923
- [ ] cd to `./build/release` and run `make` to submit the cloud build
2024
- [ ] Download all the artifacts from the cloud build.
2125
- [ ] Review `license.html` to ensure that there aren't any new MPL, or CDDL dependencies from the last
@@ -24,6 +28,9 @@
2428
so that the source is archived in the container image.
2529
- [ ] Reset checklist back to "run `make` to submit the cloud build", and start from there again.
2630
- [ ] Run `cd crates/macros && cargo publish --dry-run --allow-dirty` and ensure there are no issues.
31+
- [ ] Run `cd crates/quilkin-protos && cargo publish --dry-run --allow-dirty` and ensure there are no issues.
32+
- [ ] Run `cd crates/xds && cargo publish --dry-run --allow-dirty` and ensure there are no issues.
33+
- [ ] Run `cargo publish --dry-run --allow-dirty` and ensure there are no issues.
2734
- [ ] Run `cargo clippy` in the root directory, and ensure there are no issues.
2835
- [ ] Add a release item to README.md "Documentation" > "Releases" list with related links in reverse chronological
2936
order.
@@ -53,8 +60,16 @@
5360
`version`.
5461
- [ ] Edit the `quilkin-macros` dependency in `./Cargo.toml` and increment the [minor version](https://semver.org/)
5562
and apply the `-dev` suffix to the `version`.
56-
- [ ] Edit the `version` field in `./macros/Cargo.toml`and increment the [minor version](https://semver.org/)
63+
- [ ] Edit the `quilkin-protos` dependency in `./Cargo.toml` and increment the [minor version](https://semver.org/)
5764
and apply the `-dev` suffix to the `version`.
65+
- [ ] Edit the `quilkin-xds` dependency in `./Cargo.toml` and increment the [minor version](https://semver.org/)
66+
and apply the `-dev` suffix to the `version`.
67+
- [ ] Edit the `version` field in `./crates/macros/Cargo.toml`and increment the [minor version](https://semver.org/)
68+
and apply the `-dev` suffix to the `version`.
69+
- [ ] Edit the `version` field in `./crates/quilkin-protos/Cargo.toml`and increment the [minor version](https://semver.org/)
70+
and apply the `-dev` suffix to the `version`.
71+
- [ ] Edit the `version` field in `./crates/xds/Cargo.toml`and increment the [minor version](https://semver.org/)
72+
and apply the `-dev` suffix to the `version`.
5873
- [ ] Submit this change as a PR, and merge with approval.
5974

6075
Congratulation! 🎉 You have successfully released Quilkin!

crates/quilkin-proto/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616

1717
[package]
1818
name = "quilkin-proto"
19-
version = "0.1.0"
19+
version = "0.9.0"
20+
description = "Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more."
21+
homepage = "https://github.com/googleforgames/quilkin"
22+
repository = "https://github.com/googleforgames/quilkin"
2023
edition.workspace = true
2124
license.workspace = true
2225

crates/xds/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[package]
2-
name = "xds"
3-
version = "0.1.0"
2+
name = "quilkin-xds"
3+
version = "0.9.0"
4+
description = "Quilkin is a non-transparent UDP proxy specifically designed for use with large scale multiplayer dedicated game server deployments, to ensure security, access control, telemetry data, metrics and more."
5+
homepage = "https://github.com/googleforgames/quilkin"
6+
repository = "https://github.com/googleforgames/quilkin"
47
edition.workspace = true
58
license.workspace = true
69

src/config.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub struct Config {
8484
pub datacenter: DatacenterConfig,
8585
}
8686

87-
impl xds::config::Configuration for Config {
87+
impl quilkin_xds::config::Configuration for Config {
8888
fn identifier(&self) -> String {
8989
(*self.id.load()).clone()
9090
}
@@ -99,14 +99,14 @@ impl xds::config::Configuration for Config {
9999
resources: Vec<XdsResource>,
100100
removed_resources: &[String],
101101
remote_addr: Option<std::net::SocketAddr>,
102-
) -> xds::Result<()> {
102+
) -> quilkin_xds::Result<()> {
103103
self.apply_delta(type_url, resources, removed_resources, remote_addr)
104104
}
105105

106106
fn delta_discovery_request(
107107
&self,
108-
client_state: &xds::config::ClientState,
109-
) -> xds::Result<DeltaDiscoveryRes> {
108+
client_state: &quilkin_xds::config::ClientState,
109+
) -> quilkin_xds::Result<DeltaDiscoveryRes> {
110110
self.delta_discovery_request(client_state)
111111
}
112112

@@ -120,7 +120,7 @@ impl xds::config::Configuration for Config {
120120

121121
fn on_changed(
122122
&self,
123-
control_plane: xds::server::ControlPlane<Self>,
123+
control_plane: quilkin_xds::server::ControlPlane<Self>,
124124
) -> impl std::future::Future<Output = ()> + Send + 'static {
125125
let mut cluster_watcher = self.clusters.watch();
126126

@@ -217,7 +217,7 @@ impl Config {
217217
/// from those of the client
218218
pub fn delta_discovery_request(
219219
&self,
220-
client_state: &xds::config::ClientState,
220+
client_state: &quilkin_xds::config::ClientState,
221221
) -> crate::Result<DeltaDiscoveryRes> {
222222
let mut resources = Vec::new();
223223
let mut removed = std::collections::HashSet::new();
@@ -331,7 +331,7 @@ impl Config {
331331
}
332332

333333
let resource = crate::xds::Resource::Cluster(
334-
xds::generated::quilkin::config::v1alpha1::Cluster {
334+
quilkin_xds::generated::quilkin::config::v1alpha1::Cluster {
335335
locality: key.clone().map(|l| l.into()),
336336
endpoints: value.endpoints.iter().map(|ep| ep.into()).collect(),
337337
},

src/filters/token_router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use crate::{
2121
net::endpoint::metadata,
2222
};
2323

24-
use xds::generated::quilkin::filters::token_router::v1alpha1 as proto;
24+
use quilkin_xds::generated::quilkin::filters::token_router::v1alpha1 as proto;
2525

2626
/// Filter that only allows packets to be passed to Endpoints that have a matching
2727
/// connection_id to the token stored in the Filter's dynamic metadata.

src/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub mod endpoint;
6565
pub(crate) mod maxmind_db;
6666
pub mod phoenix;
6767

68-
pub use xds;
68+
pub use quilkin_xds as xds;
6969
pub use xds::net::TcpListener;
7070

7171
use std::{

src/net/endpoint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub use self::{
2828
metadata::DynamicMetadata,
2929
};
3030

31-
pub use xds::locality::Locality;
31+
pub use quilkin_xds::locality::Locality;
3232

3333
pub type EndpointMetadata = metadata::MetadataView<Metadata>;
3434
pub use base64_set::Set;

0 commit comments

Comments
 (0)