Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Check Links

on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
check-links:
name: Check Internal Links
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build static site
run: pnpm build
env:
NODE_OPTIONS: --max-old-space-size=8192

- name: Check for broken links
run: node --import tsx scripts/check-broken-links.ts
1 change: 0 additions & 1 deletion app/posts/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export async function generateMetadata({
],
publishedTime: post.publishedAt || post.date,
modifiedTime: post.updatedAt || post.date,
authors: post.author ? [`https://devops-daily.com/authors/${post.author.slug}`] : undefined,
section: post.category?.name,
tags: post.tags,
},
Expand Down
8 changes: 1 addition & 7 deletions components/post-header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Link from 'next/link';
import { Badge } from '@/components/ui/badge';
import { Clock, Calendar, User, Info } from 'lucide-react';
import { Clock, Calendar, Info } from 'lucide-react';

interface PostHeaderProps {
post: {
Expand Down Expand Up @@ -34,12 +34,6 @@ export function PostHeader({ post, hasAffiliateLinks = false }: PostHeaderProps)
<Clock className="mr-1 h-4 w-4" />
<span>{post.readingTime}</span>
</div>
{post.author && (
<div className="flex items-center text-sm text-muted-foreground">
<User className="mr-1 h-4 w-4" />
<Link href={`/authors/${post.author.slug}`}>{post.author.name}</Link>
</div>
)}
</div>
<h1 className="text-3xl md:text-4xl font-bold tracking-tight">{post.title}</h1>
{hasAffiliateLinks && (
Expand Down
5 changes: 0 additions & 5 deletions content/exercises/terraform-digitalocean-droplet.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@
"url": "https://www.terraform.io/docs/cloud/guides/recommended-practices/index.html",
"type": "guide",
"external": true
},
{
"title": "Infrastructure as Code Fundamentals",
"url": "/posts/infrastructure-as-code-fundamentals",
"type": "tutorial"
}
],
"troubleshooting": [
Expand Down
2 changes: 1 addition & 1 deletion content/news/2026/week-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ On 2025-12-26, at 07:35 UTC, the SSL certificates for many *.bazel.build domains

**📅 Jan 16, 2026** • **📰 Bazel Blog**

[**🔗 Read more**](/2026/01/16/ssl-cert-expiry.html)
[**🔗 Read more**](https://blog.bazel.build/2026/01/16/ssl-cert-expiry.html)

### 📄 Building an agentic memory system for GitHub Copilot

Expand Down
2 changes: 1 addition & 1 deletion content/news/2026/week-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ We're pleased to announce the release of Bazel 9.0! This LTS release is the culm

**📅 Jan 20, 2026** • **📰 Bazel Blog**

[**🔗 Read more**](/2026/01/20/bazel-9.html)
[**🔗 Read more**](https://blog.bazel.build/2026/01/20/bazel-9.html)

---

Expand Down
2 changes: 1 addition & 1 deletion content/news/2026/week-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ We're thrilled to announce Bazel support in Dependabot Version Updates! 🎉 Thr

**📅 Feb 20, 2026** • **📰 Bazel Blog**

[**🔗 Read more**](/2026/02/20/dependabot.html)
[**🔗 Read more**](https://blog.bazel.build/2026/02/20/dependabot.html)

### 📄 How AI is reshaping developer choice (and Octoverse data proves it)

Expand Down
2 changes: 1 addition & 1 deletion content/posts/deployment-strategies-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tags:
- DevOps
- Deployment
- Kubernetes
- CI/CD
- CICD
- Blue-Green Deployment
- Canary Deployment
- Rolling Deployment
Expand Down
2 changes: 1 addition & 1 deletion content/posts/designing-automation-with-failure-in-mind.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ author:
slug: 'devops-daily-team'
tags:
- DevOps
- CI/CD
- CICD
- Kubernetes
- Terraform
- SRE
Expand Down
4 changes: 2 additions & 2 deletions content/posts/detect-network-connection-type-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'How to Detect Network Connection Type on Android'
excerpt: "Learn how to detect WiFi, cellular, and other network types in Android apps using ConnectivityManager, NetworkCapabilities, and handle network changes with callbacks."
category:
name: 'Android'
slug: 'android'
name: 'Networking'
slug: 'networking'
date: '2024-11-05'
publishedAt: '2024-11-05T12:00:00Z'
updatedAt: '2024-11-05T12:00:00Z'
Expand Down
4 changes: 2 additions & 2 deletions content/posts/find-ssh-client-ip-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'How to Find the IP Address of an SSH Client'
excerpt: "Learn multiple ways to identify the IP address of clients connected to your SSH server, from environment variables to logs and active connection monitoring."
category:
name: 'SSH'
slug: 'ssh'
name: 'Networking'
slug: 'networking'
date: '2024-12-09'
publishedAt: '2024-12-09T14:00:00Z'
updatedAt: '2024-12-09T14:00:00Z'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ author:
tags:
- Docker
- GitHub Actions
- CI/CD
- CICD
- GitOps
- ArgoCD
- Kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'How to Close TCP and UDP Ports via Windows Command Line'
excerpt: 'Learn how to close open ports on Windows using command-line tools. Find and terminate processes listening on ports, manage Windows Firewall rules, and stop services to free up ports.'
category:
name: 'Windows'
slug: 'windows'
name: 'Networking'
slug: 'networking'
date: '2025-03-28'
publishedAt: '2025-03-28T13:00:00Z'
updatedAt: '2025-03-28T13:00:00Z'
Expand Down
2 changes: 1 addition & 1 deletion content/posts/introduction-to-argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tags:
- GitOps
- ArgoCD
- Kubernetes
- CI/CD
- CICD
- Automation
- Deployment
---
Expand Down
4 changes: 2 additions & 2 deletions content/posts/ssh-could-not-resolve-hostname-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'How to Fix SSH "Could Not Resolve Hostname" Error'
excerpt: "Troubleshoot and fix the SSH 'nodename nor servname provided, or not known' error with DNS checks, host file configuration, and SSH config debugging."
category:
name: 'SSH'
slug: 'ssh'
name: 'Networking'
slug: 'networking'
date: '2025-01-18'
publishedAt: '2025-01-18T09:30:00Z'
updatedAt: '2025-01-18T09:30:00Z'
Expand Down
2 changes: 1 addition & 1 deletion content/posts/terraform-save-plan-apply-output-to-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ author:
tags:
- Terraform
- Infrastructure as Code
- CI/CD
- CICD
- Best Practices
- DevOps
---
Expand Down
4 changes: 2 additions & 2 deletions content/posts/using-ls-list-directories-sizes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'Using ls to list directories and their total sizes'
excerpt: 'How to show directory sizes from the shell - practical commands for macOS and Linux, and why `ls` alone is not enough.'
category:
name: 'Shell'
slug: 'shell'
name: 'Bash'
slug: 'bash'
date: '2025-04-22'
publishedAt: '2025-04-22T09:00:00Z'
updatedAt: '2025-04-22T09:00:00Z'
Expand Down
4 changes: 2 additions & 2 deletions content/posts/which-postgresql-version-am-i-running.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'How to Check Which Version of PostgreSQL You Are Running'
excerpt: "Learn multiple ways to check your PostgreSQL version, including psql commands, SQL queries, and system commands. Find version numbers from the server, client, and package manager."
category:
name: 'Database'
slug: 'database'
name: 'Linux'
slug: 'linux'
date: '2024-12-15'
publishedAt: '2024-12-15T09:00:00Z'
updatedAt: '2024-12-15T09:00:00Z'
Expand Down
4 changes: 2 additions & 2 deletions content/posts/why-c-preprocessor-interprets-linux-as-one.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: 'Why Does the C Preprocessor Interpret "linux" as "1"?'
excerpt: "Discover why the word 'linux' is predefined as the constant 1 in the C preprocessor on Linux systems, and how this historical quirk can cause unexpected compilation errors."
category:
name: 'C'
slug: 'c'
name: 'Linux'
slug: 'linux'
date: '2025-05-22'
publishedAt: '2025-05-22T09:00:00Z'
updatedAt: '2025-05-22T09:00:00Z'
Expand Down
8 changes: 6 additions & 2 deletions content/posts/why-your-ci-pipeline-is-slower.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
---
title: 'Why Your CI/CD Pipeline Is Slower Than It Should Be (and How to Fix It)'
excerpt: 'Small pipeline changes give big wins. Parallelize jobs, cache dependencies, pin images, reuse build artifacts, and run only the tests you need.'
category: 'ci'
category:
name: 'DevOps'
slug: 'devops'
date: '2025-06-10T09:00:00.000Z'
publishedAt: '2025-06-10T09:00:00.000Z'
updatedAt: '2025-06-10T09:00:00.000Z'
readingTime: 4
author: 'DevOps Daily'
author:
name: 'DevOps Daily Team'
slug: 'devops-daily-team'
tags:
- ci
- cicd
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"devops-daily:generate-news:no-ai": "tsx scripts/devops-daily/index.ts --skip-ai",
"og:validate": "tsx scripts/git-hooks/validate-og-data.ts",
"og:validate:staged": "tsx scripts/git-hooks/validate-og-data.ts --staged-only",
"hooks:install": "sh scripts/git-hooks/install.sh"
"hooks:install": "sh scripts/git-hooks/install.sh",
"check-links": "node --import tsx scripts/check-broken-links.ts"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
Expand Down
Loading