Compare commits

...

2 Commits

Author SHA1 Message Date
Jef Roosens 42d1fe8212
feat(ci): add deploy
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details
2023-05-17 23:18:54 +02:00
Jef Roosens af828dc48e
fix: bundle sqlite3 2023-05-17 23:11:27 +02:00
5 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
platform: 'linux/amd64'
branches: 'main'
pipeline:
release:
image: 'plugins/docker'
settings:
registry: 'git.rustybever.be'
repo: 'git.rustybever.be/chewing_bever/affy'
tag:
- 'latest'
mtu: 1300
secrets:
- 'docker_username'
- 'docker_password'
deploy:
image: 'curlimages/curl'
secrets:
- 'webhook'
commands:
- curl -XPOST --fail -s "$WEBHOOK"

2
Cargo.lock generated
View File

@ -37,6 +37,7 @@ dependencies = [
"chrono",
"diesel",
"diesel_migrations",
"libsqlite3-sys",
"poise",
"tokio",
"uuid",
@ -835,6 +836,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]

View File

@ -24,3 +24,5 @@ poise = "0.5.5"
async-minecraft-ping = "0.8.0"
diesel = { version = "2.0.4", features = ["sqlite", "returning_clauses_for_sqlite_3_35", "r2d2"] }
diesel_migrations = { version = "2.0.0", features = [ "sqlite" ] }
# Force sqlite3 to be bundled, allowing for a fully static binary
libsqlite3-sys = { version = "*", features = ["bundled"] }

View File