Samagra-Development / WarpSQL

WarpSQL
https://samagra-development.github.io/WarpSQL/
Apache License 2.0
15 stars 30 forks source link

Fix CI #58

Closed ChakshuGautam closed 1 year ago

ChakshuGautam commented 1 year ago
Cloning into 'zombodb'...
Error: 
   0: `pgrx-0.9.3` shouldn't be used with `cargo-pgrx-0.8.3`, please use `pgrx = "~0.8.3"` in your `Cargo.toml`.

Location:
   /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgrx-0.8.3/src/metadata.rs:42

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ SPANTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

   0: cargo_pgrx::metadata::validate
      at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgrx-0.8.3/src/metadata.rs:27
   1: cargo_pgrx::command::install::execute
      at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-pgrx-0.8.3/src/command/install.rs:51

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
The command '/bin/sh -c apk add --no-cache --virtual .zombodb-build-deps     git    curl    bash    ruby-dev    ruby-etc    musl-dev    make    gcc     coreutils   util-linux-dev  musl-dev    openssl-dev     clang15     tar     && gem install --no-document fpm     && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | bash -s -- -y     && PATH=$HOME/.cargo/bin:$PATH     && cargo install cargo-pgrx --version 0.8.3     && cargo pgrx init --${PG_VER}=$(which pg_config)     && git clone https://github.com/zombodb/zombodb.git     && cd ./zombodb     && cargo pgrx install --release     && cd ..     && rm -rf ./zombodb     && apk del .zombodb-build-deps' returned a non-zero code: 1
make: *** [Makefile:62: .build_main_pg15] Error 1

Error: Process completed with exit code 2.

This CI

prady0t commented 1 year ago

Hey @ChakshuGautam please assign me this issue. I would love to work here 😊

jayanth-kumar-morem commented 1 year ago

Hi @prady0t, just to give you a heads up, the zombodb had a release 2 days back.

  1. One of the updates in the release is Upgrade to pgrx 0.9.3 by,
  2. So, you need to look into this line of code in specific cargo install cargo-pgrx --version 0.8.3 in the WarpSQL Dockerfile's for normal and bitnami.

Hope this helps.

prady0t commented 1 year ago

That's really helpful 😇.

Bigguysahaj commented 1 year ago

Can I work on this simultaneously, if that's fine with both of you? @prady0t @ChakshuGautam