Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps for Serverless Applications

You're reading from   DevOps for Serverless Applications Design, deploy, and monitor your serverless applications using DevOps practices

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788623445
Length 264 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Shashikant Bangera Shashikant Bangera
Author Profile Icon Shashikant Bangera
Shashikant Bangera
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introducing Serverless 2. Understanding Serverless Frameworks FREE CHAPTER 3. Applying DevOps to AWS Lambda Applications 4. DevOps with Azure Functions 5. Integrating DevOps with IBM OpenWhisk 6. DevOps with Google Functions 7. Adding DevOps Flavor to Kubeless 8. Best Practices and the Future of DevOps with Serverless 9. Use Cases and Add-Ons 10. DevOps Trends with Serverless Functions 11. Other Books You May Enjoy

Setting up environment variables


Finally, we create environment variables with subscription ID, tenant, name, and password. We need to export this on the Jenkins node and set up a deployment. So let's do that: 

  1. Open the Jenkins in browser and add a new job with a click on New Item. Enter the item name myAzureFunctionDeploy and select Freestyle project, and click OK.
  2. On the job configuration page, tick This project is parameterised and add Password Parameter below the name and default values retrieved from the Azure commands as follows: 
azureServicePrincipalTenantId
azureServicePrincipalClientId
azureServicePrincipalPassword
azureSubId
  1. Let's click on the Source Code Management tab and add the repository URL as https://github.com/shzshi/azure-helloworld-ci.git, the repository has the required files. 
  2. In Build Environment select Inject passwords to the build as environmentvariables. We are doing this to mask the Azure credentials and other details. 
  3. Next, click on the Build tab and, in the execute...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image