Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monocle
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
Show more breadcrumbs
Brian Parks
monocle
Merge requests
!1
Add creation of a docker image
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add creation of a docker image
dev/bparks/ci-linux-docker-image
into
master
Overview
0
Commits
12
Pipelines
10
Changes
3
Merged
Brian Parks
requested to merge
dev/bparks/ci-linux-docker-image
into
master
6 years ago
Overview
0
Commits
12
Pipelines
10
Changes
3
Expand
Includes
#1
Edited
6 years ago
by
Brian Parks
0
0
Merge request reports
Compare
master
version 9
73e99805
6 years ago
version 8
b4543103
6 years ago
version 7
2305176f
6 years ago
version 6
ab13275f
6 years ago
version 5
2a5c139d
6 years ago
version 4
e2313cd3
6 years ago
version 3
b485bafc
6 years ago
version 2
e597a80f
6 years ago
version 1
647311cc
6 years ago
master (base)
and
latest version
latest version
b6ba670d
12 commits,
6 years ago
version 9
73e99805
10 commits,
6 years ago
version 8
b4543103
9 commits,
6 years ago
version 7
2305176f
8 commits,
6 years ago
version 6
ab13275f
6 commits,
6 years ago
version 5
2a5c139d
5 commits,
6 years ago
version 4
e2313cd3
4 commits,
6 years ago
version 3
b485bafc
3 commits,
6 years ago
version 2
e597a80f
2 commits,
6 years ago
version 1
647311cc
1 commit,
6 years ago
3 files
+
48
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
37
−
0
Options
@@ -3,6 +3,8 @@ image : mono:latest
stages
:
-
build
-
test
-
package
-
clean
build
:
stage
:
build
@@ -28,3 +30,38 @@ test:
-
mono $(ls -d *NUnit.ConsoleRunner.*/)tools/nunit3-console.exe Monocle.Web.Tests/bin/Debug/Monocle.Web.Tests.dll
dependencies
:
-
build
only
:
-
master
-
/^dev\/.*$/
-
tags
package:docker-linux
:
stage
:
package
tags
:
-
dockerizer
before_script
:
-
mkdir _stage
-
cp -r Monocle.Web/* _stage/
-
cp Dockerfile _stage/
script
:
-
docker build -t monocle:${CI_COMMIT_REF_NAME//\//_} _stage/
#- docker save -o docker-image.tar monocle:${CI_COMMIT_REF_NAME//\//_}
#- gzip docker-image.tar
after_script
:
-
rm -rf _stage
#artifacts:
# paths:
# - docker-image.tar.gz
# expire_in: 2 weeks
only
:
-
master
-
/^dev\/.*$/
-
tags
clean:docker-linux
:
stage
:
clean
tags
:
-
dockerizer
script
:
-
docker rmi monocle:${CI_COMMIT_REF_NAME//\//_}
when
:
manual
\ No newline at end of file
Loading