Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server-monitor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
server-monitor
Commits
fbb36a57
There was a problem fetching the pipeline stages.
Verified
Commit
fbb36a57
authored
5 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
bug fix
parent
32c7c30b
No related branches found
No related tags found
No related merge requests found
Pipeline
#724
failed with stage
in 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
datafile_gen_daemon_conf.py
+1
-0
1 addition, 0 deletions
datafile_gen_daemon_conf.py
do.bash
+5
-1
5 additions, 1 deletion
do.bash
with
6 additions
and
1 deletion
datafile_gen_daemon_conf.py
+
1
−
0
View file @
fbb36a57
...
@@ -18,6 +18,7 @@ tests = [
...
@@ -18,6 +18,7 @@ tests = [
(
'
./do.bash ddns-wuhan
'
,
'
DDNS WuHan
'
),
(
'
./do.bash ddns-wuhan
'
,
'
DDNS WuHan
'
),
(
'
./do.bash ddns-us
'
,
'
DDNS USA
'
),
(
'
./do.bash ddns-us
'
,
'
DDNS USA
'
),
(
'
./do.bash dl
'
,
'
Download Site
'
),
(
'
./do.bash dl
'
,
'
Download Site
'
),
(
'
./do.bash shortlink
'
,
'
Short Link
'
),
]
]
test_interval
=
20
*
60
# 20min
test_interval
=
20
*
60
# 20min
...
...
This diff is collapsed.
Click to expand it.
do.bash
+
5
−
1
View file @
fbb36a57
#!/bin/bash
#!/bin/bash
[[
$1
==
''
]]
&&
echo
-e
'Usage: '
"
$0
<operation> ...
\n
operation := rproxy | drive | ss-tw | ss-us1 | ss-us5 | ss-us6 | ovpn-tw | www | mail | tm | git | zhixiang | mc | push-httpdb-agent | ddns-wuhan | ddns-us | dl | all"
&&
exit
1
[[
$1
==
''
]]
&&
echo
-e
'Usage: '
"
$0
<operation> ...
\n
operation := rproxy | drive | ss-tw | ss-us1 | ss-us5 | ss-us6 | ovpn-tw | www | mail | tm | git | zhixiang | mc | push-httpdb-agent | ddns-wuhan | ddns-us | dl |
shortlink |
all"
&&
exit
1
function
confirm_alive
()
{
function
confirm_alive
()
{
local
host
=
"
$1
"
local
host
=
"
$1
"
...
@@ -115,6 +115,9 @@ function do_test () {
...
@@ -115,6 +115,9 @@ function do_test () {
dl
)
dl
)
curl
-s
-L
https://dl.recolic.net/ |
grep
'Home page is not provided for this download site'
||
return
$?
curl
-s
-L
https://dl.recolic.net/ |
grep
'Home page is not provided for this download site'
||
return
$?
;;
;;
shortlink
)
curl
-s
'https://recolic.net/go/index.php'
--data
'target=https%3A%2F%2Fwww.google.com&name=google&super='
|
grep
Success
||
return
$?
;;
esac
esac
...
@@ -137,6 +140,7 @@ if [[ "$1" = all ]]; then
...
@@ -137,6 +140,7 @@ if [[ "$1" = all ]]; then
do_test push-httpdb-agent
&&
do_test push-httpdb-agent
&&
do_test ddns-wuhan
&&
do_test ddns-wuhan
&&
do_test ddns-us
&&
do_test ddns-us
&&
do_test shortlink
&&
do_test dl
do_test dl
exit
$?
exit
$?
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment