njord 0.1.0 → 0.1.1
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/.gitignore +1 -0
- data/README.md +20 -10
- data/lib/njord/docker_handler.rb +0 -1
- data/lib/njord/version.rb +1 -1
- metadata +1 -3
- data/.travis.yml +0 -7
- data/Gemfile.lock +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b64ca82ef7c85a0b9ecf3ac2dbf0ab6f10740b5b6731e5f57b254cfcd2155e0
|
|
4
|
+
data.tar.gz: 2935265c084593f696e00a3075aecc2a4d1dd185d252545169ec1f110b899b31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbb75ebda14529c1af1da7273caa42558ddcb4b087144d1d25f0f8340e503902e880c28c4ee3b7abc74793984edff143754682497c905f89fb8255281279c357
|
|
7
|
+
data.tar.gz: 6d58a516e36b0400d584a557da2d36979678849c5526cdd78f01c3f9011f206b8a2a6d79557ad935be21145d9de37728e472c8007483d02fceeee23871550046
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
# Njord
|
|
2
2
|
|
|
3
|
-
Welcome to
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
3
|
+
Welcome to Njord. I needed a gem to help me with some common docker and kubernetes tasks so here it is.
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
9
|
-
Add this line to your application's Gemfile:
|
|
7
|
+
Add this line to your application's Gemfile, preferably in the test/development section:
|
|
10
8
|
|
|
11
9
|
```ruby
|
|
12
10
|
gem 'njord'
|
|
@@ -22,17 +20,29 @@ Or install it yourself as:
|
|
|
22
20
|
|
|
23
21
|
## Usage
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
Njord needs a config file in the directory you want to execute it.
|
|
24
|
+
|
|
25
|
+
Just create `.njord.yml` with the content:
|
|
26
|
+
```yaml
|
|
27
|
+
images:
|
|
28
|
+
- image_name: njord/image1
|
|
29
|
+
docker_repo: hub.docker.com
|
|
30
|
+
dockerfile: Dockerfile
|
|
31
|
+
tagging: git
|
|
32
|
+
- image_name: njord/image2
|
|
33
|
+
docker_repo: hub.docker.com
|
|
34
|
+
dockerfile: Dockerfile-Http
|
|
35
|
+
tagging: git
|
|
36
|
+
```
|
|
28
37
|
|
|
29
|
-
|
|
38
|
+
You can currently use the command `$ njord build`, `$ njord push`. I plan to integrate some k8s commands as well.
|
|
39
|
+
The option `tagging` can currently only be `git`. I will add `sem-ver` soon, to enable semantic versioning without user input.
|
|
30
40
|
|
|
31
|
-
|
|
41
|
+
The finished state of Njord should make a workflow possible, that handles building, tagging, pushing, deploying, rolling back and getting logs.
|
|
32
42
|
|
|
33
43
|
## Contributing
|
|
34
44
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
45
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/DTrierweiler/njord.
|
|
36
46
|
|
|
37
47
|
## License
|
|
38
48
|
|
data/lib/njord/docker_handler.rb
CHANGED
data/lib/njord/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: njord
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Trierweiler
|
|
@@ -47,9 +47,7 @@ extensions: []
|
|
|
47
47
|
extra_rdoc_files: []
|
|
48
48
|
files:
|
|
49
49
|
- ".gitignore"
|
|
50
|
-
- ".travis.yml"
|
|
51
50
|
- Gemfile
|
|
52
|
-
- Gemfile.lock
|
|
53
51
|
- LICENSE.txt
|
|
54
52
|
- README.md
|
|
55
53
|
- Rakefile
|
data/.travis.yml
DELETED
data/Gemfile.lock
DELETED