Skip to content

Commit

Permalink
Add faq for devops and new guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Jan 16, 2025
1 parent 514edea commit 3c03cb4
Show file tree
Hide file tree
Showing 13 changed files with 261 additions and 11 deletions.
212 changes: 212 additions & 0 deletions src/data/guides/devops-test-automation.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/guides/devops-vs-developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ seo:
title: 'DevOps Vs. Developer: What Are The Key Differences?'
description: 'Understand the differences between DevOps and Developer roles. Find out which career aligns with your skills and future goals.'
ogImageUrl: 'https://assets.roadmap.sh/guest/devops-vs-developer-yv25p.jpg'
isNew: true
isNew: false
relatedGuidesTitle: 'Other Guides'
relatedGuidesId: devops
type: 'textual'
Expand Down
10 changes: 9 additions & 1 deletion src/data/roadmaps/devops/faqs.astro
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ export const faqs: FAQType[] = [
"Choosing between becoming a DevOps engineer or a software developer really depends on what suits your interests. DevOps tend to focus more on system-level challenges, while software developers mainly work on writing and optimizing code. If you picture yourself enjoying coding, building software, and focusing on application development, software development may be the right path for you. But if you're more keen on streamlining workflows, automating processes, and managing IT systems, going for a career in DevOps may be a better choice.",
"More info here: [DevOps Vs. Developer: What Are The Key Differences?](https://roadmap.sh/devops/vs-developer)"
]
}
},
{
question: 'What is DevOps test automation?',
answer: [
'[DevOps Test Automation](https://roadmap.sh/devops/test-automation) is the practice of integrating automated testing into the DevOps lifecycle to ensure software quality at every stage of development and deployment. It covers creating and running automated tests, such as unit, integration, functional, and performance tests, to help identify defects, validate code changes, and maintain system stability.',
'By inserting testing into your CI/CD pipelines, DevOps test automation enables faster feedback loops, reduces manual effort, and ultimately allows DevOps teams to accomplish their ultimate goal: support the delivery of reliable, high-quality software.',
'In other words, DevOps test automation aligns with the DevOps principle of continuous improvement by fostering collaboration between development, operations, and QA teams.'
],
},
];
---
2 changes: 1 addition & 1 deletion src/pages/backend/technologies.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/devops/automation-tools.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/devops/automation.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/devops/best-practices.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/devops/career-path.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/devops/devops-engineer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
30 changes: 30 additions & 0 deletions src/pages/devops/test-automation.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
import GuideContent from '../../components/Guide/GuideContent.astro';
import BaseLayout from '../../layouts/BaseLayout.astro';
import { getGuideById } from '../../lib/guide';
import { getOpenGraphImageUrl } from '../../lib/open-graph';
import { replaceVariables } from '../../lib/markdown';
const guideId = 'devops-test-automation';
const guide = await getGuideById(guideId);
const { frontmatter: guideData } = guide!;
const ogImageUrl =
guideData.seo.ogImageUrl ||
getOpenGraphImageUrl({
group: 'guide',
resourceId: guideId,
});
---

<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
<GuideContent guide={guide!} />
<div slot='changelog-banner'></div>
</BaseLayout>
2 changes: 1 addition & 1 deletion src/pages/devops/tools.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/devops/vs-developer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const ogImageUrl =
<BaseLayout
title={replaceVariables(guideData.seo.title)}
description={replaceVariables(guideData.seo.description)}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/frontend/technologies.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ogImageUrl =
<BaseLayout
title={guideData.seo.title}
description={guideData.seo.description}
permalink={guide.frontmatter.excludedBySlug}
permalink={guideData.excludedBySlug}
canonicalUrl={guideData.canonicalUrl}
ogImageUrl={ogImageUrl}
>
Expand Down

0 comments on commit 3c03cb4

Please sign in to comment.