Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deployer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
deployer
Commits
69f4122c
Commit
69f4122c
authored
Oct 05, 2023
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the expected username
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
e0f0ae5f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cron.sh
cron.sh
+2
-2
utils/include.sh
utils/include.sh
+2
-2
No files found.
cron.sh
View file @
69f4122c
...
@@ -5,8 +5,8 @@ set -euo pipefail
...
@@ -5,8 +5,8 @@ set -euo pipefail
base
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
base
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
# Allow this script to be run only by ubuntu-it
# Allow this script to be run only by ubuntu-it
if
[[
"
$(
whoami
)
"
!=
"ubuntu-it"
]]
;
then
if
[[
"
$(
whoami
)
"
!=
"ubuntu-it
-web
"
]]
;
then
echo
"Error: this script must be executed by the ubuntu-it user"
echo
"Error: this script must be executed by the ubuntu-it
-web
user"
exit
1
exit
1
fi
fi
...
...
utils/include.sh
View file @
69f4122c
...
@@ -8,8 +8,8 @@ set -euo pipefail
...
@@ -8,8 +8,8 @@ set -euo pipefail
IFS
=
$'
\n\t
'
IFS
=
$'
\n\t
'
# Allow this script to be run only by ubuntu-it
# Allow this script to be run only by ubuntu-it
if
[[
"
$(
whoami
)
"
!=
"ubuntu-it"
]]
;
then
if
[[
"
$(
whoami
)
"
!=
"ubuntu-it
-web
"
]]
;
then
echo
"Error: this script must be executed by the ubuntu-it user"
echo
"Error: this script must be executed by the ubuntu-it
-web
user"
exit
1
exit
1
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment