Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Test-CICD-Project-NgVu
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
nguyenvu
Test-CICD-Project-NgVu
Commits
bfcbfd8d
Commit
bfcbfd8d
authored
May 18, 2021
by
nguyenvu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
f101f421
Pipeline
#6934
canceled with stages
in 5 minutes and 34 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
.gitlab-ci.yml
.gitlab-ci.yml
+1
-14
No files found.
.gitlab-ci.yml
View file @
bfcbfd8d
...
@@ -30,15 +30,6 @@ build:
...
@@ -30,15 +30,6 @@ build:
-
export image_name=$image_name
-
export image_name=$image_name
-
export CI_REGISTRY_PW=$GIT_PW
-
export CI_REGISTRY_PW=$GIT_PW
-
export CI_REGISTRY_USER=$GIT_USER
-
export CI_REGISTRY_USER=$GIT_USER
#- echo 'export tag="dev"' >> $cicd_path/env.sh
#- sudo cat build.sh
#- cd ../
#- cicd_url=$(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
#- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
#- ls -la
#- sudo git clone $cicd_url
#- ls -la
#- cd ../
-
current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt
-
current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt
-
release_note_folder=/var/www/release_note
-
release_note_folder=/var/www/release_note
-
|
-
|
...
@@ -70,11 +61,7 @@ build:
...
@@ -70,11 +61,7 @@ build:
sudo bash -c "cat $current_file_path > $release_note_folder/$project_name/releasenotes.txt"
sudo bash -c "cat $current_file_path > $release_note_folder/$project_name/releasenotes.txt"
-
bash $cicd_path/build.sh
-
bash $cicd_path/build.sh
#- sudo docker build -t $image_name:$tag -f Dockerfile .
#- sudo docker logout registry.gitlab.com
#- echo "$CI_REGISTRY_PW" | sudo docker login registry.gitlab.com -u "$CI_REGISTRY_USER" --password-stdin
#- sudo docker push $image_name:$tag
#- sudo docker rmi $image_name:$tag
only
:
only
:
-
develop
-
develop
tags
:
tags
:
...
...
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