Skip to content

Commit b185e40

Browse files
committedNov 23, 2016
Allow tag publication on supermarket
Change-Id: I9955703e7159b6f4c48071b35d2692c1f90e5ed1
1 parent c784868 commit b185e40

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed
 

‎.travis.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@ language: ruby
22
cache: bundler
33
rvm:
44
- 2.3.0
5-
before_install:
6-
- openssl aes-256-cbc -K $encrypted_a631c1ae3253_key -iv $encrypted_a631c1ae3253_iv -in .travis/travis-ci.pem.enc -out .travis/travis-ci.pem -d
5+
deploy:
6+
provider: chef-supermarket
7+
user_id: criteo
8+
cookbook_category: Utilities
9+
client_key: ".travis/client.pem"
10+
on:
11+
tags: true
12+
all_branches: true
13+
before_deploy:
14+
- openssl aes-256-cbc -K $encrypted_a631c1ae3253_key -iv $encrypted_a631c1ae3253_iv -in .travis/client.pem.enc -out .travis/client.pem -d

‎.travis/client.pem.enc

1.64 KB
Binary file not shown.

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Example use cases:
1515
- adopt rules to avoid running chef-client during peak hours if its impact has a weigh above a threshold
1616
- simplify definitions of [choregraphies](https://github.com/criteo-cookbooks/choregraphie)
1717

18+
Note: The intent of this cookbook is to validate the interest of a feature that could be integrated in chef.
19+
1820
Usage
1921
-----
2022

‎metadata.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
license 'Apache License'
55
description 'Allow to set weight on resources'
66
long_description 'Installs/Configures resource-weight'
7-
issues_url 'https://github.com/criteo-cookbooks/resource-weight'
8-
source_url 'https://github.com/criteo-cookbooks/resource-weight'
7+
issues_url 'https://github.com/criteo-cookbooks/resource-weight' if defined?(issues_url)
8+
source_url 'https://github.com/criteo-cookbooks/resource-weight' if defined?(source_url)
99
version '0.1.0'
1010
# it should actually support every platform
1111
supports 'centos'

0 commit comments

Comments
 (0)