Skip to content

Commit

Permalink
Remove the Introspection Engine binary (prisma#3791)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn authored Mar 21, 2023
1 parent 632e3ed commit ec11818
Show file tree
Hide file tree
Showing 24 changed files with 101 additions and 578 deletions.
2 changes: 1 addition & 1 deletion .buildkite/engineer
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
if ! type "engineer" > /dev/null; then
# Setup Prisma engine build & test tool (engineer).
set -e
curl --fail -sSL "https://prisma-engineer.s3-eu-west-1.amazonaws.com/1.49/latest/$OS/engineer.gz" --output engineer.gz
curl --fail -sSL "https://prisma-engineer.s3-eu-west-1.amazonaws.com/1.50/latest/$OS/engineer.gz" --output engineer.gz
gzip -d engineer.gz
chmod +x engineer

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-apple-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ jobs:
key: ${{ runner.os }}-intel-cargo-${{ hashFiles('**/Cargo.lock') }}

- run: |
cargo build --release -p query-engine -p query-engine-node-api -p migration-engine-cli -p introspection-core -p prisma-fmt
cargo build --release -p query-engine -p query-engine-node-api -p migration-engine-cli -p prisma-fmt
- uses: actions/upload-artifact@v3
with:
name: binaries
path: |
${{ github.workspace }}/target/release/introspection-engine
${{ github.workspace }}/target/release/migration-engine
${{ github.workspace }}/target/release/prisma-fmt
${{ github.workspace }}/target/release/query-engine
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-apple-silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ jobs:
- run: xcodebuild -showsdks

- run: |
cargo build --target=aarch64-apple-darwin --release -p query-engine -p query-engine-node-api -p migration-engine-cli -p introspection-core -p prisma-fmt
cargo build --target=aarch64-apple-darwin --release -p query-engine -p query-engine-node-api -p migration-engine-cli -p prisma-fmt
- uses: actions/upload-artifact@v3
with:
name: binaries
path: |
${{ github.workspace }}/target/aarch64-apple-darwin/release/introspection-engine
${{ github.workspace }}/target/aarch64-apple-darwin/release/migration-engine
${{ github.workspace }}/target/aarch64-apple-darwin/release/prisma-fmt
${{ github.workspace }}/target/aarch64-apple-darwin/release/query-engine
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
toolchain: stable
default: true

- run: "cargo clean && cargo build --release -p introspection-core"
name: "Compile Introspection Engine"

- run: "cargo clean && cargo build --release -p migration-engine-cli"
name: "Compile Migration Engine"

Expand Down
44 changes: 0 additions & 44 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
resolver = "2"
members = [
"introspection-engine/connectors/*",
"introspection-engine/core",
"introspection-engine/datamodel-renderer",
"introspection-engine/introspection-engine-tests",
"migration-engine/cli",
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ and test them.
This repository contains four engines:

- *Query engine*, used by the client to run database queries from Prisma Client
- *Migration engine*, used to create and run migrations
- *Introspection engine*, used to get the state of the database, compare it
to the schema file, and figure out what the differences are
- *Migration engine*, used to create and run migrations and introspection
- *Prisma Format*, used to format prisma files

Additionally, the *psl* (Prisma Schema Language) is the library that defines how
Expand Down
31 changes: 0 additions & 31 deletions introspection-engine/core/Cargo.toml

This file was deleted.

11 changes: 0 additions & 11 deletions introspection-engine/core/build.rs

This file was deleted.

53 changes: 0 additions & 53 deletions introspection-engine/core/src/error.rs

This file was deleted.

49 changes: 0 additions & 49 deletions introspection-engine/core/src/error_rendering.rs

This file was deleted.

7 changes: 0 additions & 7 deletions introspection-engine/core/src/lib.rs

This file was deleted.

38 changes: 0 additions & 38 deletions introspection-engine/core/src/main.rs

This file was deleted.

Loading

0 comments on commit ec11818

Please sign in to comment.