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
ae5153d5
Commit
ae5153d5
authored
May 18, 2021
by
nguyenvu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://27.74.255.96:8088/nguyenvu/test-cicd-project-ngvu
into develop
parents
d1288de7
bfcbfd8d
Pipeline
#6936
canceled with stages
in 8 minutes and 45 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
18 deletions
+3
-18
.gitlab-ci.yml
.gitlab-ci.yml
+3
-18
No files found.
.gitlab-ci.yml
View file @
ae5153d5
...
@@ -25,20 +25,11 @@ build:
...
@@ -25,20 +25,11 @@ build:
-
git submodule update --recursive --remote
-
git submodule update --recursive --remote
#- echo 'export tag="dev"' >> $cicd_path/env.sh
#- echo 'export tag="dev"' >> $cicd_path/env.sh
#- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
#- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
-
pwd
-
export docker_path=$(pwd)
-
export tag="dev"
-
export tag="dev"
-
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
-
|
-
|
...
@@ -69,14 +60,8 @@ build:
...
@@ -69,14 +60,8 @@ build:
sudo bash -c "echo $value_base64 > $current_file_path"
sudo bash -c "echo $value_base64 > $current_file_path"
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"
-
cd $cicd_path
-
bash $cicd_path/build.sh
-
bash build.sh
-
cd ../
#- 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