{"id":8813,"date":"2017-04-11T09:42:08","date_gmt":"2017-04-11T08:42:08","guid":{"rendered":"http:\/\/www.devopsonline.co.uk\/?p=8813"},"modified":"2017-04-11T09:42:08","modified_gmt":"2017-04-11T08:42:08","slug":"uk-government-gives-continuous-integration-update","status":"publish","type":"post","link":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/","title":{"rendered":"UK government gives continuous integration update"},"content":{"rendered":"

Web Operations Engineer at the UK Government Digital Service (GDS), Laura Martin, recently gave an update<\/a> on the Service\u2019s continuous integration\u00a0(CI) environment.<\/p>\n

The Web Operations team at GDS updates and maintains the GOV.UK infrastructure, while also providing infrastructure for new requirements. Earlier this year, the team embarked on a mission to \u201cUpgrade the Things\u201d, with the CI environment being the first step.<\/p>\n

\u201cThe first thing we updated was our\u00a0Continuous Integration\u00a0(CI) environment. We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do. If CI goes down, our development will halt,\u201d Martin said in a government blog post.<\/p>\n

Integrating the CI environment with the rest of the stack<\/h2>\n

The GDS CI environment was being hosted separately to the rest of the infrastructure, with a separate\u00a0Puppet\u00a0codebase. Two separate sets of codebase meant the Web Operations team had to repeat a lot of work whenever applying critical upgrades.<\/p>\n

\u201cWe took the decision to move the CI environment to the same stack as our Integration environment. We could then deploy and monitor CI in the same way as our current infrastructure, and manage it using our\u00a0main Puppet codebase,\u201d Martin said.<\/p>\n

Working in Jenkins<\/h2>\n

This integration move also improved the GDS\u2019 use of\u00a0Jenkins, which is now more easily configured. The Web Operations team\u2019s main Puppet codebase automates\u00a0Jenkins\u2019 jobs and configuration. No longer do developers working in the CI environment have to do this manually through the user interface.<\/p>\n

\u201cConfiguration change can be applied to all Jenkins instances across the estate, and this has improved the reliability of our testing,\u201d Martin said.<\/p>\n

It is also more effortless for developers to manage configuration by taking advantage of the\u00a0Jenkins Pipeline.<\/p>\n

Instead of developers having to go to the Jenkins UI, create a job and then add all the configuration steps, they can now just create the \u2018Jenkinsfile\u2019 (containing all the steps of the jobs they want to run) in their own repository.<\/p>\n

Then when developers are pushing code changes to their repository, a\u00a0Webhook\u00a0can be used to trigger Jenkins to do its job. Jenkins will proceed with the job according to the configuration in the Jenkinsfile.<\/p>\n

Moving forward<\/h2>\n

The GDS\u2019 Jenkinsfile is portable, meaning if the team decides to rebuild the CI environment elsewhere in the future, developers will just need to update their Webhooks and the same Jenkinsfile can easily be applied.<\/p>\n

The other benefit of the Jenkinsfile is it\u2019s in version control. With changes to jobs being made with a clear commit history, the team can also see exactly why a developer chose to create the job the way they did.<\/p>\n

\u201cWe only have one more job to do and that\u2019s to share our knowledge with developers to help them write and test Jenkinsfiles for our 85 applications. As a team, we\u2019ve found this work to be a rewarding experience due to the number of benefits it brings.\u201d Martin said. \u201cWe now move on to a number of other things to upgrade, and 2017 looks to be a very interesting year for GOV.UK and Infrastructure.\u201d<\/p>\n

 <\/p>\n

Edited from source by Cecilia Rehn<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Web Operations Engineer at the UK Government Digital Service (GDS), Laura Martin, recently gave an update on the Service\u2019s continuous integration\u00a0(CI) environment. The Web Operations team at GDS updates and maintains the GOV.UK infrastructure, while also providing infrastructure for new requirements. Earlier this year, the team embarked on a mission to \u201cUpgrade the Things\u201d, with…<\/p>\n","protected":false},"author":123458,"featured_media":8814,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","pmpro_default_level":"","footnotes":""},"categories":[2],"tags":[145,977,1020,1021,656,1022,709,1019,1018],"yoast_head":"\nUK government gives continuous integration update - DevOps Online North America<\/title>\n<meta name=\"description\" content=\"We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UK government gives continuous integration update - DevOps Online North America\" \/>\n<meta property=\"og:description\" content=\"We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\" \/>\n<meta property=\"og:site_name\" content=\"DevOps Online North America\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-11T08:42:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Yashesh Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DevOpsAmerica\" \/>\n<meta name=\"twitter:site\" content=\"@DevOpsAmerica\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yashesh Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\"},\"author\":{\"name\":\"Yashesh Patel\",\"@id\":\"https:\/\/devopsnews.online\/#\/schema\/person\/1183cef5fa13624c55f3faf81f391435\"},\"headline\":\"UK government gives continuous integration update\",\"datePublished\":\"2017-04-11T08:42:08+00:00\",\"dateModified\":\"2017-04-11T08:42:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\"},\"wordCount\":537,\"publisher\":{\"@id\":\"https:\/\/devopsnews.online\/#organization\"},\"image\":{\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png\",\"keywords\":[\"automation\",\"Continuous integration\",\"GDS\",\"GOV.UK\",\"Jenkins\",\"Jenkinsfiles\",\"Puppet\",\"UK Government Digital Service\",\"Web Operations\"],\"articleSection\":[\"Featured\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\",\"url\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\",\"name\":\"UK government gives continuous integration update - DevOps Online North America\",\"isPartOf\":{\"@id\":\"https:\/\/devopsnews.online\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png\",\"datePublished\":\"2017-04-11T08:42:08+00:00\",\"dateModified\":\"2017-04-11T08:42:08+00:00\",\"description\":\"We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do\",\"breadcrumb\":{\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage\",\"url\":\"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png\",\"contentUrl\":\"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png\",\"width\":640,\"height\":400,\"caption\":\"UK government\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devopsnews.online\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"UK government gives continuous integration update\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devopsnews.online\/#website\",\"url\":\"https:\/\/devopsnews.online\/\",\"name\":\"DevOps Online North America\",\"description\":\"by 31 Media Ltd.\",\"publisher\":{\"@id\":\"https:\/\/devopsnews.online\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devopsnews.online\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/devopsnews.online\/#organization\",\"name\":\"DevOps Online North America\",\"url\":\"https:\/\/devopsnews.online\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devopsnews.online\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/devopsnews.online\/wp-content\/uploads\/2020\/03\/DevOpsOnline_email.png\",\"contentUrl\":\"https:\/\/devopsnews.online\/wp-content\/uploads\/2020\/03\/DevOpsOnline_email.png\",\"width\":198,\"height\":64,\"caption\":\"DevOps Online North America\"},\"image\":{\"@id\":\"https:\/\/devopsnews.online\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/DevOpsAmerica\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/devopsnews.online\/#\/schema\/person\/1183cef5fa13624c55f3faf81f391435\",\"name\":\"Yashesh Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devopsnews.online\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7133dcc024275e35cf81ef202ce76441?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7133dcc024275e35cf81ef202ce76441?s=96&d=mm&r=g\",\"caption\":\"Yashesh Patel\"},\"sameAs\":[\"https:\/\/devopsnews.online\"],\"url\":\"https:\/\/devopsnews.online\/author\/yashesh-patel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UK government gives continuous integration update - DevOps Online North America","description":"We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/","og_locale":"en_US","og_type":"article","og_title":"UK government gives continuous integration update - DevOps Online North America","og_description":"We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do","og_url":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/","og_site_name":"DevOps Online North America","article_published_time":"2017-04-11T08:42:08+00:00","og_image":[{"width":640,"height":400,"url":"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png","type":"image\/png"}],"author":"Yashesh Patel","twitter_card":"summary_large_image","twitter_creator":"@DevOpsAmerica","twitter_site":"@DevOpsAmerica","twitter_misc":{"Written by":"Yashesh Patel","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#article","isPartOf":{"@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/"},"author":{"name":"Yashesh Patel","@id":"https:\/\/devopsnews.online\/#\/schema\/person\/1183cef5fa13624c55f3faf81f391435"},"headline":"UK government gives continuous integration update","datePublished":"2017-04-11T08:42:08+00:00","dateModified":"2017-04-11T08:42:08+00:00","mainEntityOfPage":{"@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/"},"wordCount":537,"publisher":{"@id":"https:\/\/devopsnews.online\/#organization"},"image":{"@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage"},"thumbnailUrl":"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png","keywords":["automation","Continuous integration","GDS","GOV.UK","Jenkins","Jenkinsfiles","Puppet","UK Government Digital Service","Web Operations"],"articleSection":["Featured"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/","url":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/","name":"UK government gives continuous integration update - DevOps Online North America","isPartOf":{"@id":"https:\/\/devopsnews.online\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage"},"image":{"@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage"},"thumbnailUrl":"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png","datePublished":"2017-04-11T08:42:08+00:00","dateModified":"2017-04-11T08:42:08+00:00","description":"We provide CI so our developers can continuously improve GOV.UK.\u00a0Releasing\u00a0regularly is a key part of what we do","breadcrumb":{"@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#primaryimage","url":"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png","contentUrl":"https:\/\/devopsnews.online\/wp-content\/uploads\/2017\/04\/gov-website.png","width":640,"height":400,"caption":"UK government"},{"@type":"BreadcrumbList","@id":"https:\/\/devopsnews.online\/uk-government-gives-continuous-integration-update\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devopsnews.online\/"},{"@type":"ListItem","position":2,"name":"UK government gives continuous integration update"}]},{"@type":"WebSite","@id":"https:\/\/devopsnews.online\/#website","url":"https:\/\/devopsnews.online\/","name":"DevOps Online North America","description":"by 31 Media Ltd.","publisher":{"@id":"https:\/\/devopsnews.online\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devopsnews.online\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/devopsnews.online\/#organization","name":"DevOps Online North America","url":"https:\/\/devopsnews.online\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devopsnews.online\/#\/schema\/logo\/image\/","url":"https:\/\/devopsnews.online\/wp-content\/uploads\/2020\/03\/DevOpsOnline_email.png","contentUrl":"https:\/\/devopsnews.online\/wp-content\/uploads\/2020\/03\/DevOpsOnline_email.png","width":198,"height":64,"caption":"DevOps Online North America"},"image":{"@id":"https:\/\/devopsnews.online\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/DevOpsAmerica"]},{"@type":"Person","@id":"https:\/\/devopsnews.online\/#\/schema\/person\/1183cef5fa13624c55f3faf81f391435","name":"Yashesh Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devopsnews.online\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7133dcc024275e35cf81ef202ce76441?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7133dcc024275e35cf81ef202ce76441?s=96&d=mm&r=g","caption":"Yashesh Patel"},"sameAs":["https:\/\/devopsnews.online"],"url":"https:\/\/devopsnews.online\/author\/yashesh-patel\/"}]}},"_links":{"self":[{"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/posts\/8813"}],"collection":[{"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/users\/123458"}],"replies":[{"embeddable":true,"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/comments?post=8813"}],"version-history":[{"count":0,"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/posts\/8813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/media\/8814"}],"wp:attachment":[{"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/media?parent=8813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/categories?post=8813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devopsnews.online\/wp-json\/wp\/v2\/tags?post=8813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}