Skip to content

Commit cbeb866

Browse files
authored
Merge pull request #59 from petems/add_bitbucket_instructions
Add Bitbucket/Stash instructions
2 parents c221d72 + 096719d commit cbeb866

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

README.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Table of Contents
55
* [What You Get From This control\-repo](#what-you-get-from-this-control-repo)
66
* [Copy This Repo Into Your Own Git Server](#copy-this-repo-into-your-own-git-server)
77
* [GitLab](#gitlab)
8-
* [Stash](#stash)
9-
* [GitHub](#github)
8+
* [Bitbucket/Stash](#Bitbucket/Stash)
9+
* [Github](#github)
1010

1111
Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc.go)
1212

@@ -65,9 +65,33 @@ The major points are:
6565
11. Push the production branch of the repository from your machine up to your git server
6666
- `git push origin production`
6767

68-
### Stash
68+
### Bitbucket/Stash
6969

70-
Coming soon!
70+
1. Install Bitbucket
71+
- https://www.atlassian.com/software/bitbucket/download
72+
73+
1. Make a `Project` called `puppet` (with a short name of `PUP`)
74+
75+
1. Create a repository called `control-repo`
76+
77+
1. * Create a user called `r10k` with a password of `puppet`.
78+
* Make the r10k user an admin of the `PUP` project.
79+
80+
1. Either use the admin user to test pushing code, or create a user for yourself and add your SSH key to that user.
81+
* If making a user for yourself, give your user account read/write or admin privilege to the `PUP` project.
82+
83+
1. Clone this control repository to your laptop/workstation
84+
- `git clone <repository url>`
85+
- `cd control-repo`
86+
87+
1. Remove this repository as the origin remote
88+
- `git remote remove origin`
89+
90+
1. Add your internal repository as the origin remote
91+
- `git remote add origin <url of your bitbucket repository>`
92+
93+
1. Push the production branch of the repository from your machine up to your git server
94+
- `git push origin production`
7195

7296
### GitHub
7397

0 commit comments

Comments
 (0)