takelage 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +27 -0
- data/lib/takelage/version +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65565a6d1df7dd919ba37c10d2cbe6aea57ada042fe011fcf479bc5b099ecc57
|
|
4
|
+
data.tar.gz: 3929e458be24472d8cacf16b97ce2e4dcd9a42f6608f925ac2f4acd62457cb57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e31c664e395a2580f572e8c9bbca00c013084530ca0ec6b580d0cbd10b744f330fb793da10cef743a6c805e05cfbdf4961f1d4e535b04d01fdc794f0156a0004
|
|
7
|
+
data.tar.gz: 95930209cddd77df858fc8734b96c8c918ac605c46283e5d8d8eb8f93b052e52a0233cd77ea0c6885be11697233cd970188c8bf18127f86704bef33216962d6d
|
data/README.md
CHANGED
|
@@ -114,6 +114,7 @@ or *tau config*.
|
|
|
114
114
|
### Configuration Examples
|
|
115
115
|
|
|
116
116
|
- You should the following configuration items in your *~/.takelage.yml*:
|
|
117
|
+
|
|
117
118
|
```yaml
|
|
118
119
|
---
|
|
119
120
|
bit_remote: 'ssh://bit@bit.example.com:2222:/bit'
|
|
@@ -125,6 +126,7 @@ docker_tagsurl: 'https://hub.example.com/v2/repositories/library/takelage/tags'
|
|
|
125
126
|
|
|
126
127
|
- If you want to pin a specific docker tag for one of your projects
|
|
127
128
|
then create an *takelage.yml* file with:
|
|
129
|
+
|
|
128
130
|
```yaml
|
|
129
131
|
---
|
|
130
132
|
docker_tag: '1.2.3'
|
|
@@ -132,6 +134,7 @@ docker_tag: '1.2.3'
|
|
|
132
134
|
|
|
133
135
|
- The cucumber tests make use of an *~/.takelage.yml*
|
|
134
136
|
to overwrite defaults like:
|
|
137
|
+
|
|
135
138
|
```yaml
|
|
136
139
|
---
|
|
137
140
|
docker_image: takelage-mock
|
|
@@ -154,6 +157,30 @@ or *tau project*.
|
|
|
154
157
|
### Bash Completion
|
|
155
158
|
|
|
156
159
|
Add this to your [bash startup files](https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html):
|
|
160
|
+
|
|
157
161
|
```bash
|
|
158
162
|
source <(tau completion bash)
|
|
159
163
|
```
|
|
164
|
+
|
|
165
|
+
### Software Tests
|
|
166
|
+
|
|
167
|
+
*takelage-cli* ships with
|
|
168
|
+
[cucumber](https://github.com/cucumber/cucumber) ruby tests.
|
|
169
|
+
It uses cucumber's
|
|
170
|
+
[aruba](https://github.com/cucumber/aruba) extension and especially its
|
|
171
|
+
[filesystem](https://relishapp.com/cucumber/aruba/v/0-11-0/docs/filesystem)
|
|
172
|
+
library.
|
|
173
|
+
|
|
174
|
+
*takelage-cli* deploys a private docker
|
|
175
|
+
[registry](https://docs.docker.com/registry/deploying/)
|
|
176
|
+
to conduct end-to-end tests of *tau docker* commands.
|
|
177
|
+
The registry exposes port 5005.
|
|
178
|
+
You need to whitelist it in your host's docker engine configuration:
|
|
179
|
+
|
|
180
|
+
```json
|
|
181
|
+
{
|
|
182
|
+
"insecure-registries": [
|
|
183
|
+
"host.docker.internal:5005"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
```
|
data/lib/takelage/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|