Skip to content

Commit 9eb28f9

Browse files
committed
feat: personal website
1 parent 17c7fae commit 9eb28f9

File tree

11 files changed

+307
-5
lines changed

11 files changed

+307
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
33
"name": "Home Lab devcontainer",
4-
"image": "ghcr.io/super-linter/super-linter:v7.1.0",
4+
"image": "ghcr.io/super-linter/super-linter:v7.3.0",
55
"customizations": {
66
"vscode": {
77
"settings": {

.github/workflows/documentation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on: # yamllint disable-line rule:truthy
1414
- "websites-src/home-lab-docs/**"
1515
- "config/mkdocs/home-lab-docs/**"
1616
- scripts/run-mkdocs.sh
17-
workflow_call: null
17+
workflow_dispatch: null
1818

1919
permissions:
2020
contents: read
@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v4
3636
- name: Build the documentation site
3737
run: |
38-
scripts/run-mkdocs.sh "build" "home-lab-docs"
38+
scripts/run-mkdocs.sh "build" "home-lab-docs" "$(pwd)/docs"
3939
# Check if changed files only include files that we can ignore, such as
4040
# when only updating the sitemap
4141
- name: Check documentation updates

config/mkdocs/home-lab-docs/mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
33
docs_dir: "../../../websites-src/home-lab-docs"
44
repo_url: https://github.com/ferrarimarco/home-lab
5-
site_dir: "../../../docs"
5+
site_dir: /dest
66
site_name: Home Lab docs
77
site_url: https://ferrarimarco.info/home-lab
88
strict: true
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
3+
docs_dir: "../../../websites-src/personal-website"
4+
site_dir: /dest
5+
site_name: Marco Ferrari
6+
site_url: https://ferrarimarco.info
7+
strict: true
8+
9+
theme:
10+
name: material
11+
palette:
12+
# Palette toggle for automatic mode
13+
- media: "(prefers-color-scheme)"
14+
toggle:
15+
icon: material/brightness-auto
16+
name: Switch to light mode
17+
18+
# Palette toggle for light mode
19+
- media: "(prefers-color-scheme: light)"
20+
scheme: default
21+
toggle:
22+
icon: material/brightness-7
23+
name: Switch to dark mode
24+
25+
# Palette toggle for dark mode
26+
- media: "(prefers-color-scheme: dark)"
27+
scheme: slate
28+
toggle:
29+
icon: material/brightness-4
30+
name: Switch to system preference
31+
features:
32+
- navigation.top
33+
- navigation.tracking
34+
- toc.follow
35+
36+
extra:
37+
analytics:
38+
provider: google
39+
property: UA-18832248-1
40+
social:
41+
- icon: /fontawesome/regular/envelope
42+
name: send me an email
43+
link: mailto:[email protected]
44+
- icon: fontawesome/brands/github
45+
name: GitHub
46+
link: https://github.com/ferrarimarco
47+
- icon: fontawesome/brands/linkedin
48+
name: LinkedIn
49+
link: https://www.linkedin.com/in/ferrarimark
50+
- icon: fontawesome/brands/stack-overflow
51+
name: Stackoverflow
52+
link: https://stackoverflow.com/users/653462
53+
54+
markdown_extensions:
55+
- pymdownx.superfences:
56+
custom_fences:
57+
- name: mermaid
58+
class: mermaid
59+
format: !!python/name:pymdownx.superfences.fence_code_format
60+
61+
plugins:
62+
- blog
63+
- rss:
64+
match_path: blog/posts/.*
65+
date_from_meta:
66+
as_creation: date
67+
categories:
68+
- categories
69+
- tags
70+
- tags

scripts/run-mkdocs.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,21 @@ set -o pipefail
1111
MKDOCS_CONTAINER_IMAGE_VERSION="9.5.41"
1212
MKDOCS_CONTAINER_IMAGE="squidfunk/mkdocs-material:${MKDOCS_CONTAINER_IMAGE_VERSION}"
1313

14+
SCRIPT_DIRECTORY_PATH=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
15+
echo "Script directory path: ${SCRIPT_DIRECTORY_PATH}"
16+
1417
echo "Running mkdocs: ${MKDOCS_CONTAINER_IMAGE}"
1518

1619
SUBCOMMAND="${1}"
1720
echo "Subcommand: ${SUBCOMMAND}"
21+
shift 1
1822

19-
MKDOCS_CONFIG_FILE_DIRECTORY_NAME="${2}"
23+
MKDOCS_CONFIG_FILE_DIRECTORY_NAME="${1}"
2024
echo "Mkdocs config file directory name: ${MKDOCS_CONFIG_FILE_DIRECTORY_NAME}"
25+
shift 1
26+
27+
MKDOCS_DESTINATION_DIRECTORY_PATH="${1}"
28+
echo "Mkdocs destination directory path: ${MKDOCS_CONFIG_FILE_DIRECTORY_NAME}"
2129

2230
RUN_CONTAINER_COMMAND=(
2331
docker run
@@ -35,6 +43,7 @@ RUN_CONTAINER_COMMAND+=(
3543
--name "mkdocs"
3644
--publish "8000:8000"
3745
--volume "$(pwd)":/docs
46+
--volume "${MKDOCS_DESTINATION_DIRECTORY_PATH}":/dest
3847
--volume /etc/localtime:/etc/localtime:ro
3948
"${MKDOCS_CONTAINER_IMAGE}"
4049
)
@@ -53,6 +62,7 @@ if [[ "${SUBCOMMAND}" == "serve" ]]; then
5362
RUN_CONTAINER_COMMAND+=(
5463
"serve"
5564
"--dev-addr=0.0.0.0:8000"
65+
"--strict"
5666
"${DEFAULT_MKDOCS_ARGS[@]}"
5767
)
5868
elif [[ "${SUBCOMMAND}" == "build" ]]; then
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ferrarimarco.info
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
ferrarimarco:
3+
cv_urls:
4+
- language: English (ENG)
5+
url: https://bit.ly/cv-ferrari-marco
6+
7+
github: ferrarimarco
8+
linkedin: ferrarimark
9+
name: Marco Ferrari
10+
stackoverflow: marco-ferrari
11+
stackoverflow_user_id: "653462"
12+
# Don't use @ in front of your Twitter username because it's already in the template
13+
twitter: ferrarimarco
14+
website_url: https://ferrarimarco.info
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
---
2+
- authors:
3+
- id: ferrarimarco
4+
links:
5+
- type: Reference guide
6+
url: https://cloud.google.com/solutions/supporting-your-migration-with-istio-mesh-expansion-concept
7+
- type: Tutorial
8+
url: https://cloud.google.com/solutions/supporting-your-migration-with-istio-mesh-expansion-tutorial
9+
title: "Supporting your migration with Istio Mesh Expansion"
10+
year: 2021
11+
- authors:
12+
- id: ferrarimarco
13+
links:
14+
- type: Tutorial
15+
url: https://cloud.google.com/architecture/migrating-containers-multi-cluster-gke-ingress-services
16+
title: Migrating to a multi-cluster GKE environment with Multi Cluster Ingress and Multi Cluster Service Discovery
17+
year: 2021
18+
- authors:
19+
- id: ferrarimarco
20+
- name: James Brook
21+
- name: Luca Prete
22+
links:
23+
- type: Reference guide
24+
url: https://cloud.google.com/architecture/migrating-containers-multi-cluster-gke
25+
title: "Migrating containers to Google Cloud: Migrating to a multi-cluster GKE environment"
26+
year: 2021
27+
- authors:
28+
- id: ferrarimarco
29+
links:
30+
- type: Reference guide
31+
url: https://cloud.google.com/architecture/migrating-vms-migrate-for-compute-engine-best-practices
32+
title: "Migrating VMs with Migrate for Compute Engine: Best practices"
33+
year: 2021
34+
- authors:
35+
- id: ferrarimarco
36+
links:
37+
- type: Reference guide
38+
url: https://cloud.google.com/solutions/designing-multi-tenant-architectures
39+
title: "Designing a multi-tenant environment on Google Cloud"
40+
year: 2021
41+
- authors:
42+
- id: ferrarimarco
43+
- name: Jenny Rosewood
44+
links:
45+
- type: Reference guide
46+
url: https://cloud.google.com/solutions/migration-to-gcp-choosing-your-path
47+
title: "Migration to Google Cloud: Choosing your migration path"
48+
year: 2020
49+
- authors:
50+
- id: ferrarimarco
51+
links:
52+
- type: Reference guide
53+
url: https://cloud.google.com/solutions/migrating-containers-to-google-cloud
54+
title: "Migrating Containers to Google Cloud: Getting started"
55+
year: 2020
56+
- authors:
57+
- id: ferrarimarco
58+
links:
59+
- type: Reference guide
60+
url: https://cloud.google.com/solutions/migrating-vms-migrate-for-compute-engine-migrating-vms
61+
title: "Migrate for Compute Engine: Migrating your virtual machines"
62+
year: 2020
63+
- authors:
64+
- id: ferrarimarco
65+
links:
66+
- type: Reference guide
67+
url: https://cloud.google.com/solutions/migrating-vms-migrate-for-compute-engine-building-foundation
68+
title: "Migrate for Compute Engine: Planning and building your foundation"
69+
year: 2020
70+
- authors:
71+
- id: ferrarimarco
72+
links:
73+
- type: Reference guide
74+
url: https://cloud.google.com/solutions/migrating-vms-migrate-for-compute-engine-getting-started
75+
title: "Migrate for Compute Engine: Getting started"
76+
year: 2020
77+
- authors:
78+
- id: ferrarimarco
79+
- name: Giovanni Galloro
80+
links:
81+
- type: Reference guide
82+
url: https://cloud.google.com/solutions/migrating-vms-migrate-for-compute-engine-getting-started
83+
title: "Migrating containers to Google Cloud: Migrating from OpenShift to Anthos"
84+
year: 2020
85+
- authors:
86+
- id: ferrarimarco
87+
- name: Markku Lepisto
88+
- name: Charlie Wang
89+
links:
90+
- type: Reference guide
91+
url: https://cloud.google.com/solutions/building-multi-architecture-container-images-iot-devices
92+
- type: Tutorial
93+
url: https://cloud.google.com/solutions/building-multi-architecture-container-images-iot-devices-tutorial
94+
title: "Building multi-architecture container images for IoT devices"
95+
year: 2020
96+
- authors:
97+
- id: ferrarimarco
98+
links:
99+
- type: Reference guide
100+
url: https://cloud.google.com/solutions/migrating-containers-kubernetes-gke
101+
title: "Migrating containers to Google Cloud: Migrating Kubernetes to GKE"
102+
year: 2020
103+
- authors:
104+
- id: ferrarimarco
105+
links:
106+
- type: Reference guide
107+
url: https://cloud.google.com/solutions/migration-to-google-cloud-automated-containerized-deployments
108+
title: "Migration to Google Cloud: Migrating from manual deployments to automated, containerized deployments"
109+
year: 2020
110+
- authors:
111+
- id: ferrarimarco
112+
- name: Junho Lee
113+
links:
114+
- type: Reference guide
115+
url: https://cloud.google.com/solutions/migration-to-google-cloud-optimizing-your-environment
116+
title: "Migration to Google Cloud: Optimizing your environment"
117+
year: 2020
118+
- authors:
119+
- id: ferrarimarco
120+
links:
121+
- type: Tutorial
122+
url: https://cloud.google.com/solutions/automatically-bootstrapping-gke-nodes-with-daemonsets
123+
title: "Automatically bootstrapping Kubernetes Engine nodes with DaemonSets"
124+
year: 2020
125+
- authors:
126+
- id: ferrarimarco
127+
- name: Markku Lepisto
128+
links:
129+
- type: Tutorial
130+
url: https://cloud.google.com/solutions/tracking-assets-with-iot-devices-pycom-sigfox-gcp
131+
title: "IoT Asset Tracking with Pycom, Sigfox and Google Cloud"
132+
year: 2019
133+
- authors:
134+
- id: ferrarimarco
135+
- name: Ron Pantofaro
136+
links:
137+
- type: Reference guide
138+
url: https://cloud.google.com/solutions/migration-to-gcp-getting-started
139+
title: "Migration to Google Cloud: getting started"
140+
year: 2019
141+
- authors:
142+
- id: ferrarimarco
143+
links:
144+
- type: Reference guide
145+
url: https://cloud.google.com/solutions/migration-to-gcp-assessing-and-discovering-your-workloads
146+
title: "Migration to Google Cloud: Assessing and discovering your workloads"
147+
year: 2019
148+
- authors:
149+
- id: ferrarimarco
150+
links:
151+
- type: Reference guide
152+
url: https://cloud.google.com/solutions/migration-to-gcp-deploying-your-workloads
153+
title: "Migration to Google Cloud: Deploying your workloads"
154+
year: 2019
155+
- authors:
156+
- id: ferrarimarco
157+
- name: Théo Chamley
158+
links:
159+
- type: Reference guide
160+
url: https://cloud.google.com/solutions/migrating-a-monolithic-app-to-microservices-gke
161+
title: "Migrating a monolithic application to microservices on Kubernetes Engine"
162+
year: 2019
163+
- authors:
164+
- id: ferrarimarco
165+
- name: Ron Pantofaro
166+
links:
167+
- type: Reference guide (introduction)
168+
url: https://cloud.google.com/solutions/deploying-ibm-db2-warehouse-on-gcp
169+
- type: Reference guide (part 1)
170+
url: https://cloud.google.com/solutions/deploying-ibm-db2-warehouse-on-compute-engine-using-nfs
171+
- type: Reference guide (part 2)
172+
url: https://cloud.google.com/solutions/deploying-ibm-db2-warehouse-on-compute-engine-using-glusterfs
173+
- type: Reference guide (part 3)
174+
url: https://cloud.google.com/solutions/deploying-ibm-db2-warehouse-on-gke-using-nfs
175+
- type: Reference guide (part 4)
176+
url: https://cloud.google.com/solutions/deploying-ibm-db2-warehouse-on-gke-using-glusterfs
177+
title: "IBM Db2 Warehouse deployment strategies on Google Cloud"
178+
year: 2019
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Index
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
draft: true
3+
date: 2025-03-15
4+
categories:
5+
- test
6+
---
7+
8+
# Test post
9+
10+
This is a test post.

0 commit comments

Comments
 (0)