Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 0.5.5 #207

Merged
merged 3 commits into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1 - Setup cargo-chef
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as planner
FROM --platform=$BUILDPLATFORM rust:1.82.0-alpine3.20 as planner

WORKDIR /app
RUN apk add gcc g++ make
@@ -13,7 +13,7 @@ COPY ./bin/metrsd/Cargo.toml ./bin/metrsd/Cargo.toml
RUN cargo chef prepare --recipe-path recipe.json --bin ./bin/metrsd

# stage 2 - Cook our dependencies
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as cacher
FROM --platform=$BUILDPLATFORM rust:1.82.0-alpine3.20 as cacher

WORKDIR /app
COPY --from=planner /usr/local/cargo/bin/cargo-chef /usr/local/cargo/bin/cargo-chef
@@ -24,7 +24,7 @@ RUN export ARCH=$(uname -m) \
&& cargo chef cook --release --target=$ARCH-unknown-linux-musl --recipe-path recipe.json --bin metrsd

# stage 3 - Build our project
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as builder
FROM --platform=$BUILDPLATFORM rust:1.82.0-alpine3.20 as builder

## Build our metrs daemon binary
WORKDIR /app
@@ -48,7 +48,7 @@ FROM --platform=$BUILDPLATFORM scratch
## Copy the binary
COPY --from=builder /bin/metrsd /bin/metrsd

LABEL org.opencontainers.image.source https://github.com/nxthat/metrs
LABEL org.opencontainers.image.source https://github.com/next-hat/metrs
LABEL org.opencontainers.image.description Metrics Emitter

## Set entrypoint
2 changes: 1 addition & 1 deletion bin/metrs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ authors = ["nanocl contributors <team@next-hat.com>"]
description = "The Metrs daemon"
license = "MIT OR Apache-2.0"
readme = "../../readme.md"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

6 changes: 6 additions & 0 deletions bin/metrsd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.5] - 2024-10-31

### Updated

- Dependencies update

## [0.5.4] - 2024-06-07

### Updated
4 changes: 2 additions & 2 deletions bin/metrsd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "metrsd"
version = "0.5.4"
version = "0.5.5"
edition = "2021"
authors = ["nanocl contributors <team@next-hat.com>"]
description = "The Metrs daemon"
license = "MIT OR Apache-2.0"
readme = "../../readme.md"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

[[bin]]
name = "metrsd"
4 changes: 2 additions & 2 deletions crates/metrs_stubs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "metrs_stubs"
version = "0.5.3"
version = "0.5.5"
edition = "2021"
authors = ["nanocl contributors <team@next-hat.com>"]
description = "Metrs shared data type"
license = "MIT OR Apache-2.0"
readme = "readme.md"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

[lib]
bench = false
4 changes: 2 additions & 2 deletions crates/metrsd_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "metrsd_client"
version = "0.5.4"
version = "0.5.5"
edition = "2021"
authors = ["nanocl contributors <team@next-hat.com>"]
description = "The Metrs daemon api client"
readme = "readme.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

2 changes: 1 addition & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78.0-alpine3.19
FROM rust:1.82.0-alpine3.20

RUN apk add musl-dev make
RUN cargo install cargo-watch