File: run

package info (click to toggle)
ruby-otr-activerecord 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: ruby: 561; sh: 133; makefile: 6
file content (18 lines) | stat: -rwxr-xr-x 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

#
# Use: bin/run service cmd [arg1...]
#

set -euo pipefail

cd $(dirname $0)/../
source bin/lib.sh

service=$1
shift


podpose build $service
podpose up --no-start $service
podpose run --rm $service "$@"