Skip to content

Commit 0aec9ab

Browse files
Merge pull request #3444 from anupras-mohapatra-arm/servers-and-cloud-computing
Gerrit LP editorial review + some skill updates
2 parents 2c9c109 + 6bac1e4 commit 0aec9ab

12 files changed

Lines changed: 181 additions & 113 deletions

File tree

.github/skills/code-sample-review/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Check for:
4646
## Workflow
4747

4848
1. Identify the review scope and whether the request is editorial, technical, or mixed.
49-
2. Inspect surrounding prose before judging a code block; code samples should be evaluated in context.
49+
2. Inspect surrounding prose before judging a code block; code samples should be evaluated in context. If you've previously read the page, use context and don't re-read it unless there's a change since the last read.
5050
3. Depending on the type of review, suggest fixes as follows:
5151
- For review requests, report issues by file and line when possible, ordered by learner impact.
5252
- For edit requests, report issues and suggest focused changes that preserve technical intent and existing repository patterns.

.github/skills/link-text-review/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This skill focuses on anchor text and link clarity. For tables, notices, tab pan
1818

1919
## Workflow
2020

21-
1. Identify the target file, directory, section, or selected text.
21+
1. Identify the target file, directory, section, or selected text. If you've previously read the page, use context and don't re-read it unless there's a change since the last read.
2222
2. Read surrounding context before suggesting any changes.
2323
3. After understanding the context of the URL, suggest concise and natural rewrites to the anchor text based on `Quality rules`.
2424
4. After the user accepts suggestions, make changes, then re-open or search changed lines to verify the Markdown link syntax is valid.

.github/skills/markdown-component-edit/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This skill is best when the user highlights text, names a section, or asks for a
1818

1919
## Workflow
2020

21-
1. Use the user's highlighted, selected, or explicitly named text as the edit target. If the target is ambiguous, ask for the exact text, file, or section before editing.
21+
1. Use the user's highlighted, selected, or explicitly named text as the edit target. If the target is ambiguous, ask for the exact text, file, or section before editing. If you've previously read the page, use context and don't re-read it unless there's a change since the last read.
2222
2. Inspect nearby Markdown so the new component fits the surrounding flow.
2323
3. Verify internal links before adding or changing them when practical.
2424
4. Use `component rules` and the `component-patterns` reference and do one of the following:

.github/skills/metadata-description-update/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This skill is for search and discovery metadata. For draft visibility metadata,
3131
## Workflow
3232

3333
1. Identify whether the target is an install guide content page, a Learning Path `_index.md`, or a Learning Path content page.
34-
2. Read the title, existing description, headings, introduction, task flow, code or command context, and validation or conclusion.
34+
2. Read the title, existing description, headings, introduction, task flow, code or command context, and validation or conclusion. If you've previously read the page, use context and don't re-read it unless there's a change since the last read.
3535
3. Add or revise the `description` field in front matter based on quality rules.
3636
4. After editing, re-open or search the files to verify each changed target has one `description` field.
3737
5. Report files changed and note any skipped files.

