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
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-devops
Commits
4c223a3c
Commit
4c223a3c
authored
2 years ago
by
tushar5526
Browse files
Options
Download
Patches
Plain Diff
Updated readme
parent
cfdccc6b
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-4
README.md
with
6 additions
and
4 deletions
+6
-4
README.md
+
6
−
4
View file @
4c223a3c
**
Steps to setup E2E deployment using Jenkins, Ansible, Docker Swarm
**
#
Steps to setup E2E deployment using Jenkins, Ansible, Docker Swarm
**Pre-Requisite:**
Dockerfile for the service should be there.
...
...
@@ -9,13 +9,15 @@ The following steps are to be followed with some modifications.
-
During Jenkins installation, after copying the jobs
**
chown
**
the
**
/var/lib/jenkins/jobs/
**
to
**
jenkins user
**
-
During Jenkins installation, after copying the jobs
`
chown
`
the
`
/var/lib/jenkins/jobs/
`
to
`
jenkins
`
user
-
In the elastic search configuration, update the elastic search file as per your cluster needs
-
In the Install
**
Docker Compose
**
section, run
**
docker swarm init
**
before issuing other commands
-
In the Install
`
Docker Compose
`
section, run
`
docker swarm init
`
before issuing other commands
-
When the Jenkins is up and ready to go, we have to take care of the following
-
Update
**“
docker-server
”**
URL in Jenkins Jobs to pull and push images in build jobs
-
Update
`
docker-server
`
URL in Jenkins Jobs to pull and push images in build jobs
-
Add ssh keys for your server from the Jenkins server before using ansible playbooks
-
Add
`sudo`
to Jenkins deploy jobs commands in
`Configure Jobs`
section.
-
Populate the environment variables for ansible-playbooks in Deploy jobs of Jenkins
-
Update the Nginx conf files according to the services of your application
...
...
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