Skip to content

Commit

Permalink
Add more workarounds to the instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Jun 17, 2022
1 parent 2cd6186 commit e18ba09
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions content/docs/start/bitbucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ all the supported CI systems.
```bash
git clone https://bitbucket.org/<your-username>/example-cml
```

2. ⚠️ Follow
[these instructions](https://cml.dev/doc/self-hosted-runners?tab=Bitbucket#personal-access-token)
to configure a Bitbucket token for CML.
3. ⚠️ Follow
[these instructions](https://cml.dev/doc/ref/send-comment#bitbucket) to
enable the Pull Request Commit Links application.

3. To create a CML workflow, copy the following into a new file on your main branch,
`bitbucket-pipelines.yml`:
4. To create a CML workflow, copy the following into a new file on your main
branch, `bitbucket-pipelines.yml`:

```yaml
image: iterativeai/cml:0-dvc2-base1
Expand All @@ -39,17 +42,17 @@ all the supported CI systems.
- cml-send-comment report.md
```
4. In your text editor of choice, edit line 15 of `train.py` to `depth = 12`.
5. In your text editor of choice, edit line 15 of `train.py` to `depth = 12`.

5. Commit and push the changes:
6. Commit and push the changes:

```bash
git checkout -b experiment
git add . && git commit -m "modify forest depth"
git push origin experiment
```

6. In Bitbucket, create a Pull Request to compare the `experiment` branch to
7. In Bitbucket, create a Pull Request to compare the `experiment` branch to
`master`.

![](/img/bitbucket_make_pr.png)
Expand Down

0 comments on commit e18ba09

Please sign in to comment.