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
47a98f74
Commit
47a98f74
authored
2 years ago
by
Энвер Шукуров
Browse files
Options
Download
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
67e578eb
master
No related merge requests found
Pipeline
#73550
passed with stage
in 2 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-27
.gitlab-ci.yml
with
27 additions
and
27 deletions
+27
-27
.gitlab-ci.yml
+
27
−
27
View file @
47a98f74
image
:
docker:latest
image
:
docker:latest
services
:
services
:
#
- gradle:jdk17
-
gradle:jdk17
-
docker:dind
#
- docker:dind
stages
:
stages
:
-
build
-
build
-
testing
-
testing
-
packaging
-
packaging
build-application
:
#
build-application:
stage
:
build
#
stage: build
tags
:
#
tags:
-
docker
#
- docker
script
:
#
script:
-
echo "Compiling the code..."
#
- echo "Compiling the code..."
-
echo "Compile complete."
#
- echo "Compile complete."
lint-test-job
:
#
lint-test-job:
stage
:
testing
#
stage: testing
tags
:
#
tags:
-
docker
#
- docker
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."
unit-test-job
:
#
unit-test-job:
stage
:
testing
#
stage: testing
only
:
#
only:
-
master
#
- master
-
develop
#
- develop
-
merge_requests
#
- merge_requests
tags
:
#
tags:
-
docker
#
- docker
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%"
packaging
:
packaging
:
stage
:
packaging
stage
:
packaging
...
...
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