Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwiedemann committed Jul 4, 2018
1 parent efba84c commit 2451c60
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ script:
- set -e
- cd tests
- git clone git@github.com:andock-ci/drupal-8-demo.git
# Not working now. @TODO: Fix text.
- bats build.bats
- bats server.bats
- bats fin.bats
9 changes: 9 additions & 0 deletions docs/getting-started/build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Sample ansible hooks to build with composer

### build_tasks.yml
```
- name: Init andock-ci environment
command: "composer install"
args:
chdir: "{{ checkout_path }}"
```
12 changes: 10 additions & 2 deletions docs/getting-started/docksal.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,25 @@ fin acp server:ssh-add "ssh-rsa AAAAB3NzaC1yc2EA ..."
```
fin acp config:generate
```

This will create some required config files and templates for init, build, test and update hooks.
#### Build project (optional)
If you like to build your project and push it to target repository before you check it out on andock-ci server.
[See](build.md)
#### Initialize remote environment
```
fin acp fin init
```

#### Update remote environment
```
fin acp fin up
fin acp fin update
```

#### Run tests
```
fin acp fin test
```

### Congratulations, the installation is finished!


Expand Down

0 comments on commit 2451c60

Please sign in to comment.