Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
micah
platform
Commits
464da0db
There was a problem fetching the pipeline summary.
Verified
Commit
464da0db
authored
7 years ago
by
Varac
Browse files
Options
Downloads
Patches
Plain Diff
CI: Run leap info,allow pre-migration test to fail
parent
1653a99d
Branches
improve_debug_info
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/platform-ci/ci-build.sh
+12
-4
12 additions, 4 deletions
tests/platform-ci/ci-build.sh
with
12 additions
and
4 deletions
tests/platform-ci/ci-build.sh
+
12
−
4
View file @
464da0db
...
...
@@ -66,6 +66,11 @@ deploy() {
LEAP_CMD deploy
"
$TAG
"
}
leap_info
()
{
echo
"Running leap info on
$TAG
"
LEAP_CMD info
"
${
TAG
}
"
}
test
()
{
LEAP_CMD
test
"
$TAG
"
}
...
...
@@ -149,8 +154,6 @@ build_from_scratch() {
echo
"Running leap node init on TAG:
$TAG
"
LEAP_CMD node init
"
$TAG
"
echo
"Running leap info on
$TAG
"
LEAP_CMD info
"
${
TAG
}
"
}
run
()
{
...
...
@@ -235,6 +238,7 @@ upgrade_test() {
LEAP_CMD
--version
build_from_scratch
'couchdb,soledad,mx,webapp,tor,monitor'
deploy
leap_info
test
# Checkout HEAD of current branch and re-deploy
...
...
@@ -258,11 +262,14 @@ upgrade_test() {
deploy
# pre-migration test
test
# allowed to fail because when a migration is needed, soledad-server refuses to start
test
||
/bin/true
# check for soledad migration, and run it if necessary
soledad_migration
leap_info
# run the test again, this should succeed
test
...
...
@@ -305,6 +312,7 @@ case "$CI_JOB_NAME" in
deploy_test
*
)
build_from_scratch
deploy
leap_info
test
cleanup
;;
...
...
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