gitlab.com for CCNP labs
CCNP tasks live on gitlab.com. Do this once; from then on every CCNP (practice) lab makes your
own private copy of each task, gitlab.com/<username>/<task>, clones it to
~/proj/<task>, and creates and starts your runner — nothing to type in the lab.
- A gitlab.com account (free) — none yet? Sign up on gitlab.com.
- A token: Create a token on gitlab.com
(opens with name
ccnp-laband scopeapialready set) → choose an expiry date → Create token → copy theglpat-…value (shown once). - Here: your gitlab.com username and the token → Save.
- Start a CCNP lab on the lab page (settings are read when a lab starts, so a lab already running keeps what it had).
See an example — new student james-bond
- Account: gitlab.com/users/sign_up →
username
james-bond, email, password → confirm the email. Profile:https://gitlab.com/james-bond - Token: signed in on gitlab.com, open
this link →
the form already says name
ccnp-lab, scopeapi✓ → set an expiration date (e.g. 3 months) → Create token → copy the token at the top, e.g.glpat-AbC123xYz…(shown once) - Save here (below): username
james-bond, access tokenglpat-AbC123xYz…→ Save → it shows access token ✓ — your next CCNP lab uses it - Start a lab: lab page → Which lab? Practice lab → Start. While it starts, the lab makes
https://gitlab.com/james-bond/app-building(private), clones it to~/proj/app-building, and starts his runner.
Check, in the lab terminal:
cd ~/proj/app-building git remote -v
shows:
origin https://gitlab.com/james-bond/app-building.git (fetch) origin https://gitlab.com/james-bond/app-building.git (push) upstream https://gitlab.com/hitech-ccnp/app-building.git (fetch) upstream https://gitlab.com/hitech-ccnp/app-building.git (push)
Work and save:
cd ~/proj/app-building mkdir -p calc # create the files from app_building.md, then: git add . git commit -m "calc: first version" git push
Pipelines: https://gitlab.com/james-bond/app-building/-/pipelines ·
runner (green dot): https://gitlab.com/james-bond/app-building/-/settings/ci_cd → Runners.
Next lab: nothing to redo — his work comes back from gitlab.com and a fresh runner starts.
The course tasks (public): gitlab.com/hitech-ccnp. The token is stored encrypted and only sent to your own CCNP workstation; Forget deletes it.
My labs
| Lab ID | Course | Profile | Where | Start | End | Duration | Cost | Status |
|---|
Credit added
| Date | Amount | Note |
|---|