Skip to content
This repository was archived by the owner on Apr 9, 2020. It is now read-only.

Commit d5d2d62

Browse files
committed
Merge branch 'release/0.15.0' into HEAD
2 parents 5f42eb6 + 07dc6d9 commit d5d2d62

File tree

110 files changed

+3344
-1388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+3344
-1388
lines changed

.dependencies

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
DOCKER_MIN_VERSION=1.8.0
2+
DOCKER_API_VERSION=1.16
13
LIBNSS_RESOLVER_VERSION=0.3.0
24
RSYNC_MIN_VERSION=2.6.9
3-
AZK_ISO_VERSION=0.3.0
5+
AZK_ISO_VERSION=0.4.0
46
BATS_VERSION=master

Azkfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var agent_system = function(image, extras) {
5454
VERSION: "#{azk.version}",
5555
},
5656
docker_extra: {
57-
start: { Privileged: true },
57+
HostConfig: { Privileged: true },
5858
}
5959
}, extras);
6060
}
@@ -77,7 +77,7 @@ var test_package_system = function(image){
7777
LOG: "file", // Log docker to file
7878
},
7979
docker_extra: {
80-
start: { Privileged: true },
80+
HostConfig: { Privileged: true },
8181
}
8282
}
8383
}

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## dev
77

8+
## v0.15.0 - (2015-09-15)
9+
10+
* Bug
11+
* [Manifest] Fixing wait not support `false` value;
12+
* [Suggestions] Fixing `command` of php_composer suggestion;
13+
* [Docker] Fixing support to comments and blank lines in `.dockerignore` file during Dockerfile build;
14+
15+
* Enhancements
16+
* [Cli] Start github URLs directly on `azk start` #476;
17+
* [Package] `git` is an `azk` installation dependency #476;
18+
* [Suggestions] Upgrading elixir_phoenix suggestion to work with Phoenix v1.0.0;
19+
* [Docker] Checking Docker version (azk supports Docker v1.8+);
20+
* [Docker] Upgrading to Docker 1.8.1 and locking to use Docker Remote API 1.20;
21+
* [Docker] Refactoring `Docker.run` to use new Docker Remote API;
22+
* [kernel] Separating development environment to be enabled with a single env var
23+
* [VM] Changing the default VM memory amount to be 1/6 of the available in the host
24+
* [Manifest] Adding `env` as a manifest system template;
25+
* [Manifest] Improving how azk handles multiple `http.domains` set by env vars;
26+
27+
* Deprecations
28+
* [Manifest] `docker_extra.start` and `docker_extra.create` is no longer supported, now you must use the container creation options directly, check in: https://docs.docker.com/reference/api/docker_remote_api_v1.20/#create-a-container;
29+
830
## v0.14.6 - (2015-08-20)
931

1032
* Bug
@@ -16,6 +38,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1638
* [Docker] Adding docker version lock;
1739
* [VM] Fixing removal of VM without net interface;
1840

41+
* Enhancements
42+
* [Scale] Adding flag `--no-remove` to start command;
43+
1944
## v0.14.5 - (2015-08-01)
2045

2146
* Bug

README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,39 @@ $ azk start
6969

7070
You can find our documentation online at: http://docs.azk.io/
7171

