Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trying devOps
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
trying devOps
Commits
29f8c22f
Commit
29f8c22f
authored
Jul 21, 2022
by
Syed Bilal Raees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
a074f42e
Pipeline
#2128
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
39 deletions
+4
-39
.gitlab-ci.yml
.gitlab-ci.yml
+4
-39
No files found.
.gitlab-ci.yml
View file @
29f8c22f
#job1:
# script:
# - echo "hello world"
#stage: test
#tags:
# - ci
stages
:
-
build
-
test
-
deploy
build-job
:
stage
:
build
job1
:
script
:
-
echo "complinoing the code"
-
mkdir build/
-
echo "my app binary file" > build/executable-binary-file-v1
-
echo "hello world"
stage
:
test
tags
:
-
ci
unit-test-job
:
stage
:
test
script
:
-
echo "running unit test job"
-
cat $CI_PROJECT_DIR/build/executable-binary-file-v1
#tags:
# - ci
lint-test-job
:
stage
:
test
script
:
-
echo "linting code "
# tags:
# - ci
deploy-job
:
stage
:
deploy
script
:
-
echo "deploying"
#tags:
# - ci
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment