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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78e825b5742a148ae4ff528cc634f92c0ac9bb9c
4
- data.tar.gz: da02b75215f355a007237c63829b16beba296753
3
+ metadata.gz: feef86d8b31b03606cec79c95cb5d3931e25a94c
4
+ data.tar.gz: 5e1666ef57b38c95f4cf210f4b07796802f96a5b
5
5
  SHA512:
6
- metadata.gz: 1e32b15cb2fab0724f96077dbbd961e3957093c1889fe3b44d8bb93369b10d6665038ce6736d48a8d4047dfc14c04542c4c848d039e471fa745934389713441d
7
- data.tar.gz: 1e343dd00a27b751b140723ab92faadc1df3df043c667c8ca081177f43a457540380db9554d4c1bb852bdc76eec3e604da626a29aa2c9f711ec288e91f0dda5a
6
+ metadata.gz: 97dd4bacab5f372b18cde8045cb5af0aec606485d75ae4fd7b38d5087d98931a3f61e48416963a2df8b3048561888226e2ebfb5b6f93b2190e1df791fd743577
7
+ data.tar.gz: ba1dc1eadf53f50cdd746e91262d2dfd5f2f3ee1e807fd860b17a976134ef55ff5ebcb2aa6f0cffe7ce307f6ad7b732041f99fb3d4680eefd557162d99bdabcb
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ruby:2.1.8-alpine
1
+ FROM ruby:2.3-alpine
2
2
  MAINTAINER Jason Kulatunga <jason@thesparktree.com>
3
3
 
4
4
  RUN mkdir -p /srv/capsulecd
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Gem](https://img.shields.io/gem/dt/capsulecd.svg)](https://rubygems.org/gems/capsulecd)
7
7
  [![Gem](https://img.shields.io/gem/v/capsulecd.svg)](https://rubygems.org/gems/capsulecd)
8
8
  [![Docker Pulls](https://img.shields.io/docker/pulls/analogj/capsulecd.svg)](https://hub.docker.com/r/analogj/capsulecd)
9
- [![Flattr this git repo](https://button.flattr.com/flattr-badge-large.png)](https://flattr.com/submit/auto?fid=jexon1&url=https%3A%2F%2Fgithub.com%2FAnalogJ%2Fcapsulecd&title=CapsuleCD&language=Ruby&tags=github&category=software)
9
+ [![Flattr this git repo](https://button.flattr.com/flattr-badge-large.png)](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
  [![Gemnasium](https://img.shields.io/gemnasium/analogj/capsulecd.svg)]()
@@ -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
- ## Stage pre/post hooks and overrides
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
- - docker pull analogj/capsulecd:chef
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
- - docker run -e "CI=true" -v $PWD:/srv/capsulecd analogj/capsulecd:chef sh -c "bundle install --with test && rake 'spec:chef'"
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
 
@@ -1,3 +1,3 @@
1
1
  module CapsuleCD
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
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.6
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: 2016-04-12 00:00:00.000000000 Z
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.2
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"]
@@ -1,7 +0,0 @@
1
- FROM analogj/capsulecd:latest
2
- MAINTAINER Jason Kulatunga <jason@thesparktree.com>
3
-
4
- RUN apk --update --no-cache add nodejs && \
5
- npm install -g bower
6
-
7
- CMD ["capsulecd", "start", "--source", "github", "--package_type", "javascript"]
data/Dockerfile.node DELETED
@@ -1,7 +0,0 @@
1
- FROM analogj/capsulecd:latest
2
- MAINTAINER Jason Kulatunga <jason@thesparktree.com>
3
-
4
- RUN apk --update --no-cache add nodejs && \
5
- npm install -g bower
6
-
7
- CMD ["capsulecd", "start", "--source", "github", "--package_type", "node"]
data/Dockerfile.python DELETED
@@ -1,7 +0,0 @@
1
- FROM analogj/capsulecd:latest
2
- MAINTAINER Jason Kulatunga <jason@thesparktree.com>
3
-
4
- RUN apk --update --no-cache add python python-dev py-pip && \
5
- pip install tox
6
-
7
- CMD ["capsulecd", "start", "--source", "github", "--package_type", "python"]
data/Dockerfile.ruby DELETED
@@ -1,4 +0,0 @@
1
- FROM analogj/capsulecd:latest
2
- MAINTAINER Jason Kulatunga <jason@thesparktree.com>
3
-
4
- CMD ["capsulecd", "start", "--source", "github", "--package_type", "ruby"]