Skip to content

Commit

Permalink
Remove db migration test
Browse files Browse the repository at this point in the history
The diesel version is now so old it's throwing Rust warnings, I'll pull
this out of the history when/if I need to use it.

This finaly lets us remove all the postgres related stuff
  • Loading branch information
jkilpatr committed Dec 5, 2024
1 parent e5b5f1d commit b641ccb
Show file tree
Hide file tree
Showing 19 changed files with 3 additions and 930 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,4 @@ jobs:
with:
cache-on-failure: true
- name: Run integration test
run: bash scripts/integration_tests/all-up-test-ci.sh CONTRACT_TEST
integration-test-db-migration:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run integration test
run: bash scripts/integration_tests/all-up-test-ci.sh MIGRATION_TEST
run: bash scripts/integration_tests/all-up-test-ci.sh CONTRACT_TEST
93 changes: 0 additions & 93 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 @@ -15,7 +15,6 @@ members = [
"rita_common",
"rita_exit",
"rita_client",
"rita_db_migration",
"rita_bin",
"test_runner",
"integration_tests",
Expand Down
3 changes: 0 additions & 3 deletions integration_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ rita_client = { path = "../rita_client", features = ["dev_env"] }
rita_common = { path = "../rita_common", features = ["integration_test"] }
rita_exit = { path = "../rita_exit", features = ["dev_env"] }
exit_trust_root = { path = "../exit_trust_root", features = ["development"] }
rita_db_migration = { path = "../rita_db_migration" }
ctrlc = { version = "3.4.5", features = ["termination"] }
diesel = { version = "1.4", features = ["postgres", "r2d2"] }
diesel_migrations = { version = "1.4", features = ["postgres"] }
awc = {workspace = true}
actix-rt = {workspace = true}
deep_space = {workspace = true}
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres
FROM debian:bullseye
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y sudo iputils-ping iproute2 jq vim netcat-traditional default-libmysqlclient-dev libsqlite3-dev libpq-dev python3-pip bridge-utils wireguard linux-source curl git libssl-dev pkg-config build-essential ipset python3-setuptools python3-wheel dh-autoreconf procps net-tools iperf3 babeld make locales-all npm
# Install Rust
Expand Down
176 changes: 0 additions & 176 deletions integration_tests/src/db_migration_test.rs

This file was deleted.

1 change: 0 additions & 1 deletion integration_tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ extern crate log;
use std::time::Duration;

pub mod contract_test;
pub mod db_migration_test;
pub mod debts;
pub mod five_nodes;
pub mod mutli_exit;
Expand Down
Loading

0 comments on commit b641ccb

Please sign in to comment.