Skip to content

Commit

Permalink
updated Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
awanmbandi committed Jun 15, 2024
1 parent 217abea commit 673854d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 4 additions & 0 deletions Microservices.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,7 @@ This YAML file describes the configuration for deploying a set of microservices
- Connects to: None mentioned in this YAML, but likely used by other services

In summary, these microservices are interconnected through their respective services, and the Frontend service acts as the entry point for external communication. The connections between services are established using Kubernetes services and the specified ports. Additionally, some services, like Cart Service, use external services like Redis for data storage.



http://34.71.9.167:8080/multibranch-webhook-trigger/invoke?token=automation
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ aws eks update-kubeconfig --name <clustername> --region <region>
- **Snyk**
- **Multibranch Scan Webhook Trigger**
- **Eclipse Temurin installer**
- **Pipeline: Stage View**
- **Docker**
- **Docker Commons**
- **Docker Pipeline**
Expand Down Expand Up @@ -531,10 +532,7 @@ aws eks update-kubeconfig --name <clustername> --region <region>
- Project Repository
- Repository URL: `Provide Your Project Repo Git URL` (the one you created at the beginning)
- BEHAVIORS
- Delete the `Discover branches`
- Click `ADD`
- Select `Filter by name (with wildcards)`
- Include: `app-*`
- Discover Branches

- Property strategy: `All branches get the same properties`
- BUILD CONFIGURATION
Expand All @@ -546,23 +544,24 @@ aws eks update-kubeconfig --name <clustername> --region <region>
- Click on `Apply` and `Save`

- CONFIGURE MULTIBRANCH PIPELINE WEBHOOK
- Copy this URL and Update the Jenkins IP (to yours): http://PROVIDE_YOUR_JENKINS_IP:8080/multibranch-webhook-trigger/invoke?token=automation
- Copy this URL and Update the Jenkins IP (to yours): `http://PROVIDE_YOUR_JENKINS_IP:8080/multibranch-webhook-trigger/invoke?token=automation`
- Navigate to your `Project Repository`
- Click on `Settings` in the Repository
- Click on `Webhooks`
- Click on `Add Webhook`
- Payload URL: http://PROVIDE_YOUR_JENKINS_IP:8080/multibranch-webhook-trigger/invoke?token=automation
- Payload URL: `http://PROVIDE_YOUR_JENKINS_IP:8080/multibranch-webhook-trigger/invoke?token=automation`
- Content type: `application/json`
- Which events would you like to trigger this webhook: Select `Just the push event`
- Enable `Active`
- Click `ADD WEBHOOK`

### Navigate Back To Jenkins and Confirm That All 12 Pipeline Jobs Are Running (11 Microservices Jobs and 1 DB Job)
- Click on the `Jenkins Pipeline Job Name`
![MicroservicesPipelineJobs]()
- Click on `Scan Multibranch Pipeline Now`
![MicroservicesPipelineJobs](https://github.com/awanmbandi/realworld-microservice-project/blob/zdocs/images/scan_all_branch_pipelines.png)

### Confirm, Make Sure The Pipelines All Succeed (If Not, Troubleshoot)

![MicroservicesPipelineJobs]()

### PERFORM THE DEPLOYMENT IN THE STAGING ENVIRONMENT/NAMESPACE (EKS CLUSTER)
- To perform the DEPLOYMENT in the staging Envrionment
Expand Down

0 comments on commit 673854d

Please sign in to comment.