Skip to content

Commit

Permalink
Improve project structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Mar 17, 2021
1 parent dfeee09 commit 8cf4c34
Show file tree
Hide file tree
Showing 86 changed files with 803 additions and 798 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,22 @@ jobs:
exec: |
helm uninstall -n graphgate graphgate
helm upgrade --create-namespace -i -n graphgate graphgate examples/helm
standalone-demo-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push ${{ matrix.package.name }}
uses: docker/build-push-action@v2
with:
push: true
context: .
file: Dockerfile-standalone-demo
tags: scott829/graphgate-standalone-demo:latest
143 changes: 65 additions & 78 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 14 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,31 @@ authors = ["Sunli <[email protected]>"]
edition = "2018"

[dependencies]
graphgate-core = { version = "0.3.0", path = "./crates/core" }
graphgate-handler = { version = "0.3.1", path = "./crates/handler" }

parser = { version = "2.5.9", package = "async-graphql-parser" }
value = { version = "2.5.9", package = "async-graphql-value" }
tokio = { version = "1.3.0", features = ["rt-multi-thread", "time", "macros", "sync"] }
warp = { version = "0.3.0", features = ["compression"] }
toml = "0.5.8"
serde = { version = "1.0.124", features = ["derive"] }
anyhow = "1.0.38"
futures-util = "0.3.13"
tracing = "0.1.25"
tracing-subscriber = "0.2.17"
serde_json = "1.0.64"
structopt = "0.3.21"
kube = { version = "0.51.0", features = ["derive", "native-tls"], default-features = false }
k8s-openapi = { version = "0.11.0", features = ["v1_19"], default-features = false }
schemars = { version = "0.8.0", features = ["chrono"] }
serde_yaml = "0.8.17"
tokio = { version = "1.3.0", features = ["rt-multi-thread", "time", "macros", "sync", "signal"] }
warp = { version = "0.3.0", features = ["compression"] }
toml = "0.5.8"
tracing = "0.1.25"
tracing-subscriber = "0.2.17"
futures-util = "0.3.13"

[dev-dependencies]
async-graphql = { version = "2.5.13", default-features = false }
async-graphql-warp = "2.5.13"
async-graphql = { version = "2.5.14", default-features = false }
async-graphql-warp = "2.5.14"
fastrand = "1.4.0"
async-stream = "0.3.0"
futures-util = "0.3.13"

[workspace]
members = [
"crates/core",
"crates/schema",
"crates/planner",
"crates/validation",
"crates/handler",
]
Loading

0 comments on commit 8cf4c34

Please sign in to comment.