diff --git a/.circleci/config.yml b/.circleci/config.yml index fa63f07..8bad829 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: build_musl_and_test_ssl: docker: - - image: cimg/rust:1.83-node + - image: cimg/rust:1.90-node - image: cimg/postgres:17.1 environment: POSTGRES_USER: sql @@ -29,7 +29,7 @@ jobs: run_integration_and_smoke_tests: docker: - - image: cimg/rust:1.83-node + - image: cimg/rust:1.90-node environment: TEST_DATABASE_URL: postgresql://sql:sql@localhost/sql - image: cimg/postgres:17.1 @@ -73,7 +73,8 @@ jobs: - run: curl --fail -X POST http://localhost:8080/png --data-binary @result.puml -o test.png # Mermaid - - run: npm install -g @mermaid-js/mermaid-cli + - run: sudo npm install -g @mermaid-js/mermaid-cli + - run: sudo npx --yes puppeteer browsers install chrome-headless-shell - run: sudo apt install chromium-bsu libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libxcomposite1 libxdamage1 - run: ./target/release/sqlant $TEST_DATABASE_URL -o mermaid > input.mmd diff --git a/Dockerfile b/Dockerfile index 0b52f90..100c835 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder -FROM rust:1.83 AS builder +FROM rust:1.90 AS builder COPY . /app WORKDIR /app RUN apt update && apt install musl-tools -y