Compare commits
6 Commits
cuddle-ple
...
renovate/a
| Author | SHA1 | Date | |
|---|---|---|---|
| c77699159d | |||
|
2ca918bc05
|
|||
|
426d259699
|
|||
| c0e24492c4 | |||
|
e26e359d10
|
|||
|
2e714767a1
|
44
CHANGELOG.md
44
CHANGELOG.md
@@ -6,50 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.4.0] - 2025-02-28
|
||||
|
||||
### Added
|
||||
- add option
|
||||
- use publish tag instead of bool
|
||||
- add publish
|
||||
- update cuddle file
|
||||
- add release action
|
||||
- remove deps
|
||||
- remove ci
|
||||
|
||||
### Fixed
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update rust crate toml to v0.8.20
|
||||
- cuddle file test
|
||||
- release action like main and pr
|
||||
- *(deps)* update rust crate chrono to v0.4.39
|
||||
- *(deps)* update rust crate tracing to v0.1.41
|
||||
|
||||
### Other
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update rust crate serde to v1.0.218
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update rust crate clap to v4.5.30
|
||||
- *(deps)* update rust crate dagger-sdk to v0.15.4
|
||||
- *(deps)* update rust crate clap to v4.5.29
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update rust crate serde_json to v1.0.137
|
||||
- *(deps)* update rust crate serde_json to v1.0.136
|
||||
- *(deps)* update rust crate dagger-sdk to v0.15.2
|
||||
- *(deps)* update rust crate clap to v4.5.26
|
||||
- update cuddle please
|
||||
- update cuddle please to include commit history in changelog
|
||||
- *(deps)* update rust crate tokio to v1.43.0
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update rust crate serde to v1.0.217
|
||||
- *(deps)* update rust crate serde_json to v1.0.134
|
||||
- *(deps)* update rust crate serde to v1.0.216
|
||||
- *(deps)* update rust crate clap to v4.5.23
|
||||
- *(deps)* update all dependencies
|
||||
- *(deps)* update rust crate serde_json to v1.0.133
|
||||
|
||||
## [0.3.0] - 2024-11-16
|
||||
|
||||
### Added
|
||||
|
||||
1038
Cargo.lock
generated
1038
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -3,12 +3,12 @@ members = ["crates/*", "examples/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.4.0"
|
||||
version = "0.3.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
authors = ["kjuulh <contact@kjuulh.io>"]
|
||||
readme = "README.md"
|
||||
repository = "https://git.front.kjuulh.io/kjuulh/dagger-components"
|
||||
repository = "https://git.kjuulh.io/kjuulh/dagger-components"
|
||||
|
||||
[workspace.dependencies]
|
||||
cuddle-components = { path = "crates/cuddle-components" }
|
||||
@@ -16,7 +16,7 @@ dagger-components = { path = "crates/dagger-components" }
|
||||
dagger-cuddle-please = { path = "crates/dagger-cuddle-please" }
|
||||
dagger-rust = { path = "crates/dagger-rust" }
|
||||
|
||||
dagger-sdk = "0.16.0"
|
||||
dagger-sdk = "0.19.0"
|
||||
eyre = "0.6"
|
||||
tokio = "1"
|
||||
dotenv = "0.15.0"
|
||||
|
||||
@@ -24,7 +24,7 @@ serde_yaml.workspace = true
|
||||
serde.workspace = true
|
||||
tracing = {version = "0.1.40", features = ["log"]}
|
||||
chrono = {version = "0.4.38"}
|
||||
toml = "0.8.12"
|
||||
toml = "0.9.0"
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.4.0"
|
||||
|
||||
@@ -112,7 +112,7 @@ mod test {
|
||||
#[test]
|
||||
fn parse_file() {
|
||||
let cuddle_file = r#"
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
|
||||
vars:
|
||||
service: "infrastructure-example"
|
||||
@@ -124,7 +124,7 @@ vars:
|
||||
namespace: clank_prod
|
||||
|
||||
deployment:
|
||||
registry: git@git.front.kjuulh.io:kjuulh/clank-clusters
|
||||
registry: git@git.kjuulh.io:kjuulh/clank-clusters
|
||||
env:
|
||||
prod:
|
||||
clusters:
|
||||
@@ -181,7 +181,7 @@ scripts:
|
||||
rust: None,
|
||||
},
|
||||
deployment: Some(crate::cuddle_file::CuddleDeployment {
|
||||
registry: "git@git.front.kjuulh.io:kjuulh/clank-clusters".into(),
|
||||
registry: "git@git.kjuulh.io:kjuulh/clank-clusters".into(),
|
||||
env: CuddleDeploymentEnv(deployment),
|
||||
}),
|
||||
components: Some(CuddleComponents {
|
||||
@@ -209,7 +209,7 @@ scripts:
|
||||
#[test]
|
||||
fn cuddle_database_default() {
|
||||
let cuddle_file = r#"
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
|
||||
vars:
|
||||
service: "infrastructure-example"
|
||||
@@ -243,7 +243,7 @@ components:
|
||||
#[test]
|
||||
fn cuddle_packages() {
|
||||
let cuddle_file = r#"
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-base.git"
|
||||
|
||||
vars:
|
||||
service: "infrastructure-example"
|
||||
|
||||
@@ -387,7 +387,7 @@ impl MainAction for LeptosService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"git@git.front.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
"git@git.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
self.get_deploy_target()
|
||||
),
|
||||
"--service",
|
||||
@@ -405,7 +405,7 @@ impl MainAction for LeptosService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"https://git.front.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
"https://git.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
self.get_deploy_target()
|
||||
),
|
||||
"--service",
|
||||
|
||||
@@ -255,7 +255,7 @@ impl MainAction for NodeService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"git@git.front.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
"git@git.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
self.service
|
||||
),
|
||||
"--service",
|
||||
@@ -273,7 +273,7 @@ impl MainAction for NodeService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"https://git.front.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
"https://git.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
self.service
|
||||
),
|
||||
"--service",
|
||||
|
||||
@@ -274,7 +274,7 @@ impl RustService {
|
||||
let dest = self
|
||||
.final_image
|
||||
.clone()
|
||||
.unwrap_or(client.container().from("debian:bookworm"));
|
||||
.unwrap_or(client.container().from("debian:trixie"));
|
||||
|
||||
let before_package = self
|
||||
.stages
|
||||
@@ -427,7 +427,7 @@ impl MainAction for RustService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"git@git.front.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
"git@git.kjuulh.io:kjuulh/{}-deployment.git",
|
||||
self.bin_name
|
||||
),
|
||||
"--service",
|
||||
@@ -445,7 +445,7 @@ impl MainAction for RustService {
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
&format!(
|
||||
"https://git.front.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
"https://git.kjuulh.io/kjuulh/{}-deployment.git",
|
||||
self.bin_name
|
||||
),
|
||||
"--service",
|
||||
|
||||
@@ -186,12 +186,11 @@ impl DaggerCuddlePlease {
|
||||
self.client
|
||||
.git_opts(
|
||||
&repo_url,
|
||||
dagger_sdk::QueryGitOpts {
|
||||
experimental_service_host: None,
|
||||
keep_git_dir: Some(true),
|
||||
ssh_auth_socket: Some(socket.id().await?),
|
||||
ssh_known_hosts: None,
|
||||
},
|
||||
dagger_sdk::QueryGitOptsBuilder::default()
|
||||
.keep_git_dir(true)
|
||||
.ssh_auth_socket(socket.id().await?)
|
||||
.build()
|
||||
.unwrap(),
|
||||
)
|
||||
.branch("main")
|
||||
.tree()
|
||||
@@ -199,12 +198,10 @@ impl DaggerCuddlePlease {
|
||||
self.client
|
||||
.git_opts(
|
||||
&repo_url,
|
||||
dagger_sdk::QueryGitOpts {
|
||||
experimental_service_host: None,
|
||||
keep_git_dir: Some(true),
|
||||
ssh_auth_socket: None,
|
||||
ssh_known_hosts: None,
|
||||
},
|
||||
dagger_sdk::QueryGitOptsBuilder::default()
|
||||
.keep_git_dir(true)
|
||||
.build()
|
||||
.unwrap(),
|
||||
)
|
||||
.branch("main")
|
||||
.tree()
|
||||
|
||||
@@ -128,6 +128,7 @@ impl RustSource {
|
||||
dagger_sdk::DirectoryWithDirectoryOpts {
|
||||
exclude: Some(exclude),
|
||||
include: None,
|
||||
owner: None,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# yaml-language-server: $schema=https://git.front.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json
|
||||
# yaml-language-server: $schema=https://git.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json
|
||||
|
||||
base: "git@git.front.kjuulh.io:kjuulh/cuddle-rust-lib-plan.git"
|
||||
base: "git@git.kjuulh.io:kjuulh/cuddle-rust-lib-plan.git"
|
||||
|
||||
vars:
|
||||
service: "dagger-components"
|
||||
@@ -14,7 +14,7 @@ please:
|
||||
repository: dagger-components
|
||||
branch: main
|
||||
settings:
|
||||
api_url: https://git.front.kjuulh.io
|
||||
api_url: https://git.kjuulh.io
|
||||
actions:
|
||||
rust:
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@ project:
|
||||
repository: dagger-components
|
||||
branch: main
|
||||
settings:
|
||||
api_url: https://git.front.kjuulh.io
|
||||
api_url: https://git.kjuulh.io
|
||||
|
||||
@@ -10,7 +10,7 @@ pub async fn main() -> eyre::Result<()> {
|
||||
branch: "main".into(),
|
||||
cuddle_image: "kasperhermansen/cuddle-please:latest".into(),
|
||||
server: dagger_cuddle_please::models::Server::Gitea {
|
||||
url: "https://git.front.kjuulh.io".into(),
|
||||
url: "https://git.kjuulh.io".into(),
|
||||
user: "git".into(),
|
||||
token: std::env::var("CUDDLE_PLEASE_TOKEN")
|
||||
.expect("CUDDLE_PLEASE_TOKEN to be present"),
|
||||
|
||||
Reference in New Issue
Block a user