Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
c610d647
Verified
Commit
c610d647
authored
3 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
More debug messages in integration tests
parent
19d443b6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci_tests/_tests_common.sh
+11
-6
11 additions, 6 deletions
ci_tests/_tests_common.sh
helpers/helm_base.yaml
+0
-1
0 additions, 1 deletion
helpers/helm_base.yaml
with
11 additions
and
7 deletions
ci_tests/_tests_common.sh
+
11
−
6
View file @
c610d647
...
@@ -180,13 +180,18 @@ run_mapserver_postgres_checks() {
...
@@ -180,13 +180,18 @@ run_mapserver_postgres_checks() {
fi
fi
all_times
=
$(
run_remote_curl_pod
"
${
MAPSERVER_RELEASE_NAME
}
3"
"http://
${
MAPSERVER_RELEASE_NAME
}
.
${
ns
}
/wms_times/g16/abi/radm1/C01?order=DESC"
)
all_times
=
$(
run_remote_curl_pod
"
${
MAPSERVER_RELEASE_NAME
}
3"
"http://
${
MAPSERVER_RELEASE_NAME
}
.
${
ns
}
/wms_times/g16/abi/radm1/C01?order=DESC"
)
echo
"All times:
${
all_times
}
"
debug
"All times:
${
all_times
}
"
one_time
=
$(
run_remote_curl_pod
"
${
MAPSERVER_RELEASE_NAME
}
4"
"http://
${
MAPSERVER_RELEASE_NAME
}
.
${
ns
}
/wms_times/g16/abi/radm1/C01?order=ASC&num_times=1"
|
wc
-m
)
debug
"All times size:
$(
echo
-n
$all_times
|
wc
-m
)
"
two_time
=
$(
run_remote_curl_pod
"
${
MAPSERVER_RELEASE_NAME
}
5"
"http://
${
MAPSERVER_RELEASE_NAME
}
.
${
ns
}
/wms_times/g16/abi/radm1/C01?order=ASC&num_times=2"
|
wc
-m
)
one_time
=
$(
run_remote_curl_pod
"
${
MAPSERVER_RELEASE_NAME
}
4"
"http://
${
MAPSERVER_RELEASE_NAME
}
.
${
ns
}
/wms_times/g16/abi/radm1/C01?order=ASC&num_times=1"
)
debug
"MapServer one time size:
${
one_time
}
"
two_time
=
$(
run_remote_curl_pod
"
${
MAPSERVER_RELEASE_NAME
}
5"
"http://
${
MAPSERVER_RELEASE_NAME
}
.
${
ns
}
/wms_times/g16/abi/radm1/C01?order=ASC&num_times=2"
)
debug
"MapServer two time size:
${
two_time
}
"
one_time_size
=
$(
echo
-n
$one_time
|
wc
-m
)
two_time_size
=
$(
echo
-n
$two_time
|
wc
-m
)
debug
"Mapserver one time value:
\"
${
one_time
}
\"
"
debug
"Mapserver two time value:
\"
${
two_time
}
\"
"
debug
"MapServer one time size:
${
one_time_size
}
"
debug
"MapServer two time size:
${
two_time_size
}
"
# ["2020-12-25T15:29:25"] + newline(?)
# ["2020-12-25T15:29:25"] + newline(?)
if
[[
${
one_time
}
-ne
24
]]
;
then
if
[[
${
one_time
_size
}
-ne
24
]]
;
then
return
1
return
1
fi
fi
# ["2020-12-25T15:29:25", "2020-12-25T15:30:28"]
# ["2020-12-25T15:29:25", "2020-12-25T15:30:28"]
...
...
This diff is collapsed.
Click to expand it.
helpers/helm_base.yaml
+
0
−
1
View file @
c610d647
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
-
echo "export KUBECONFIG=\"$kubekorner_k3s_config\"" >> $ENV_FILE
-
echo "export KUBECONFIG=\"$kubekorner_k3s_config\"" >> $ENV_FILE
-
echo "export HELM_EXPERIMENTAL_OCI=\"1\"" >> $ENV_FILE
-
echo "export HELM_EXPERIMENTAL_OCI=\"1\"" >> $ENV_FILE
-
source $ENV_FILE
-
source $ENV_FILE
-
ls -l /google-cloud-sdk/bin/kubectl*
-
docker info
-
docker info
-
docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
-
docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
-
if [[ $CI_COMMIT_TAG =~ ^gamma-test-r[0-9]+_[0-9]+ ]]; then
-
if [[ $CI_COMMIT_TAG =~ ^gamma-test-r[0-9]+_[0-9]+ ]]; then
...
...
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