Compare commits
1 Commits
main
...
publish-de
Author | SHA1 | Date | |
---|---|---|---|
fc27159c46
|
@@ -68,6 +68,6 @@ jobs:
|
||||
target: ${{ gitea.ref_name }}/docs/
|
||||
username: gitea-web
|
||||
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
|
||||
host: pages.pvv.ntnu.no
|
||||
known-hosts: "pages.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH2QjfFB+city1SYqltkVqWACfo1j37k+oQQfj13mtgg"
|
||||
host: bekkalokk.pvv.ntnu.no
|
||||
known-hosts: "bekkalokk.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEI6VSaDrMG8+flg4/AeHlAFIen8RUzWh6URQKqFegSx"
|
||||
|
||||
|
32
.gitea/workflows/publish-deb.yml
Normal file
32
.gitea/workflows/publish-deb.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
name: "publish-deb"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version to publish"
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- name: Install cargo-deb
|
||||
run: cargo install cargo-deb
|
||||
|
||||
- name: Build deb package
|
||||
run: ./create-deb.sh
|
||||
|
||||
- name: Publish deb package
|
||||
run: |
|
||||
curl \
|
||||
--user your_username:your_password_or_token \
|
||||
--upload-file target/debian/*.deb \
|
||||
https://git.pvv.ntnu.no/api/packages/testuser/debian/pool/bionic/main/upload
|
613
Cargo.lock
generated
613
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
32
Cargo.toml
32
Cargo.toml
@@ -4,35 +4,35 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.98"
|
||||
anyhow = "1.0.95"
|
||||
async-bincode = "0.8.0"
|
||||
bincode = "2.0.1"
|
||||
clap = { version = "4.5.41", features = ["derive"] }
|
||||
clap-verbosity-flag = "3.0.3"
|
||||
clap_complete = "4.5.55"
|
||||
clap = { version = "4.5.26", features = ["derive"] }
|
||||
clap-verbosity-flag = "3.0.2"
|
||||
clap_complete = "4.5.42"
|
||||
derive_more = { version = "2.0.1", features = ["display", "error"] }
|
||||
dialoguer = "0.11.0"
|
||||
env_logger = "0.11.8"
|
||||
env_logger = "0.11.6"
|
||||
futures = "0.3.31"
|
||||
futures-util = "0.3.31"
|
||||
indoc = "2.0.6"
|
||||
indoc = "2.0.5"
|
||||
itertools = "0.14.0"
|
||||
log = "0.4.27"
|
||||
log = "0.4.25"
|
||||
nix = { version = "0.30.1", features = ["fs", "process", "socket", "user"] }
|
||||
prettytable = "0.10.0"
|
||||
rand = "0.9.1"
|
||||
ratatui = { version = "0.29.0", optional = true }
|
||||
sd-notify = "0.4.5"
|
||||
serde = "1.0.219"
|
||||
serde_json = { version = "1.0.140", features = ["preserve_order"] }
|
||||
sqlx = { version = "0.8.6", features = ["runtime-tokio", "mysql", "tls-rustls"] }
|
||||
systemd-journal-logger = "2.2.2"
|
||||
tokio = { version = "1.46.1", features = ["rt", "macros"] }
|
||||
serde = "1.0.217"
|
||||
serde_json = { version = "1.0.135", features = ["preserve_order"] }
|
||||
sqlx = { version = "0.8.3", features = ["runtime-tokio", "mysql", "tls-rustls"] }
|
||||
systemd-journal-logger = "2.2.0"
|
||||
tokio = { version = "1.43.0", features = ["rt", "macros"] }
|
||||
tokio-serde = { version = "0.9.0", features = ["bincode"] }
|
||||
tokio-stream = "0.1.17"
|
||||
tokio-util = { version = "0.7.15", features = ["codec"] }
|
||||
toml = "0.8.23"
|
||||
uuid = { version = "1.17.0", features = ["v4"] }
|
||||
tokio-util = { version = "0.7.13", features = ["codec"] }
|
||||
toml = "0.8.19"
|
||||
uuid = { version = "1.12.0", features = ["v4"] }
|
||||
|
||||
[features]
|
||||
default = ["mysql-admutils-compatibility"]
|
||||
@@ -50,7 +50,7 @@ lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[build-dependencies]
|
||||
anyhow = "1.0.98"
|
||||
anyhow = "1.0.95"
|
||||
|
||||
[dev-dependencies]
|
||||
regex = "1.11.1"
|
||||
|
12
flake.lock
generated
12
flake.lock
generated
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1751984180,
|
||||
"narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=",
|
||||
"lastModified": 1746461020,
|
||||
"narHash": "sha256-7+pG1I9jvxNlmln4YgnlW4o+w0TZX24k688mibiFDUE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0",
|
||||
"rev": "3730d8a308f94996a9ba7c7138ede69c1b9ac4ae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -29,11 +29,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1752201818,
|
||||
"narHash": "sha256-d8KczaVT8WFEZdWg//tMAbv8EDyn2YTWcJvSY8gqKBU=",
|
||||
"lastModified": 1746585402,
|
||||
"narHash": "sha256-Pf+ufu6bYNA1+KQKHnGMNEfTwpD9ZIcAeLoE2yPWIP0=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "bd8f8329780b348fedcd37b53dbbee48c08c496d",
|
||||
"rev": "72dd969389583664f87aa348b3458f2813693617",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
Reference in New Issue
Block a user