From 49e22cdb6c427270d124a3a96a3d5e76444186e8 Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 21:42:50 -0400 Subject: [PATCH 1/7] Tests for 2017 report page and redirects Signed-off-by: Nathen Harvey --- .../tests/publications/index.spec.ts | 10 +++++----- .../2017-and-earlier-overview.spec.ts | 2 +- .../tests/research/2017/2017.spec.ts | 20 +++++++++++++++++++ test/redirects/redirects.csv | 5 +++-- 4 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 test/playwright/tests/research/2017/2017.spec.ts diff --git a/test/playwright/tests/publications/index.spec.ts b/test/playwright/tests/publications/index.spec.ts index eadfdd79..c8955abf 100644 --- a/test/playwright/tests/publications/index.spec.ts +++ b/test/playwright/tests/publications/index.spec.ts @@ -36,9 +36,10 @@ export const downloadTheReportMap = { '0': '/research/2023/dora-report/', '1': '/research/2022/dora-report/', '2': '/research/2021/dora-report/', - '3': '/research/2016/', - '4': '/research/2015/', - '5': '/research/2014/' + '3': '/research/2017', + '4': '/research/2016/', + '5': '/research/2015/', + '6': '/research/2014/' } test('Publications page links to the DORA Report landing pages', async ({ page }) => { @@ -54,8 +55,7 @@ test('Publications page links to the DORA Report landing pages', async ({ page } // TODO - #698 calls for a landing page for each report. These should all move to the downloadTheReportMap export const readPDFMap = { '0': '/research/2019/dora-report/2019-dora-accelerate-state-of-devops-report.pdf', - '1': '/research/2018/dora-report/2018-dora-accelerate-state-of-devops-report.pdf', - '2': '/research/2017-and-earlier/2017-state-of-devops-report.pdf' + '1': '/research/2018/dora-report/2018-dora-accelerate-state-of-devops-report.pdf' } test('Publications page links directly to DORA Reports', async ({ page }) => { diff --git a/test/playwright/tests/research/2017-and-earlier/2017-and-earlier-overview.spec.ts b/test/playwright/tests/research/2017-and-earlier/2017-and-earlier-overview.spec.ts index 3f16182f..7c8dcb84 100644 --- a/test/playwright/tests/research/2017-and-earlier/2017-and-earlier-overview.spec.ts +++ b/test/playwright/tests/research/2017-and-earlier/2017-and-earlier-overview.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; import { sidebarLinks } from '../sidebarLinks'; export const reportsMap = { - '2017 State of DevOps Report': '2017-state-of-devops-report.pdf', + '2017 State of DevOps Report': '/research/2017', '2016 State of DevOps Report': '/research/2016', '2015 State of DevOps Report': '/research/2015', '2014 State of DevOps Report': '/research/2014/' diff --git a/test/playwright/tests/research/2017/2017.spec.ts b/test/playwright/tests/research/2017/2017.spec.ts new file mode 100644 index 00000000..9b914b75 --- /dev/null +++ b/test/playwright/tests/research/2017/2017.spec.ts @@ -0,0 +1,20 @@ +import { test, expect } from '@playwright/test'; +import { sidebarLinks } from '../sidebarLinks'; + +test.beforeEach(async ({ page }) => { + await page.goto('/research/2017/'); +}); + +test('2017 Research page has the correct title.', async ({ page }) => { + await expect(page).toHaveTitle('DORA | DORA Research: 2017'); +}); + +test('2017 Research page has the correct header.', async ({ page }) => { + await expect(page.locator('h1')).toContainText('DORA Research: 2017'); +}); + +test('2017 Research page has the correct sidebar.', async ({ page }) => { + for (const sidebarLink of sidebarLinks) { + await expect(page.getByRole('link', { name: sidebarLink, exact: true })).toBeVisible(); + } +}); \ No newline at end of file diff --git a/test/redirects/redirects.csv b/test/redirects/redirects.csv index 5ad8b7e4..bc943264 100644 --- a/test/redirects/redirects.csv +++ b/test/redirects/redirects.csv @@ -33,7 +33,7 @@ /dora-report-2020,/research/2020,302 /dora-report-2019,/research/2019/dora-report,302 /dora-report-2018,/research/2018/dora-report,302 -/dora-report-2017,/research/2017-and-earlier/2017-state-of-devops-report.pdf,302 +/dora-report-2017,/research/2017,302 /dora-report-2016,/research/2016,302 /dora-report-2015,/research/2015,302 /dora-report-2014,/research/2014,302 @@ -43,10 +43,11 @@ /publications/pdf/state-of-devops-2015.pdf,/research/2015/2015-state-of-devops-report.pdf,301 /publications/pdf/state-of-devops-2014.pdf,/research/2014/2014-state-of-devops-report.pdf,301 /publications/pdf/state-of-devops-2016.pdf,/research/2016/2016-state-of-devops-report.pdf,301 -/publications/pdf/state-of-devops-2017.pdf,/research/2017-and-earlier/2017-state-of-devops-report.pdf,301 +/publications/pdf/state-of-devops-2017.pdf,/research/2017/2017-state-of-devops-report.pdf,301 /publications/pdf/state-of-devops-2018.pdf,/research/2018/dora-report/2018-dora-accelerate-state-of-devops-report.pdf,301 /publications/pdf/state-of-devops-2019.pdf,/research/2019/dora-report/2019-dora-accelerate-state-of-devops-report.pdf,301 /publications/pdf/state-of-devops-2021.pdf,/research/2021/dora-report/2021-dora-accelerate-state-of-devops-report.pdf,301 /research/2017-and-earlier/2014-state-of-devops-report.pdf,/research/2014/2014-state-of-devops-report.pdf,301 /research/2017-and-earlier/2015-state-of-devops-report.pdf,/research/2015/2015-state-of-devops-report.pdf,301 /research/2017-and-earlier/2016-state-of-devops-report.pdf,/research/2016/2016-state-of-devops-report.pdf,301 +/research/2017-and-earlier/2017-state-of-devops-report.pdf,/research/2017/2017-state-of-devops-report.pdf302 \ No newline at end of file From b2a9eb81650e168e857f232f5eb34ed620bd4005 Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 21:47:38 -0400 Subject: [PATCH 2/7] Add the 2017 report page Signed-off-by: Nathen Harvey --- .../2017-state-of-devops-report.pdf | Bin .../2017-state-of-devops-report.png | Bin hugo/content/research/2017/_index.md | 26 ++++++++++++++++++ 3 files changed, 26 insertions(+) rename hugo/content/research/{2017-and-earlier => 2017}/2017-state-of-devops-report.pdf (100%) rename hugo/content/research/{2017-and-earlier => 2017}/2017-state-of-devops-report.png (100%) create mode 100644 hugo/content/research/2017/_index.md diff --git a/hugo/content/research/2017-and-earlier/2017-state-of-devops-report.pdf b/hugo/content/research/2017/2017-state-of-devops-report.pdf similarity index 100% rename from hugo/content/research/2017-and-earlier/2017-state-of-devops-report.pdf rename to hugo/content/research/2017/2017-state-of-devops-report.pdf diff --git a/hugo/content/research/2017-and-earlier/2017-state-of-devops-report.png b/hugo/content/research/2017/2017-state-of-devops-report.png similarity index 100% rename from hugo/content/research/2017-and-earlier/2017-state-of-devops-report.png rename to hugo/content/research/2017/2017-state-of-devops-report.png diff --git a/hugo/content/research/2017/_index.md b/hugo/content/research/2017/_index.md new file mode 100644 index 00000000..5e6a82ea --- /dev/null +++ b/hugo/content/research/2017/_index.md @@ -0,0 +1,26 @@ +--- +title: "DORA Research: 2017" +date: 2024-07-31 +draft: false +research_year: "2017" +type: research_archives +layout: single +--- + +[![2017 State of DevOps Report](/research/2017/2017-state-of-devops-report.png)](2017-state-of-devops-report.pdf) + +The 2017 State of DevOps Report highlights the critical role of transformational leadership in fostering a culture of high performance. Leaders who exhibit vision, inspirational communication, intellectual stimulation, supportive leadership, and personal recognition are more likely to cultivate successful teams. The research also underscores the importance of automation in achieving faster throughput and improved stability. High-performing teams automate significantly more of their configuration management, testing, deployments, and change approval processes, freeing up time for innovation. + +The report emphasizes the importance of IT performance in achieving broader organizational goals. By adopting DevOps practices and fostering a culture of continuous learning and improvement, organizations can enhance their ability to deliver value to customers and achieve their mission, regardless of how they define success. + +The key findings of the report are: +* The presence of transformational leaders who exhibit vision, inspiration, intellectual stimulation, support, and recognition significantly boosts IT performance and overall organizational success. +* Automation is a key differentiator for high-performing teams, enabling them to focus on innovation and achieve faster throughput and improved stability. +* DevOps practices are beneficial for all organizations, regardless of their profit orientation, leading to improved efficiency, customer satisfaction, and goal achievement. +* Loosely coupled architectures and teams are crucial for enabling continuous delivery, allowing for independent development, testing, and deployment of services. +* Lean product management practices, such as working in small batches and incorporating customer feedback, drive higher organizational performance by enabling faster delivery and experimentation. +* Continuous delivery, characterized by frequent deployments, fast feedback, and high quality, significantly contributes to lower deployment pain and improved IT performance. +* Technical practices such as version control, continuous integration, trunk-based development, and test automation are essential for achieving continuous delivery and high performance. + + +[Download the 2017 State of DevOps Report](2017-state-of-devops-report.pdf) From 8f6a14e2cdb7f2d55807f7b3dde97827d077d896 Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 21:51:16 -0400 Subject: [PATCH 3/7] Update `/publications` for the 2017 report page Signed-off-by: Nathen Harvey --- hugo/content/publications/_index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hugo/content/publications/_index.md b/hugo/content/publications/_index.md index f8baec27..3f16f244 100644 --- a/hugo/content/publications/_index.md +++ b/hugo/content/publications/_index.md @@ -41,10 +41,10 @@ bannerSubtitle: "Findings from DORA's research program are made available throug **[2018 Accelerate State of DevOps Report](/research/2018/dora-report/2018-dora-accelerate-state-of-devops-report.pdf)** [Read PDF](/research/2018/dora-report/2018-dora-accelerate-state-of-devops-report.pdf) -- [![2017 State of DevOps Report](/research/2017-and-earlier/2017-state-of-devops-report.png)](/research/2017-and-earlier/2017-state-of-devops-report.pdf) - **[2017 State of DevOps Report](/research/2017-and-earlier/2017-state-of-devops-report.pdf)** +- [![2017 State of DevOps Report](/research/2017/2017-state-of-devops-report.png)](/research/2017) + **[2017 State of DevOps Report](/research/2017)** (in partnership with Puppet) - [Read PDF](/research/2017-and-earlier/2017-state-of-devops-report.pdf) + [Download the report](/research/2017) - [![2016 State of DevOps Report](/research/2016/2016-state-of-devops-report.png)](/research/2016/) **[2016 State of DevOps Report](/research/2016/)** From 90bb89c3d5335b16312a18b4a06a13ea9cc3952d Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 21:52:20 -0400 Subject: [PATCH 4/7] Updates `/research/2017-and-earlier` to link to new 2017 page Signed-off-by: Nathen Harvey --- hugo/content/research/2017-and-earlier/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo/content/research/2017-and-earlier/_index.md b/hugo/content/research/2017-and-earlier/_index.md index d507287b..c6da2af2 100644 --- a/hugo/content/research/2017-and-earlier/_index.md +++ b/hugo/content/research/2017-and-earlier/_index.md @@ -10,7 +10,7 @@ layout: single Prior to 2018, research was conducted in partnership with Puppet, as an extension of their original State of DevOps research. Read the [history of Puppet's DevOps Reports](https://www.puppet.com/resources/history-of-devops-reports). #### State of DevOps Reports published in partnership with Puppet: -- [2017 State of DevOps Report](2017-state-of-devops-report.pdf) +- [2017 State of DevOps Report](/research/2017) - [2016 State of DevOps Report](/research/2016) - [2015 State of DevOps Report](/research/2015) - [2014 State of DevOps Report](/research/2014/) From 673f9fdb5b9c3fa2d2680f7aac92e626f0422afe Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 22:03:58 -0400 Subject: [PATCH 5/7] Adds redirects for 2017 report page Signed-off-by: Nathen Harvey --- firebase.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/firebase.json b/firebase.json index db0ce418..87b8c5e7 100644 --- a/firebase.json +++ b/firebase.json @@ -111,7 +111,7 @@ }, { "source": "/dora-report-2017", - "destination": "/research/2017-and-earlier/2017-state-of-devops-report.pdf", + "destination": "/research/2017", "type": 302 }, { @@ -237,7 +237,12 @@ }, { "source": "/publications/pdf/state-of-devops-2017.pdf", - "destination": "/research/2017-and-earlier/2017-state-of-devops-report.pdf", + "destination": "/research/2017/2017-state-of-devops-report.pdf", + "type": 301 + }, + { + "source": "/research/2017-and-earlier/2017-state-of-devops-report.pdf", + "destination": "/research/2017/2017-state-of-devops-report.pdf", "type": 301 }, { From ee0a12d38b9ab768d043dfffdfec6862af91512c Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 22:10:09 -0400 Subject: [PATCH 6/7] Fix a typo in `redirects.csv` Signed-off-by: Nathen Harvey --- test/redirects/redirects.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/redirects/redirects.csv b/test/redirects/redirects.csv index bc943264..843f1d65 100644 --- a/test/redirects/redirects.csv +++ b/test/redirects/redirects.csv @@ -50,4 +50,4 @@ /research/2017-and-earlier/2014-state-of-devops-report.pdf,/research/2014/2014-state-of-devops-report.pdf,301 /research/2017-and-earlier/2015-state-of-devops-report.pdf,/research/2015/2015-state-of-devops-report.pdf,301 /research/2017-and-earlier/2016-state-of-devops-report.pdf,/research/2016/2016-state-of-devops-report.pdf,301 -/research/2017-and-earlier/2017-state-of-devops-report.pdf,/research/2017/2017-state-of-devops-report.pdf302 \ No newline at end of file +/research/2017-and-earlier/2017-state-of-devops-report.pdf,/research/2017/2017-state-of-devops-report.pdf,302 \ No newline at end of file From a626cad56c41c2a6680a7e2ab349e5fb20e7ce90 Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Wed, 31 Jul 2024 22:10:54 -0400 Subject: [PATCH 7/7] This should be a `301` redirect, not a `302` Signed-off-by: Nathen Harvey --- test/redirects/redirects.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/redirects/redirects.csv b/test/redirects/redirects.csv index 843f1d65..ce4b5d4d 100644 --- a/test/redirects/redirects.csv +++ b/test/redirects/redirects.csv @@ -50,4 +50,4 @@ /research/2017-and-earlier/2014-state-of-devops-report.pdf,/research/2014/2014-state-of-devops-report.pdf,301 /research/2017-and-earlier/2015-state-of-devops-report.pdf,/research/2015/2015-state-of-devops-report.pdf,301 /research/2017-and-earlier/2016-state-of-devops-report.pdf,/research/2016/2016-state-of-devops-report.pdf,301 -/research/2017-and-earlier/2017-state-of-devops-report.pdf,/research/2017/2017-state-of-devops-report.pdf,302 \ No newline at end of file +/research/2017-and-earlier/2017-state-of-devops-report.pdf,/research/2017/2017-state-of-devops-report.pdf,301 \ No newline at end of file