Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Open Source Software
Zipr Backend
Commits
3680f687
Commit
3680f687
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
updated to try to set build results as a gitlab -artifact-
parent
f72547fc
No related branches found
No related tags found
No related merge requests found
Pipeline
#171
failed
6 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
cicd_tests/do-build.sh
+25
-15
25 additions, 15 deletions
cicd_tests/do-build.sh
with
29 additions
and
15 deletions
.gitlab-ci.yml
+
4
−
0
View file @
3680f687
...
@@ -16,6 +16,10 @@ after_script:
...
@@ -16,6 +16,10 @@ after_script:
stage
:
build
stage
:
build
script
:
script
:
-
./cicd_tests/do-build.sh
-
./cicd_tests/do-build.sh
artifacts
:
paths
:
-
"
./ps-install-*"
# per os items
# per os items
do-build-ubuntu18
:
do-build-ubuntu18
:
...
...
This diff is collapsed.
Click to expand it.
cicd_tests/do-build.sh
+
25
−
15
View file @
3680f687
...
@@ -3,23 +3,33 @@
...
@@ -3,23 +3,33 @@
set
-e
set
-e
set
-x
set
-x
# gather info for debugging later, probably not necessary
main
()
pwd
{
hostname
whoami
env
|grep CICD
# puts peasoup_umbrella (and all submodules) in CICD_MODULE_WORK_DIR
# gather info for debugging later, probably not necessary
cicd_setup_module_dependency allnp/peasoup_umbrella.git
pwd
hostname
whoami
env
|grep CICD
local
orig_dir
=
$(
pwd
)
# puts
the version of zipr to test in peasoup_umbrella/zipr.
# puts
peasoup_umbrella (and all submodules) in CICD_MODULE_WORK_DIR
cicd_
put
_module_
in_tree
peasoup_umbrella
/zipr
cicd_
setup
_module_
dependency allnp/
peasoup_umbrella
.git
# Build/run $PSZ, test result
cd
$CICD_MODULE_WORK_DIR
/peasoup_umbrella
source
set_env_vars
sudo
./get-peasoup-packages.sh all
./build-all.sh
dropdb
$PGDATABASE
2>/dev/null
||
true
;
./postgres_setup.sh
# puts the version of zipr to test in peasoup_umbrella/zipr.
cicd_put_module_in_tree peasoup_umbrella/zipr
# Build/run $PSZ, test result
cd
$CICD_MODULE_WORK_DIR
/peasoup_umbrella
source
set_env_vars
sudo
./get-peasoup-packages.sh all
./build-all.sh
dropdb
$PGDATABASE
2>/dev/null
||
true
;
./postgres_setup.sh
cd
$orig_dir
cp
$CICD_MODULE_WORK_DIR
/install ps-install-
$OS
}
main
"
$@
"
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