Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 85038cd

Browse files
committed
restructure
ok separated config now wip wip wip ok ok ok it's working again ok getting there ok bring back plugins fix graphiql fix graphiql again fix tracing ok ok ok fix clippy, fmt, over-http and ci fix benches fix deps fix docker image fix
1 parent e08399d commit 85038cd

64 files changed

Lines changed: 2044 additions & 2782 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- { rust: 1.72.1, os: ubuntu-22.04 }
19+
- { rust: 1.74.0, os: ubuntu-22.04 }
2020
- { rust: 1.73.0, os: ubuntu-22.04 }
2121
steps:
2222
- name: checkout
@@ -36,9 +36,6 @@ jobs:
3636
- name: test
3737
run: cargo test
3838

39-
- name: clean
40-
run: cargo clean
41-
4239
graphql-over-http:
4340
runs-on: ubuntu-22.04
4441
steps:
@@ -47,7 +44,7 @@ jobs:
4744

4845
- uses: actions-rs/toolchain@v1
4946
with:
50-
toolchain: 1.73.0
47+
toolchain: 1.74.0
5148
override: true
5249

5350
- name: Install Node
@@ -64,7 +61,7 @@ jobs:
6461

6562
- uses: JarvusInnovations/background-action@v1
6663
with:
67-
run: cargo run -- tests/graphql-over-http/config.yaml
64+
run: cargo run --bin conductor -- tests/graphql-over-http/config.yaml
6865
wait-on: http-get://127.0.0.1:9000/graphql
6966
tail: true
7067
wait-for: 5m
@@ -85,15 +82,15 @@ jobs:
8582
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
8683
- uses: actions-rs/toolchain@v1
8784
with:
88-
toolchain: 1.73.0
85+
toolchain: 1.74.0
8986
components: rustfmt, clippy
9087
override: true
9188

9289
- name: generate config json schema
93-
run: cargo test --test generate-config-schema
90+
run: cargo run --bin generate-config-schema
9491

9592
- name: check diff
96-
run: git diff --exit-code ./src/config/conductor.schema.json
93+
run: git diff --exit-code ./crates/config/conductor.schema.json
9794

9895
lint:
9996
runs-on: ubuntu-22.04
@@ -103,7 +100,7 @@ jobs:
103100
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
104101
- uses: actions-rs/toolchain@v1
105102
with:
106-
toolchain: 1.73.0
103+
toolchain: 1.74.0
107104
components: rustfmt, clippy
108105
override: true
109106

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
workdir: .
4747
provenance: false
4848
push: true
49-
files: docker/bake.hcl
49+
files: ./crates/conductor/docker/bake.hcl
5050
targets: build
5151
set: |
5252
*.cache-from=type=gha,scope=build
@@ -101,7 +101,7 @@ jobs:
101101
command: build
102102
target: ${{ matrix.platform.target }}
103103
args: "--locked --release"
104-
strip: true
104+
strip: false
105105

106106
- uses: actions/upload-artifact@v3
107107
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"yaml.schemas": {
3-
"./src/config/conductor.schema.json": "*.yaml"
3+
"./crates/config/conductor.schema.json": "*.yaml"
44
},
55
"rust-analyzer.linkedProjects": ["./Cargo.toml"]
66
}

0 commit comments

Comments
 (0)