parliament-utils 0.4.2 → 0.5.0
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/Makefile +20 -1
- data/gocd/web1live.yaml +30 -0
- data/lib/parliament/utils/config/initializers/timeout.rb +2 -1
- data/lib/parliament/utils/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ddf7a1e70bcdc34a8eee422e58139b702129923f
|
|
4
|
+
data.tar.gz: 35b65d62db6d438f29597088aaeb3920ab5c7f51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ff11e1eea29d06a256ecb4722921b965af6e994c5c81b83c0564acc04ca9d6354ed07a63641ff648d7d79bc579f225f4ea5805db299f1cc137c51135ade70fd
|
|
7
|
+
data.tar.gz: b92e06674a3c6aad5fa6fe2007ae4c2b4cec5fc7b0575a3ede9603acea3b4feff31bf52f4b633a963753b26036fa9b33910f641daa89623ebfca2b73023c4c7e
|
data/Makefile
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
.PHONY: checkout_to_release deploy_to_release
|
|
2
|
+
|
|
3
|
+
# Github variables
|
|
4
|
+
GITHUB_API=https://api.github.com
|
|
5
|
+
ORG=ukparliament
|
|
6
|
+
REPO=parliament-utils
|
|
7
|
+
LATEST_REL=$(GITHUB_API)/repos/$(ORG)/$(REPO)/releases
|
|
8
|
+
REL_TAG=$(shell curl -s $(LATEST_REL) | jq -r '.[0].tag_name')
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
gemset:
|
|
2
12
|
rvm gemset create parliament-utils
|
|
3
13
|
rvm --force gemset empty parliament-utils
|
|
@@ -13,4 +23,13 @@ build:
|
|
|
13
23
|
|
|
14
24
|
release: build test
|
|
15
25
|
gem push parliament-utils-*.gem
|
|
16
|
-
rm parliament-utils-*.gem
|
|
26
|
+
rm parliament-utils-*.gem
|
|
27
|
+
|
|
28
|
+
checkout_to_release:
|
|
29
|
+
git checkout -b release $(REL_TAG)
|
|
30
|
+
|
|
31
|
+
deploy_to_release:
|
|
32
|
+
gem build *.gemspec
|
|
33
|
+
gem push *.gem
|
|
34
|
+
rm *.gem
|
|
35
|
+
|
data/gocd/web1live.yaml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
pipelines:
|
|
2
|
+
GEM-utils:
|
|
3
|
+
group: Dependencies
|
|
4
|
+
label_template: "${COUNT}"
|
|
5
|
+
materials:
|
|
6
|
+
GEM-utils-git:
|
|
7
|
+
git: https://github.com/ukparliament/parliament-utils.git
|
|
8
|
+
branch: master
|
|
9
|
+
auto_update: true
|
|
10
|
+
stages:
|
|
11
|
+
- deploy:
|
|
12
|
+
approval: manual
|
|
13
|
+
jobs:
|
|
14
|
+
deploy:
|
|
15
|
+
tasks:
|
|
16
|
+
- exec:
|
|
17
|
+
run_if: passed
|
|
18
|
+
command: make
|
|
19
|
+
arguments:
|
|
20
|
+
- checkout_to_release
|
|
21
|
+
- exec:
|
|
22
|
+
run_if: passed
|
|
23
|
+
command: make
|
|
24
|
+
arguments:
|
|
25
|
+
- deploy_to_release
|
|
26
|
+
|
|
27
|
+
environments:
|
|
28
|
+
Web.LIVE:
|
|
29
|
+
pipelines:
|
|
30
|
+
- GEM-utils
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
# Temporarily increasing to account for HybridBill document uploads
|
|
2
|
+
Rack::Timeout.timeout = 60
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parliament-utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rebecca Appleyard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parliament-ruby
|
|
@@ -260,6 +260,7 @@ files:
|
|
|
260
260
|
- config/.DS_Store
|
|
261
261
|
- config/locales/en.yml
|
|
262
262
|
- config/puma.rb
|
|
263
|
+
- gocd/web1live.yaml
|
|
263
264
|
- lib/parliament/utils.rb
|
|
264
265
|
- lib/parliament/utils/config/initializers.rb
|
|
265
266
|
- lib/parliament/utils/config/initializers/airbrake.rb
|