72+
## `Run Project` button
73+
74+
Clicking the `Run Project` button (or "azk button") on a GitHub repo is the best way to quickly and safely run its code on your local machine.
75+
76+
![Run project](https://s3-sa-east-1.amazonaws.com/assets.azk.io/azk-button.png)
77+
78+
To add a `Run Project` button to a repo, you'll just need to add an Azkfile.js to the project and put the following badge in your README.md file (the following example is for a hypothetical repository with the URL `https://github.com/username/repo` and a branch called `azkfile` containing the Azkfile.js):
79+
80+
```
81+
[![Run project](https://s3-sa-east-1.amazonaws.com/assets.azk.io/azk-button.png)](http://run-stage.azk.io/start/?repo=username/repo&ref=azkfile)
82+
```
83+
84+
Check out the [`Run Project` Gallery][run_project_gallery] for examples of up to date forks of popular projects using it.
85+
86+
## Deploying
87+
88+
After you locally run a project using [`Run Project` button](#running-locally), deploying it to [DigitalOcean](http://digitalocean.com/) is very simple.
89+
90+
First, put your [personal access token](https://cloud.digitalocean.com/settings/applications) into a `.env` file:
91+
92+
```bash
93+
$ cd path/to/the/project
94+
$ echo "DEPLOY_API_TOKEN=<YOUR-PERSONAL-ACCESS-TOKEN>" >> .env
95+
```
96+
97+
Then, just run the following:
98+
99+
```bash
100+
$ azk shell deploy
101+
```
102+
103+
Find further instructions on how to deploy to DigitalOcean using `azk` [here](https://github.com/azukiapp/docker-deploy-digitalocean/blob/master/README.md)
104+
72105
### Basic Vocabulary
73106

74107
#### System of Systems
@@ -83,7 +116,7 @@ In order to automate the provisioning of development environments, `azk` uses pr
83116

84117
`Azkfile.js` files are the cornerstone of how to use `azk`. These simple manifest files describe the systems that make your system of systems as well as the images used in their execution. They also describe parameters and execution options.
85118

86-
More information [here](http://docs.azk.io/en/azkfilejs/README.html).
119+
More information [here][azkfile].
87120

88121
## Contributions
89122

@@ -105,3 +138,5 @@ Check LEGAL and LICENSE files for more information.
105138
[docker_hub]: https://registry.hub.docker.com/
106139
[dockerfile]: http://dockerfile.github.io
107140
[docker_registry]: http://registry.hub.docker.com
141+
[azkfile]: http://docs.azk.io/en/azkfilejs/README.html
142+
[run_project_gallery]: https://github.com/azk-button/gallery

bin/azk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export PATH=$AZK_NPM_PATH/.bin:$PATH
4646

4747
# Load dependencies versions
4848
. ${AZK_ROOT_PATH}/.dependencies
49+
export DOCKER_MIN_VERSION=${DOCKER_MIN_VERSION}
50+
export DOCKER_API_VERSION=${DOCKER_API_VERSION}
4951
export AZK_ISO_VERSION=${AZK_ISO_VERSION}
5052
export LIBNSS_RESOLVER_VERSION=${LIBNSS_RESOLVER_VERSION}
5153
export RSYNC_MIN_VERSION=${RSYNC_MIN_VERSION}

docs/Azkfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ systems({
1818
wait: {"retry": 20, "timeout": 2000},
1919
mounts: {
2020
'/azk/#{manifest.dir}': path("."),
21+
'/azk/CONTRIBUTING.md': path("../CONTRIBUTING.md"),
2122
'/azk/node_modules': persistent("node_modules"),
2223
},
2324
scalable: {"default": 1},
@@ -26,6 +27,7 @@ systems({
2627
domains: [ "#{system.name}.#{azk.default_domain}" ]
2728
},
2829
ports: {
30+
http: "5000/tcp",
2931
livereload: "35729:35729/tcp",
3032
},
3133
},

docs/content/common/azkfilejs/full_example.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ systems({
55
// Dependent systems
66
depends: ["db"],
77
// More images: http://registry.hub.docker.com
8-
image: { docker: "dockerfile/nodejs" },
8+
image: { docker: "azukiapp/node" },
99
// Steps to execute before running instances
1010
provision: [
1111
"npm install",
@@ -30,7 +30,7 @@ systems({
3030
},
3131

3232
db: {
33-
image: { docker: "tutum/mysql" },
33+
image: { docker: "azukiapp/mysql" },
3434
mounts: {
3535
// Activates a persistent data folder in '/data'
3636
"/data": persistent("data-#{system.name}"),
@@ -50,5 +50,5 @@ systems({
5050
});
5151

5252
// Sets a default system (to use: start, stop, status, scale)
53-
setDefault("node-example")
53+
setDefault("node-example");
5454
```

docs/content/en/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
* [command](reference/azkfilejs/command.md)
4949
* [depends](reference/azkfilejs/depends.md)
5050
* [dns_servers](reference/azkfilejs/dns_servers.md)
51+
* [docker_extra](reference/azkfilejs/docker_extra.md)
5152
* [envs](reference/azkfilejs/envs.md)
5253
* [export_envs](reference/azkfilejs/export_envs.md)
5354
* [extends](reference/azkfilejs/extends.md)

docs/content/en/agent/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ For `azk` to work correctly, it depends on the implementation of some services:
44

55
* **Docker**: Container system responsible for image management and systems isolation;
66

7-
* **Máquina Virtual**: Since the `Docker` runtime is only supported on Linux machines, when used in Mac OS X `azk` makes use of a virtual machine (VirtualBox for the time being);
7+
* **Virtual Machine**: Since the `Docker` runtime is only supported on Linux machines, when used in Mac OS X `azk` makes use of a virtual machine (VirtualBox for the time being);
88

9-
* **Serviço de DNS**: Responsible for dns resolution for the domain `*.dev.azk.io`;
9+
* **DNS Service**: Responsible for dns resolution for the domain `*.dev.azk.io`;
1010

11-
* **Balancer HTTP**: Responsible for load-balancing the calls to systems you orchestrate with `azk`;
11+
* **HTTP Balancer**: Responsible for load-balancing the calls to systems you orchestrate with `azk`;
1212

1313
So you do not have to manage each of these services manually, `azk` has what we call the `azk agent`, a service that must always be running for you to use `azk`.
1414

15-
To manage the _agent_ service we have the command `azk agent`. For a complete list of options [visit the agent page](../command-line/agent.md).
15+
To manage the _agent_ service we have the command `azk agent`. For a complete list of options [visit the agent page](../reference/cli/agent.md).

docs/content/en/installation/upgrading.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Once `azk` has been installed via packages the upgrade process becomes really si
1111

1212
```bash
1313
$ azk agent stop
14+
$ brew update
1415
$ brew upgrade azukiapp/azk/azk
1516
```
1617

0 commit comments

Comments
 (0)