push
This commit is contained in:
parent
a901d237aa
commit
eca9884b40
@ -6,6 +6,7 @@ variables:
|
||||
before_script:
|
||||
- rustup target add $CARGO_TARGET
|
||||
- apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools
|
||||
- apt update && apt install -y sqlite3 && ./test_db.sh
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@ -20,8 +21,6 @@ test:
|
||||
stage: test
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt update && apt install -y sqlite3 && ./test_db.sh
|
||||
- cargo build --verbose
|
||||
- cargo test --verbose
|
||||
|
||||
deploy:
|
||||
|
16
rotstaging.service
Normal file
16
rotstaging.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Rot Staging
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/home/k004373/rowing-staging
|
||||
Environment="ROCKET_ENV=prod"
|
||||
Environment="ROCKET_ADDRESS=127.0.0.1"
|
||||
Environment="ROCKET_PORT=7999"
|
||||
Environment="ROCKET_LOG=info"
|
||||
ExecStart=./rot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user