diff --git a/Cargo.lock b/Cargo.lock index a439290..b6d6ec7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "mk-dl-bot" -version = "0.1.1" +version = "0.2.0" dependencies = [ "anyhow", "dotenv", diff --git a/Cargo.toml b/Cargo.toml index 1004c65..a834dce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mk-dl-bot" -version = "0.1.1" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/Jenkinsfile b/Jenkinsfile index c120832..de35571 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ node { stage('Push') { docker.withRegistry('https://registry.hub.docker.com', 'a2aa5264-dce1-4054-8828-8db95e3c6c3c') { - app.push('v0.1.1') + app.push('v0.2.0') } } diff --git a/k8s/02_deployment.yml b/k8s/02_deployment.yml index 207fb6c..2ae1725 100644 --- a/k8s/02_deployment.yml +++ b/k8s/02_deployment.yml @@ -19,7 +19,7 @@ spec: service: bot spec: containers: - - image: mykola2312/mk-dl-bot:v0.1.1 + - image: mykola2312/mk-dl-bot:v0.2.0 name: bot envFrom: - secretRef: diff --git a/src/bot/bot.rs b/src/bot/bot.rs index cdebd41..93f1d19 100644 --- a/src/bot/bot.rs +++ b/src/bot/bot.rs @@ -133,7 +133,6 @@ enum Command { async fn cmd_test(bot: Bot, msg: Message, _db: DbPool) -> HandlerResult { //bot.send_message(msg.chat.id, t!("test_response")).await?; - bot.send_video(msg.chat.id, InputFile::url(Url::from_str("http://mkdlbot.ddns.net/output3.mp4")?)).await?; Ok(()) }