.github/skills/seo-geo-aeo-review/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ For focused front matter `description` edits only, use `.github/skills/metadata-
2323

2424
## Workflow
2525

26-
1. Identify the target content type and target developer intent.
27-
2. Read the title, front matter description, headings, introduction, prerequisites, main task flow, validation, conclusion, and further reading.
26+
1. Identify the target content type and target developer intent.
27+
2. Read the title, front matter description, headings, introduction, prerequisites, main task flow, validation, conclusion, and further reading. If you've previously read a page, use context and don't re-read it unless there's a change since the last read.
2828
3. State the page's owned task in one sentence. If the task is unclear or too broad, flag it.
2929
4. Review SEO signals:
3030
- The title is task-led and includes the main technology, platform, or tool.

.github/skills/writing-style-review/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use this skill for granular prose, voice, readability, terminology, and style re
1010
## Workflow
1111

1212
1. Identify the target file, section, or selected text.
13-
2. Read surrounding context so style edits preserve the author's intent and the technical flow.
13+
2. Read surrounding context so style edits preserve the author's intent and the technical flow. If you've previously read the page, use context and don't re-read it unless there's a change since the last read.
1414
3. Review the target against the guidelines defined in this skill.
1515
4. Depending on request type, do the following:
1616
- For review requests, report high-impact style issues by file and line when possible.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/_index.md

Lines changed: 56 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
2-
title: Deploy Gerrit on Google Cloud C4A
2+
title: Deploy Gerrit on a Google Cloud C4A instance
33

4-
draft: true
5-
cascade:
6-
draft: true
7-
8-
description: Learn how to install and configure Gerrit on Google Cloud Axion C4A Arm64 instances and benchmark its performance
4+
description: Deploy Gerrit on an Ubuntu 24.04 arm64 Google Cloud C4A virtual machine powered by Google Axion processors, verify web access, and benchmark baseline performance.
95
minutes_to_complete: 30
106

117
who_is_this_for: This is an introductory topic for developers deploying Gerrit in Arm Linux environments, specifically using Google Cloud C4A virtual machines (VM) powered by Axion processors.
@@ -20,8 +16,59 @@ prerequisites:
2016
- A [Google Cloud Platform (GCP)](https://cloud.google.com/free) account with billing enabled
2117
- Basic familiarity with [Gerrit](https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough-github.html)
2218

19+
# START generated_summary_faq
20+
generated_summary_faq:
21+
template_version: summary-faq-v3
22+
generated_at: '2026-06-29T15:40:39Z'
23+
generator: ai
24+
ai_assisted: true
25+
ai_review_required: true
26+
model: gpt-5
27+
prompt_template: summary-faq-v3
28+
source_hash: 7b4d6c5bb04f6ab123243d184e404c074a68440084fd8b9100b2536db2e56a46
29+
summary_generated_at: '2026-06-29T15:40:39Z'
30+
summary_source_hash: 7b4d6c5bb04f6ab123243d184e404c074a68440084fd8b9100b2536db2e56a46
31+
faq_generated_at: '2026-06-29T15:40:39Z'
32+
faq_source_hash: 7b4d6c5bb04f6ab123243d184e404c074a68440084fd8b9100b2536db2e56a46
33+
summary: >-
34+
You'll deploy Gerrit on an Ubuntu 24.04 LTS `arm64` virtual
35+
machine (VM) in Google Cloud using the C4A instance family powered by Google Axion processors (Arm
36+
Neoverse-V2). First, you'll enable external access by creating a Google Cloud firewall
37+
rule for TCP port 8080. Then, you'll provision a `c4a-standard-4` VM, and install Gerrit with the required
38+
packages. You'll confirm a successful setup by loading the Gerrit web console, then establish
39+
a baseline by running a benchmarking script that exercises common Gerrit operations.
40+
The result is a functional Arm-based Gerrit deployment on Google Cloud with initial performance
41+
data suitable for comparison and follow-up analysis.
42+
faqs:
43+
- question: Which Google Cloud port must be open to access the Gerrit web console?
44+
answer: >-
45+
Open TCP port `8080`. Create a firewall rule in the Google Cloud console to allow incoming
46+
traffic on port `8080` so the Gerrit web interface is reachable.
47+
- question: What virtual machine configuration should I use for this deployment?
48+
answer: >-
49+
Use a Google Axion C4A instance with the `c4a-standard-4` machine type (4 vCPUs, 16 GB memory).
50+
The VM runs Ubuntu 24.04 LTS on arm64.
51+
- question: What packages should I install before setting up Gerrit?
52+
answer: >-
53+
Update the system and install `wget`, `default-jdk`, `git`, and `net-tools`. The steps show running
54+
apt update and apt upgrade before installing these tools.
55+
- question: How do I verify that Gerrit is running after installation?
56+
answer: >-
57+
Confirm that the Gerrit web console loads on port `8080` after completing the install steps.
58+
If it doesn't load, review the command outputs from the installation for errors.
59+
- question: How do I run the benchmark and what should I expect?
60+
answer: >-
61+
Clone the `gerrit_test` repository into your VM and run the provided script with `SYNTH_PROFILE=production_like`
62+
and `REQUIRE_GERRIT_METRICS=true`. The script exercises Gerrit functions and captures timing
63+
and performance data for baseline measurement.
64+
# END generated_summary_faq
65+
2366
author: Doug Anson
2467

68+
generate_summary_faq: false
69+
rerun_summary: false
70+
rerun_faqs: false
71+
2572
##### Tags
2673
skilllevels: Introductory
2774
subjects: CI-CD
@@ -42,8 +89,8 @@ operatingsystems:
4289
# ================================================================================
4390
further_reading:
4491
- resource:
45-
title: Google Cloud documentation
46-
link: https://cloud.google.com/docs
92+
title: Google Cloud documentation for C4A VMs
93+
link: https://docs.cloud.google.com/compute/docs/general-purpose-machines#c4a_series
4794
type: documentation
4895

4996
- resource:
@@ -65,3 +112,4 @@ weight: 1
65112
layout: "learningpathall"
66113
learning_path_main_page: "yes"
67114
---
115+
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
---
22
title: About Gerrit and Google Axion C4A
33

4+
description: Review how Gerrit and Google Cloud C4A virtual machines powered by Google Axion processors support the Arm-based deployment and benchmarking workflow.
5+
46
weight: 2
57

68
layout: "learningpathall"
79
---
810

911
## Google Axion C4A Arm instances in Google Cloud
1012

11-
Google Axion C4A is a family of Arm-based virtual machines built on Google’s custom Axion CPU, which is based on Arm Neoverse-V2 cores. Designed for high-performance and energy-efficient computing, these virtual machines offer strong performance for modern cloud workloads such as CI/CD pipelines, microservices, media processing, and general-purpose applications.
13+
C4A is a family of Arm-based virtual machines built on Google’s custom Axion CPU, which is based on Arm Neoverse-V2 cores. Designed for high-performance and energy-efficient computing, these virtual machines offer strong performance for modern cloud workloads.
1214

13-
The C4A series provides a cost-effective alternative to x86 virtual machines while leveraging the scalability and performance benefits of the Arm architecture in Google Cloud.
15+
The C4A series provides a cost-effective alternative to x86 virtual machines while using the scalability and performance benefits of the Arm architecture in Google Cloud.
1416

15-
To learn more about Google Axion, refer to the [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu) blog.
17+
To learn more about Google Axion, see [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu).
1618

1719
## Gerrit
1820

19-
Gerrit is an open-source, web-based code review system for Git repositories that lets teams review proposed commits before they are merged into a codebase. It is especially useful for projects that want patchset-based reviews, inline comments, approval labels, fine-grained permissions, and integration with CI/CD systems before changes land.
21+
Gerrit is an open-source, web-based code review system for Git repositories that lets teams review proposed commits before they are merged into a codebase. It's especially useful for projects that want patchset-based reviews, inline comments, approval labels, fine-grained permissions, and integration with CI/CD systems before changes land.
22+
23+
To learn more about how Gerrit fits into a development workflow and how to review, upload, and manage changes, start with the official Gerrit product overview and user guide.
24+
25+
There's also a [Basic Gerrit Walkthrough — For GitHub Users](https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough-github.html) which explains the core principles of code review in Gerrit compared to pull requests.
26+
27+
## What you've learned and what's next
2028

21-
To learn more, start with the official Gerrit site and documentation, especially the product overview and user guide, which explain how Gerrit fits into a development workflow and how to review, upload, and manage changes.
29+
You've now learned about Gerrit and the Google Axion C4A instance family that you'll use for benchmarking.
2230

23-
There is also a [Basic Gerrit Walkthrough — For GitHub Users](https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough-github.html) which explains the core principles of code review in Gerrit compared to pull requests.
31+
Next, you'll create a firewall rule on Google Cloud Platform to make your Gerrit deployment accessible.

0 commit comments

Comments
 (0)