mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-26 19:01:09 +00:00
t
This commit is contained in:
parent
64e15aa879
commit
8373055a5a
1 changed files with 2 additions and 4 deletions
|
@ -8,15 +8,13 @@ steps:
|
||||||
LEMMY_DATABASE_URL: postgres://ibis:password@database:5432/ibis
|
LEMMY_DATABASE_URL: postgres://ibis:password@database:5432/ibis
|
||||||
CARGO_HOME: .cargo_home
|
CARGO_HOME: .cargo_home
|
||||||
commands:
|
commands:
|
||||||
- which cargo
|
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install postgresql sudo -y --no-install-recommends --no-install-suggests
|
- apt-get install postgresql sudo -y --no-install-recommends --no-install-suggests
|
||||||
- adduser testuser
|
- adduser testuser
|
||||||
- cp -r /usr/local/cargo/bin .
|
- cp ~/.cargo /home/testuser -r
|
||||||
- chown testuser:testuser . -R
|
- chown testuser:testuser . -R
|
||||||
- pwd
|
- chown testuser:testuser /home/testuser -R
|
||||||
- export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH"
|
- export PATH="/usr/lib/postgresql/15/bin:/usr/local/cargo/bin:$PATH"
|
||||||
- ls -la bin
|
|
||||||
- sudo -u testuser env "PATH=$PATH" env | /bin/grep PATH
|
- sudo -u testuser env "PATH=$PATH" env | /bin/grep PATH
|
||||||
- sudo -u testuser env "PATH=$PATH" cargo test --no-fail-fast
|
- sudo -u testuser env "PATH=$PATH" cargo test --no-fail-fast
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue