Skip to content

Commit 1597824

Browse files
committed
feat: personal website
1 parent 1f10d60 commit 1597824

File tree

10 files changed

+167
-7
lines changed

10 files changed

+167
-7
lines changed

.github/workflows/build-mkdocs-site.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on: # yamllint disable-line rule:truthy
55
workflow_call:
66
inputs:
77
site-destination-path:
8-
default: docs
9-
required: false
8+
required: true
109
type: string
1110
site-name:
1211
required: true
@@ -26,7 +25,7 @@ on: # yamllint disable-line rule:truthy
2625
required: true
2726

2827
permissions:
29-
contents: read
28+
contents: write
3029

3130
jobs:
3231
build-push-mkdocs-site:
@@ -48,7 +47,7 @@ jobs:
4847
token: "${{ secrets.repository-github-token }}"
4948
- name: Build the ${{ inputs.site-name }} site
5049
run: |
51-
scripts/run-mkdocs.sh "build" "${{ inputs.site-name }}" "./${{ inputs.site-name }}/${{ inputs.site-source-path }}" "./${{ inputs.site-name }}/${{ inputs.site-destination-path }}"
50+
scripts/run-mkdocs.sh "build" "${{ inputs.site-name }}" "./${{ inputs.site-source-path }}" "./${{ inputs.site-destination-path }}"
5251
- name: Commit and push updates to the ${{ inputs.site-name }} site
5352
if: >
5453
github.event.pull_request.user.login != 'dependabot[bot]' &&

.github/workflows/documentation.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ name: Build and publish documentation site
44
on: # yamllint disable-line rule:truthy
55
push:
66
paths:
7-
- ".github/workflows/build-mkdocs-site.yaml"
87
- ".github/workflows/documentation.yaml"
98
- "websites-src/home-lab-docs/**"
109
- "config/mkdocs/home-lab-docs/**"
1110
- scripts/run-mkdocs.sh
1211
pull_request:
1312
paths:
14-
- ".github/workflows/build-mkdocs-site.yaml"
1513
- ".github/workflows/documentation.yaml"
1614
- "websites-src/home-lab-docs/**"
1715
- "config/mkdocs/home-lab-docs/**"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: "Build and publish website: ferrarimarco.github.io"
3+
4+
on: # yamllint disable-line rule:truthy
5+
push:
6+
paths:
7+
- ".github/workflows/build-mkdocs-site.yaml"
8+
- ".github/workflows/website-ferrarimarco.github.io.yaml"
9+
- "websites-src/ferrarimarco.github.io/**"
10+
- "config/mkdocs/ferrarimarco.github.io/**"
11+
- scripts/run-mkdocs.sh
12+
pull_request:
13+
paths:
14+
- ".github/workflows/build-mkdocs-site.yaml"
15+
- ".github/workflows/website-ferrarimarco.github.io.yaml"
16+
- "websites-src/ferrarimarco.github.io/**"
17+
- "config/mkdocs/ferrarimarco.github.io/**"
18+
- scripts/run-mkdocs.sh
19+
workflow_dispatch: null
20+
21+
permissions:
22+
contents: read
23+
24+
jobs:
25+
build-push-documentation-site:
26+
uses: ./.github/workflows/build-mkdocs-site.yaml
27+
with:
28+
site-destination-path: ferrarimarco.github.io/docs
29+
site-name: ferrarimarco.github.io
30+
site-repository-branch: master
31+
site-repository: ferrarimarco/ferrarimarco.github.io
32+
site-source-path: websites-src/ferrarimarco.github.io
33+
secrets:
34+
repository-github-token: "${{ secrets.FERRARIMARCO_GITHUB_IO_DEPLOY_TOKEN }}"

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ github_conf
4040
node_modules
4141

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

scripts/run-mkdocs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ set -o errexit
105105
if [[ "${RET_CODE}" -eq 1 ]]; then
106106
echo "Documentation commit doesn't contain only files to ignore"
107107
elif [[ "${RET_CODE}" -eq 0 ]]; then
108-
echo "Documentation commit only contains files to ignore. Checking them out from the Git repository to avoid unnecessary site publishing"
108+
echo "Commit only contains files to ignore. Checking them out from the Git repository to avoid unnecessary site publishing"
109109
git -C "${MKDOCS_DESTINATION_DIRECTORY_PATH}" checkout .
110110
else
111111
echo "Error while checking changed files"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ferrarimarco.info
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.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# ~/
2+
3+
Hi, I'm Marco, your friendly neighborhood engineer!
4+
5+
I work as a Cloud Solutions Architect at Google. My team takes care of solving
6+
the hardest technical issues, and first-of-a-kind problems. Then, we build
7+
repeatable solutions for customers to use.
8+
9+
My focus areas are:
10+
11+
- AI infrastructure and accelerators (GPUs, TPUs, etc.)
12+
- AI inference reference architectures
13+
- Migrations (from other cloud providers and on premises environments) to Google
14+
Cloud
15+
- [Platform Engineering](https://en.wikipedia.org/wiki/Platform_engineering),
16+
[Site Reliability Engineering (SRE)](https://en.wikipedia.org/wiki/Site_reliability_engineering),
17+
and [DevOps](https://en.wikipedia.org/wiki/DevOps)
18+
- Arm (Axion) on Google Cloud
19+
- [Federated Learning](https://en.wikipedia.org/wiki/Federated_learning)
20+
- 3D and AI-powered digital twins
21+
22+
## Publications
23+
24+
Here are some of the reference guides and reference architectures that I
25+
authored:
26+
27+
- [AI inference reference architecture on Google Kubernetes Engine](https://github.com/GoogleCloudPlatform/accelerated-platforms/blob/main/docs/platforms/gke/base/use-cases/inference-ref-arch/README.md)
28+
- [Migrate to Google Cloud](https://cloud.google.com/architecture/migration-to-gcp-getting-started)
29+
- [Migrate from Amazon Web Services (AWS) to Google Cloud](https://cloud.google.com/architecture/migration-from-aws-get-started)
30+
- [Migrate from Kubernetes to Google Kubernetes Engine](https://cloud.google.com/architecture/migrating-containers-kubernetes-gke)
31+
- [Migrate across Google Cloud regions](https://cloud.google.com/architecture/migrate-across-regions)
32+
- [Arm on Google Cloud](https://googlecloudplatform.github.io/cloud-solutions/arm-reference-guides/)
33+
- [NVIDIA Omniverse on Google Cloud](https://googlecloudplatform.github.io/cloud-solutions/nvidia-omniverse-on-google-cloud/)
34+
- [Connected devices architectures on Google Cloud](https://cloud.google.com/architecture/connected-devices)
35+
- [Serverless Event Processing](https://googlecloudplatform.github.io/cloud-solutions/serverless-event-processing/)
36+
- [Federated learning on Google Cloud](https://github.com/GoogleCloudPlatform/accelerated-platforms/blob/main/docs/platforms/gke/base/use-cases/federated-learning/README.md)
37+
- [Automatically bootstrapping Google Kubernetes Engine nodes with DaemonSets](https://cloud.google.com/kubernetes-engine/docs/tutorials/automatically-bootstrapping-gke-nodes-with-daemonsets)

0 commit comments

Comments
 (0)