capsulecd 1.0.6 → 1.0.7
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/Dockerfile +1 -1
- data/README.md +3 -3
- data/circle.yml +2 -2
- data/lib/capsulecd/base/engine.rb +2 -0
- data/lib/capsulecd/version.rb +1 -1
- metadata +3 -8
- data/Dockerfile.chef +0 -26
- data/Dockerfile.javascript +0 -7
- data/Dockerfile.node +0 -7
- data/Dockerfile.python +0 -7
- data/Dockerfile.ruby +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: feef86d8b31b03606cec79c95cb5d3931e25a94c
|
|
4
|
+
data.tar.gz: 5e1666ef57b38c95f4cf210f4b07796802f96a5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97dd4bacab5f372b18cde8045cb5af0aec606485d75ae4fd7b38d5087d98931a3f61e48416963a2df8b3048561888226e2ebfb5b6f93b2190e1df791fd743577
|
|
7
|
+
data.tar.gz: ba1dc1eadf53f50cdd746e91262d2dfd5f2f3ee1e807fd860b17a976134ef55ff5ebcb2aa6f0cffe7ce307f6ad7b732041f99fb3d4680eefd557162d99bdabcb
|
data/Dockerfile
CHANGED
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://rubygems.org/gems/capsulecd)
|
|
7
7
|
[](https://rubygems.org/gems/capsulecd)
|
|
8
8
|
[](https://hub.docker.com/r/analogj/capsulecd)
|
|
9
|
-
[](https://flattr.com/submit/auto?fid=
|
|
9
|
+
[](https://flattr.com/submit/auto?fid=analogj&url=https%3A%2F%2Fgithub.com%2FAnalogJ%2Fcapsulecd&title=CapsuleCD&language=Ruby&tags=github&category=software)
|
|
10
10
|
|
|
11
11
|
<!--
|
|
12
12
|
[]()
|
|
@@ -167,7 +167,7 @@ source_github_api_endpoint: https://git.mycorpsubnet.example.com/v2
|
|
|
167
167
|
source_github_web_endpoint: https://git.mycorpsubnet.example.com/v2
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
##
|
|
170
|
+
## Step pre/post hooks and overrides
|
|
171
171
|
|
|
172
172
|
CapsuleCD is completely customizable, to the extent that you can run your own Ruby code as `pre` and `post` hooks before every step.
|
|
173
173
|
If that's not enough, you can also completely override the step itself, allowing you to use your own business logic.
|
|
@@ -233,7 +233,7 @@ We're actively looking for pull requests in the following areas:
|
|
|
233
233
|
- Rust
|
|
234
234
|
- Scala
|
|
235
235
|
- Swift
|
|
236
|
-
- Any others you can think of
|
|
236
|
+
- [Any others you can think of](https://libraries.io/)
|
|
237
237
|
- CapsuleCD Sources
|
|
238
238
|
- GitLab
|
|
239
239
|
- Bitbucket
|
data/circle.yml
CHANGED
|
@@ -6,7 +6,7 @@ dependencies:
|
|
|
6
6
|
override:
|
|
7
7
|
- docker info
|
|
8
8
|
- docker pull analogj/capsulecd
|
|
9
|
-
|
|
9
|
+
#- docker pull analogj/capsulecd:chef
|
|
10
10
|
- docker pull analogj/capsulecd:javascript
|
|
11
11
|
- docker pull analogj/capsulecd:node
|
|
12
12
|
- docker pull analogj/capsulecd:python
|
|
@@ -14,7 +14,7 @@ dependencies:
|
|
|
14
14
|
|
|
15
15
|
test:
|
|
16
16
|
override:
|
|
17
|
-
|
|
17
|
+
#- docker run -e "CI=true" -v $PWD:/srv/capsulecd analogj/capsulecd:chef sh -c "bundle install --with test && rake 'spec:chef'"
|
|
18
18
|
- docker run -e "CI=true" -v $PWD:/srv/capsulecd analogj/capsulecd:javascript sh -c "bundle install --with test && rake 'spec:javascript'"
|
|
19
19
|
- docker run -e "CI=true" -v $PWD:/srv/capsulecd analogj/capsulecd:node sh -c "bundle install --with test && rake 'spec:node'"
|
|
20
20
|
- docker run -e "CI=true" -v $PWD:/srv/capsulecd analogj/capsulecd:python sh -c "bundle install --with test && rake 'spec:python'"
|
|
@@ -51,6 +51,7 @@ module CapsuleCD
|
|
|
51
51
|
# REQUIRES source_client
|
|
52
52
|
pre_source_process_pull_request_payload
|
|
53
53
|
source_process_pull_request_payload(payload)
|
|
54
|
+
@config.populate_repo_config_file(@source_git_local_path)
|
|
54
55
|
post_source_process_pull_request_payload
|
|
55
56
|
else
|
|
56
57
|
# start processing the payload, which should result in a local git repository that we
|
|
@@ -61,6 +62,7 @@ module CapsuleCD
|
|
|
61
62
|
# REQUIRES source_client
|
|
62
63
|
pre_source_process_push_payload
|
|
63
64
|
source_process_push_payload(payload)
|
|
65
|
+
@config.populate_repo_config_file(@source_git_local_path)
|
|
64
66
|
post_source_process_push_payload
|
|
65
67
|
end
|
|
66
68
|
|
data/lib/capsulecd/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capsulecd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Kulatunga (AnalogJ)
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -94,11 +94,6 @@ files:
|
|
|
94
94
|
- ".rspec"
|
|
95
95
|
- ".simplecov"
|
|
96
96
|
- Dockerfile
|
|
97
|
-
- Dockerfile.chef
|
|
98
|
-
- Dockerfile.javascript
|
|
99
|
-
- Dockerfile.node
|
|
100
|
-
- Dockerfile.python
|
|
101
|
-
- Dockerfile.ruby
|
|
102
97
|
- FEATURES.md
|
|
103
98
|
- Gemfile
|
|
104
99
|
- LICENSE.md
|
|
@@ -213,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
213
208
|
version: '0'
|
|
214
209
|
requirements: []
|
|
215
210
|
rubyforge_project:
|
|
216
|
-
rubygems_version: 2.6.
|
|
211
|
+
rubygems_version: 2.6.8
|
|
217
212
|
signing_key:
|
|
218
213
|
specification_version: 4
|
|
219
214
|
summary: CapsuleCD is a library for automating package releases (npm, cookbooks, gems,
|
data/Dockerfile.chef
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
from ubuntu
|
|
2
|
-
maintainer Jason Kulatunga <jk17@ualberta.ca>
|
|
3
|
-
|
|
4
|
-
run apt-get update
|
|
5
|
-
run apt-get install curl wget git make build-essential -y
|
|
6
|
-
|
|
7
|
-
run wget https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_0.6.2-1_amd64.deb
|
|
8
|
-
run dpkg -i chefdk_0.6.2-1_amd64.deb
|
|
9
|
-
run locale-gen en_US.UTF-8
|
|
10
|
-
|
|
11
|
-
# Make Chef DK the primary Ruby/Chef development environment.
|
|
12
|
-
env PATH /opt/chefdk/bin:/root/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/embedded/bin:$PATH
|
|
13
|
-
env GEM_ROOT /opt/chefdk/embedded/lib/ruby/gems/2.1.0
|
|
14
|
-
env GEM_HOME /root/.chefdk/gem/ruby/2.1.0
|
|
15
|
-
env GEM_PATH /root/.chefdk/gem/ruby/2.1.0:/opt/chefdk/embedded/lib/ruby/gems/2.1.0
|
|
16
|
-
|
|
17
|
-
run which ruby
|
|
18
|
-
run gem install bundler
|
|
19
|
-
|
|
20
|
-
# copy the application files to the image
|
|
21
|
-
workdir /srv/capsulecd
|
|
22
|
-
run git clone https://github.com/AnalogJ/capsulecd.git .
|
|
23
|
-
|
|
24
|
-
run bundle install --with test --without node ruby python javascript
|
|
25
|
-
run bundle exec rake spec:chef
|
|
26
|
-
CMD ["bundle", "exec", "capsulecd", "start", "--runner", "circleci", "--source", "github", "--package_type", "chef"]
|
data/Dockerfile.javascript
DELETED
data/Dockerfile.node
DELETED
data/Dockerfile.python
DELETED
data/Dockerfile.ruby
DELETED