Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/1-the-manual-menace/3-ubiquitous-journey.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ All of these traits lead to one outcome - the ability to build and release quali
echo $GITLAB_PAT
```

..and lets persist it for now:
..and lets persist your Username and Token for now:
```bash
echo "export GITLAB_USER=${GITLAB_USER}" | tee -a ~/.bashrc -a ~/.zshrc
echo "export GITLAB_PAT=${GITLAB_PAT}" | tee -a ~/.bashrc -a ~/.zshrc
```

Expand All @@ -80,11 +81,9 @@ All of these traits lead to one outcome - the ability to build and release quali

```bash#test
cd /projects/tech-exercise
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
```

Use the `GITLAB_PAT` from above when you are prompted for the password (this will be cached)

```bash#test
cd /projects/tech-exercise
git add .
Expand Down
2 changes: 1 addition & 1 deletion docs/1-the-manual-menace/4-extend-uj.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Now, we have our projects, necessary rolebindings and Jenkins up and running. We

```bash
cd /projects/tech-exercise
git remote set-url origin https://<GIT_SERVER>/<TEAM_NAME>/tech-exercise.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git pull
```

Expand Down
2 changes: 1 addition & 1 deletion docs/1-the-manual-menace/5-this-is-gitops.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

```bash
cd /projects/tech-exercise
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git pull
```

Expand Down
2 changes: 1 addition & 1 deletion docs/2-attack-of-the-pipelines/1-sealed-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Sealed Secrets allows us to _seal_ Kubernetes secrets by using a utility called

```bash
cd /projects/tech-exercise
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git pull
```

Expand Down
2 changes: 1 addition & 1 deletion docs/2-attack-of-the-pipelines/3-the-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Why creating pipelines:

```bash
cd /projects/tech-exercise
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git pull
```

Expand Down
2 changes: 1 addition & 1 deletion docs/2-attack-of-the-pipelines/3a-jenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ git push
```bash#test
cd /projects
git clone https://github.com/rht-labs/pet-battle.git && cd pet-battle
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/pet-battle.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/pet-battle.git
git branch -M main
git push -u origin main
```
Expand Down
2 changes: 1 addition & 1 deletion docs/2-attack-of-the-pipelines/3b-tekton.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ In this snippet of the pipeline used in this exercise, we define:
```bash#test
cd /projects
git clone https://github.com/rht-labs/pet-battle-api.git && cd pet-battle-api
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/pet-battle-api.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/pet-battle-api.git
git branch -M main
git push -u origin main
```
Expand Down
2 changes: 1 addition & 1 deletion docs/2-attack-of-the-pipelines/3c-create-new-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ team will be easy following the next instructions.

```bash#test
cd /projects/tech-exercise
git remote set-url origin https://${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git remote set-url origin https://${GITLAB_USER}:${GITLAB_PAT}@${GIT_SERVER}/${TEAM_NAME}/tech-exercise.git
git pull
```

Expand Down