Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Энвер Шукуров
DevOps2022
Commits
1c079d28
Commit
1c079d28
authored
2 years ago
by
Энвер Шукуров
Browse files
Options
Download
Patches
Plain Diff
change to docker runner
parent
32dc4f2c
develop
feature
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
.gitlab-ci.yml
with
4 additions
and
4 deletions
+4
-4
.gitlab-ci.yml
+
4
−
4
View file @
1c079d28
...
@@ -33,7 +33,7 @@ workflow:
...
@@ -33,7 +33,7 @@ workflow:
build-application
:
# This job runs in the build stage, which runs first.
build-application
:
# This job runs in the build stage, which runs first.
stage
:
build
stage
:
build
tags
:
tags
:
-
shell-runn
er
-
dock
er
script
:
script
:
-
echo "Compiling the code..."
-
echo "Compiling the code..."
-
echo "Compile complete."
-
echo "Compile complete."
...
@@ -41,7 +41,7 @@ build-application: # This job runs in the build stage, which runs first.
...
@@ -41,7 +41,7 @@ build-application: # This job runs in the build stage, which runs first.
unit-test-job
:
# This job runs in the test stage.
unit-test-job
:
# This job runs in the test stage.
stage
:
testing
stage
:
testing
tags
:
tags
:
-
shell-runn
er
# It only starts when the job in the build stage completes successfully.
-
dock
er
# It only starts when the job in the build stage completes successfully.
script
:
script
:
-
echo "Running unit tests... This will take about 60 seconds."
-
echo "Running unit tests... This will take about 60 seconds."
-
echo "Code coverage is 90%"
-
echo "Code coverage is 90%"
...
@@ -52,7 +52,7 @@ lint-test-job: # This job also runs in the test stage.
...
@@ -52,7 +52,7 @@ lint-test-job: # This job also runs in the test stage.
-
master
-
master
-
develop
-
develop
tags
:
tags
:
-
shell-runn
er
-
dock
er
script
:
script
:
-
echo "Linting code... This will take about 10 seconds."
-
echo "Linting code... This will take about 10 seconds."
-
echo "No lint issues found."
-
echo "No lint issues found."
...
@@ -67,7 +67,7 @@ packaging:
...
@@ -67,7 +67,7 @@ packaging:
-
shell-runner
-
shell-runner
script
:
script
:
-
echo "Packaging ms-cat... Take approx. 5 seconds."
-
echo "Packaging ms-cat... Take approx. 5 seconds."
-
docker build --tag
$TAG
ms-cat/
-
docker build --tag
cat
ms-cat/
-
docker push pieland/ms-child:$TAG
-
docker push pieland/ms-child:$TAG
-
echo "Packing ms-cat done."
-
echo "Packing ms-cat done."
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets