mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-23 10:56:29 +00:00
Compare commits
2 commits
658f353c23
...
0153222542
Author | SHA1 | Date | |
---|---|---|---|
|
0153222542 | ||
|
e10d5ea6e4 |
3 changed files with 348 additions and 844 deletions
16
.github/workflows/deployment.yml
vendored
16
.github/workflows/deployment.yml
vendored
|
@ -31,19 +31,3 @@ jobs:
|
|||
ghcr.io/${{ github.repository }}:latest
|
||||
outputs:
|
||||
digest: ${{ steps.docker_push.outputs.digest }}
|
||||
|
||||
deploy:
|
||||
needs: build-docker-image
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Patch and Sync
|
||||
env:
|
||||
DIGEST: ${{ needs.build-docker-image.outputs.digest }}
|
||||
ARGOCD_SERVER: ${{ secrets.ARGOCD_SERVER }}
|
||||
ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_AUTH_TOKEN }}
|
||||
run: |
|
||||
curl -sSL -o argocd https://${ARGOCD_SERVER}/download/argocd-linux-amd64
|
||||
chmod +x argocd
|
||||
./argocd app patch deps-rs --patch "{ \"spec\": { \"source\": { \"kustomize\": { \"images\": [\"ghcr.io/deps-rs/deps.rs@${DIGEST}\"] } } } }" --type merge --grpc-web
|
||||
./argocd app sync deps-rs --grpc-web
|
||||
./argocd app wait deps-rs --grpc-web
|
||||
|
|
1156
Cargo.lock
generated
1156
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
20
Cargo.toml
20
Cargo.toml
|
@ -1,21 +1,22 @@
|
|||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
".",
|
||||
"./libs/badge",
|
||||
]
|
||||
|
||||
[package]
|
||||
name = "shiny-robots"
|
||||
version = "0.1.0"
|
||||
authors = ["Sam Rijs <srijs@airpost.net>"]
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
".",
|
||||
"./libs/badge",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
badge = { path = "./libs/badge" }
|
||||
|
||||
anyhow = "1"
|
||||
cadence = "1"
|
||||
crates-index = { version = "2", default-features = false, features = ["git-https"] }
|
||||
crates-index = { version = "2", default-features = false, features = ["git"] }
|
||||
derive_more = "0.99"
|
||||
font-awesome-as-a-crate = "0.3"
|
||||
futures-util = { version = "0.3", default-features = false, features = ["std"] }
|
||||
|
@ -24,7 +25,7 @@ indexmap = { version = "2", features = ["serde"] }
|
|||
lru_time_cache = "0.11"
|
||||
maud = "0.26"
|
||||
once_cell = "1"
|
||||
pulldown-cmark = "0.10"
|
||||
pulldown-cmark = "0.11"
|
||||
relative-path = { version = "1", features = ["serde"] }
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
route-recognizer = "0.3"
|
||||
|
@ -38,6 +39,9 @@ slog-term = "2"
|
|||
tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "sync", "time"] }
|
||||
toml = "0.8"
|
||||
|
||||
[target.'cfg(any())'.dependencies]
|
||||
gix = { version = "0.63", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls"] }
|
||||
|
||||
[build-dependencies]
|
||||
grass = { version = "0.13", default-features = false }
|
||||
sha-1 = "0.10"
|
||||
|
|
Loading…
Reference in a new issue