forked from pulp/pulp_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutils.sh
More file actions
executable file
·30 lines (24 loc) · 728 Bytes
/
Copy pathutils.sh
File metadata and controls
executable file
·30 lines (24 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is meant to be sourced by ci-scripts
# WARNING: DO NOT EDIT!
#
# This file was generated by plugin_template, and is managed by it. Please use
# './plugin-template --github pulp_python' to update this file.
#
# For more info visit https://github.com/pulp/plugin_template
PULP_CI_CONTAINER=pulp
# Run a command
cmd_prefix() {
docker exec "$PULP_CI_CONTAINER" "$@"
}
# Run a command as the limited pulp user
cmd_user_prefix() {
docker exec -u pulp "$PULP_CI_CONTAINER" "$@"
}
# Run a command, and pass STDIN
cmd_stdin_prefix() {
docker exec -i "$PULP_CI_CONTAINER" "$@"
}
# Run a command as the lmited pulp user, and pass STDIN
cmd_user_stdin_prefix() {
docker exec -i -u pulp "$PULP_CI_CONTAINER" "$@"
}