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 c85765d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions content/docs/start/bitbucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ all the supported CI systems.
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,
5. To create a CML workflow, copy the following into a new file on your main branch,
`bitbucket-pipelines.yml`:

```yaml
Expand All @@ -39,17 +41,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 c85765d

Please sign in to comment.