Compare commits

..

No commits in common. "01532225428ac5aed5cec2abb394c225b8f72d54" and "658f353c23df434eed0fa84e5a2d7be9eaf8ac16" have entirely different histories.

3 changed files with 846 additions and 350 deletions

View file

@ -31,3 +31,19 @@ jobs:
ghcr.io/${{ github.repository }}:latest ghcr.io/${{ github.repository }}:latest
outputs: outputs:
digest: ${{ steps.docker_push.outputs.digest }} 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

1160
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,22 +1,21 @@
[workspace]
resolver = "2"
members = [
".",
"./libs/badge",
]
[package] [package]
name = "shiny-robots" name = "shiny-robots"
version = "0.1.0" version = "0.1.0"
authors = ["Sam Rijs <srijs@airpost.net>"] authors = ["Sam Rijs <srijs@airpost.net>"]
edition = "2021" edition = "2021"
[workspace]
members = [
".",
"./libs/badge",
]
[dependencies] [dependencies]
badge = { path = "./libs/badge" } badge = { path = "./libs/badge" }
anyhow = "1" anyhow = "1"
cadence = "1" cadence = "1"
crates-index = { version = "2", default-features = false, features = ["git"] } crates-index = { version = "2", default-features = false, features = ["git-https"] }
derive_more = "0.99" derive_more = "0.99"
font-awesome-as-a-crate = "0.3" font-awesome-as-a-crate = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std"] } futures-util = { version = "0.3", default-features = false, features = ["std"] }
@ -25,7 +24,7 @@ indexmap = { version = "2", features = ["serde"] }
lru_time_cache = "0.11" lru_time_cache = "0.11"
maud = "0.26" maud = "0.26"
once_cell = "1" once_cell = "1"
pulldown-cmark = "0.11" pulldown-cmark = "0.10"
relative-path = { version = "1", features = ["serde"] } relative-path = { version = "1", features = ["serde"] }
reqwest = { version = "0.12", features = ["json"] } reqwest = { version = "0.12", features = ["json"] }
route-recognizer = "0.3" route-recognizer = "0.3"
@ -39,9 +38,6 @@ slog-term = "2"
tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "sync", "time"] } tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "sync", "time"] }
toml = "0.8" toml = "0.8"
[target.'cfg(any())'.dependencies]
gix = { version = "0.63", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls"] }
[build-dependencies] [build-dependencies]
grass = { version = "0.13", default-features = false } grass = { version = "0.13", default-features = false }
sha-1 = "0.10" sha-1 = "0.10"