Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
minerva
core
Commits
623bb8ae
There was a problem fetching the pipeline mini graph.
Commit
623bb8ae
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
tests of ci rpm build
parent
1c9e59e5
No related branches found
No related tags found
1 merge request
!371
Rpm build ci script added
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+31
-2
31 additions, 2 deletions
.gitlab-ci.yml
with
31 additions
and
2 deletions
.gitlab-ci.yml
+
31
−
2
View file @
623bb8ae
...
...
@@ -14,8 +14,10 @@ test_frontend:
build_war
:
image
:
debian
stage
:
build
only
:
-
tags
# only:
# - tags
tags
:
-
privileged
artifacts
:
paths
:
-
minerva.war
...
...
@@ -84,4 +86,31 @@ test_install_debian_package:
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null --cookie cookie.txt http://localhost:8080/minerva/api/projects/)
build_rpm
:
image
:
centos:7
stage
:
build
dependencies
:
-
build_war
# only:
# - tags
tags
:
-
privileged
artifacts
:
paths
:
-
"
rpm/rpmbuildtemp/RPMS/noarch/minerva-*.rpm"
script
:
-
yum -y install rpmdevtools unzip
-
rpm/buildrpm.sh minerva.war
rpmlint
:
image
:
centos:7
stage
:
test
dependencies
:
-
build_rpm
tags
:
-
privileged
# only:
# - tags
script
:
-
yum -y install rpmlint
-
rpmlint rpm/rpmbuildtemp/RPMS/noarch/minerva-*.rpm
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