We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f25b8ec commit 4e2c59bCopy full SHA for 4e2c59b
bin/common.sh
@@ -5,6 +5,8 @@ set -eu
5
DOMAIN="compiler.la"
6
# Compiler's archive account
7
ARCHIVE="archive@$DOMAIN"
8
+# Compiler groups
9
+TEAM="team@$DOMAIN"
10
11
# prints a simple timestamp HH:mm:ss
12
ts () {
bin/create.sh
@@ -38,7 +38,6 @@ if user_exists $ACCOUNT; then
38
exit 1
39
else
40
echo_ts "Account $ACCOUNT does not exist, continuing..."
41
-
42
fi
43
44
# Account creation
@@ -47,4 +46,8 @@ echo_ts "Creating account..."
47
46
48
gam create user $ACCOUNT "$@"
49
+echo_ts "Adding to $TEAM group..."
50
+
51
+gam user $ACCOUNT add groups member $TEAM
52
53
echo_ts "$ACCOUNT has been created"
0 commit comments