Skip to content

feat(GSP1316): site-to-site HA VPN NCC solution and Hashnode guide - #49

Draft
hoangsvit wants to merge 2 commits into
mainfrom
feat/gsp1316-ncc-site-to-site-scout-20261030
Draft

hoangsvit wants to merge 2 commits into
mainfrom
feat/gsp1316-ncc-site-to-site-scout-20261030

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

New lab — GSP1316

Coverage

  • Task 1: create NCC hub.
  • Task 2: discover two routing-vpc-side HA VPN tunnels for each office, create two regional linked VPN spokes with --site-to-site-data-transfer; official 100-point checkpoint.
  • Task 3: discover office VM internal IPs and verify bidirectional ping through the topology.
  • Task 4: cleanup of only the new spokes and hub, opt-in after grading.
  • HASHNODE.md: complete Overview, Setup, resource verification, Task 1–4, manual commands, checkpoint, sources, and Solution at the end. Quick uses exactly two main-branch commands; unavailable until merge. Manual YouTube and diagram embedding rights remain unverified.

Safety and limitations

  • Auto-detect project, zones, regions and VPN tunnels; no hardcoded secret/region/project ID.
  • Refuse ambiguous tunnel selection (must be exactly two routing-side tunnels per office).
  • Idempotent resource creation; bounded retries; least-privilege scope; no modifications to old lab scripts.
  • TTY/NO_COLOR/FORCE_COLOR behavior; no auto-merge or main push.
  • static validated only; runtime/grader unverified. GitHub CI for exact PR head must confirm bash -n and ShellCheck severity error.

Test latest PR commit

Run only in authorized Google Skills Cloud Shell. Resolves latest branch SHA, checks it is nonempty, fetches the immutable commit's script to avoid stale branch caches, and records a SHA-stamped log:

BRANCH=feat/gsp1316-ncc-site-to-site-scout-20261030
SHA="$(git ls-remote https://github.com/ePlus-DEV/storage.git refs/heads/$BRANCH | awk '{print $1}')"
test -n "$SHA" || { echo "Missing latest PR head SHA" >&2; exit 1; }
curl -fL --retry 3 "https://raw.githubusercontent.com/ePlus-DEV/storage/$SHA/labs/GSP1316/lab.sh" -o lab-test.sh
set -o pipefail
FORCE_COLOR=1 bash lab-test.sh 2>&1 | tee "lab-GSP1316-${SHA:0:12}.log"

Do not use source lab.sh in the PR tee test. Runtime/grader PASS is not asserted.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant