test by rahulteja16 · Pull Request #282 · sous-chefs/java · GitHub
Skip to content
Closed

test #282

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
001c48c
Updates testing instructions
carmstrong Mar 22, 2014
cac108f
Updates testing instructions
carmstrong Mar 22, 2014
8d2de7a
Reorganizes README to be more clear
carmstrong Mar 22, 2014
2f400ef
Merge pull request #154 from socrata-cookbooks/jdk_8_warning
carmstrong Mar 22, 2014
1b7a3c9
Prepare changelog for 1.22.0 release
carmstrong Mar 22, 2014
0a86140
Version bump to 1.22.0
carmstrong Mar 22, 2014
5773a0a
Bump version for development
carmstrong Mar 22, 2014
3b9ed54
Remove VirtualBox specific box_urls
hectcastro Mar 22, 2014
b709d6c
Adding require_chef_omnibus flag back.
hectcastro Mar 23, 2014
9c9dac7
Merge pull request #157 from hectcastro/hc-kitchen-box-url
carmstrong Mar 23, 2014
d092f12
Updated README for accepting oracle terms
Mar 27, 2014
cfd599d
Merge pull request #158 from scottbessler/patch-1
carmstrong Mar 27, 2014
7d3fba6
Support Server JRE
ijin Apr 13, 2014
55214a4
default: don't fail when using java 8 on windows
davidmc24 Apr 15, 2014
d8b698c
add retry attributes to java_ark lwrp
cwjohnston Apr 15, 2014
d7baa5e
update java_ark resources to make use of retries
cwjohnston Apr 15, 2014
f073be8
Merge pull request #167 from davidmc24/feature/tweak-jdk8-warning
carmstrong Apr 17, 2014
5abcf27
Merge pull request #165 from ijin/server_jre
carmstrong Apr 17, 2014
2377dba
add ark_retries and ark_retry_delay attrs to .kitchen.yml
cwjohnston Apr 20, 2014
7c71f05
add default retry parameter attributes
cwjohnston Apr 21, 2014
b7cf409
Update Oracle JDK7 to version 7u55
gzurowski Apr 22, 2014
138b6ba
Merge pull request #170 from gzurowski/OracleJDK-7u55
carmstrong Apr 22, 2014
824df4e
Merge pull request #169 from cwjohnston/retry
carmstrong Apr 22, 2014
67127b5
Update Oracle JDK8 to version 8u5
gzurowski Apr 22, 2014
5eaffe2
Merge pull request #171 from gzurowski/OracleJDK-8u5
carmstrong Apr 22, 2014
b2914e2
Fixed the URLs for JDK8
FrontierPsychiatrist Apr 24, 2014
4df85e7
Merge pull request #175 from FrontierPsychiatrist/jdk8_link_fix
carmstrong Apr 24, 2014
83fa4ff
Change ownership of extracted files
gzurowski Apr 24, 2014
8f17c13
Merge pull request #176 from gzurowski/FixExtractedFilesOwner
carmstrong Apr 24, 2014
71a4845
Update Oracle JDK7 to version 7u60
gzurowski May 28, 2014
9bb77e0
Update default.rb
emekaonu May 28, 2014
eb16180
Merge pull request #180 from gzurowski/OracleJDK-7u60
carmstrong May 29, 2014
ef17a80
Bump version
carmstrong Jul 10, 2014
bf5fb1f
Allow for alternatives priority to be set from attribute.
brenttheisen Jul 23, 2014
ffa96fd
Upgrade Oracle's Java 8 to u11
mauricio Jul 25, 2014
cd295ed
Bump JDK7 URLs to 7u65
erichelgeson Jul 25, 2014
7817bf1
Merge pull request #191 from mauricio/patch-1
erichelgeson Jul 25, 2014
d0b3a93
Merge pull request #192 from erichelgeson/master
bobbywarner Jul 25, 2014
3485d69
Merge pull request #181 from juoemeka/patch-1
bobbywarner Jul 25, 2014
045233d
Merge pull request #188 from brenttheisen/alternatives_priority_pr
bobbywarner Jul 25, 2014
5e553b3
Release nodes for 1.23.0
erichelgeson Jul 25, 2014
8a87cad
Update to 1.24.0, 1.23.0 was never published.
erichelgeson Jul 25, 2014
7889021
Forgot to update metadata with latest version.
erichelgeson Jul 25, 2014
afbcb0b
Allow ark to pull from http and files ending in .gz. Closes #172
erichelgeson Jul 25, 2014
2dea1d9
Update urls to agileorbit-cookbooks
erichelgeson Jul 29, 2014
322cca7
Adding ubuntu-14.04 to test suite
erichelgeson Jul 29, 2014
78f4ad8
Closes #168 - Add option to put JAVA_HOME in /etc/environment
erichelgeson Jul 29, 2014
7620e48
Updated maintainer in metadata
bobbywarner Jul 29, 2014
df0618c
Adding ubuntu-14.04 to test suite
erichelgeson Jul 29, 2014
2806064
Add color to code samples and update contrib
erichelgeson Jul 29, 2014
7ec3014
Wrong tick in code
erichelgeson Jul 29, 2014
b15d21a
Set the default bin_cmds to an empty array. Fixes #189
erichelgeson Jul 29, 2014
1cb4a5f
New synax for color in rspec3
erichelgeson Jul 30, 2014
e703e21
Update testing instructions for chefdk
erichelgeson Jul 30, 2014
cb4417c
Do not execute the pending tests as they never get executed.
erichelgeson Jul 30, 2014
cccfb4c
Merge pull request #195 from erichelgeson/etcenv
bobbywarner Jul 30, 2014
dc6f6a2
add tests for updating /etc/environment
erichelgeson Jul 30, 2014
044a338
rspec depricated config.treat_symbols_as_metadata_keys_with_true_values
erichelgeson Jul 30, 2014
0a54ce3
Use Supermarket endponit in berks
erichelgeson Jul 31, 2014
3d2c70b
Recommendations for inclusion in community cookbooks - Addresses #190
erichelgeson Jul 31, 2014
cde9ac2
Merge pull request #196 from erichelgeson/master
bobbywarner Jul 31, 2014
ee231bb
Note about deploying with oracle java
erichelgeson Jul 31, 2014
f1f5125
Release 1.25.0
erichelgeson Jul 31, 2014
c80afce
Update Oracle JDK7 to version 7u67
gzurowski Aug 6, 2014
f5d3eb7
Merge pull request #198 from gzurowski/jdk7-u67
erichelgeson Aug 6, 2014
3670dc6
Allow pinning of package versions for openjdk
jspc Aug 13, 2014
c40f77b
Merge pull request #201 from FundingCircle/allow_version_pinning
erichelgeson Aug 13, 2014
63ca065
Support specific version and name for Oracle RPM (#184).
carguel Jul 10, 2014
6e98723
Added tests for java::oracle_rpm recipe
Aug 14, 2014
2b61ee9
Remove focus
Aug 15, 2014
611e3c1
Ratified tests, improved coverage
Aug 15, 2014
ccc0b50
Release 1.26.0
erichelgeson Aug 16, 2014
18cf296
jdk 8u20
erichelgeson Aug 22, 2014
82a284c
Release 1.27.0
erichelgeson Aug 22, 2014
0c5c041
In the ark provider, it doesn't compare the MD5 sum with the right va…
Aug 29, 2014
1f7078c
Add -no-same-owner parameter to tar extract to avoid issues when the
Aug 29, 2014
66b703b
Allow setting of group to extracted java files.
erichelgeson Aug 30, 2014
67d4550
Release 1.28.0
erichelgeson Sep 6, 2014
84b6f19
Add Fedora 20 and CentOS 7 to .kitchen.yml
sciurus Sep 7, 2014
6a55b8a
Merge pull request #205 from sciurus/master
erichelgeson Sep 8, 2014
e4b2520
Update Readme to be clear that provided code is a role and just an ex…
erichelgeson Sep 16, 2014
6bd80fb
Fix indent on kitchen.yml
erichelgeson Sep 22, 2014
11f032e
Adding Debian 7.6 Closes #211
erichelgeson Oct 6, 2014
700171b
Missing yum for integration tests
erichelgeson Oct 6, 2014
896315a
Adding ISSUES.md for guidence on creating new issues for the Java coo…
erichelgeson Oct 6, 2014
a4c6e9a
Adding a connect_timeout option for downloading java.
D1plo1d Aug 27, 2014
14b7095
Merge branch 'patch-1' of github.com:D1plo1d/java into D1plo1d-patch-1
erichelgeson Oct 11, 2014
ea5f632
Merge branch 'D1plo1d-patch-1'
erichelgeson Oct 11, 2014
f65eda0
Upgrade Java 7 to latest version
Oct 21, 2014
6a832e7
Merge pull request #214 from ajardan/master
erichelgeson Oct 21, 2014
d32f997
Update to JDK 8u25
Nov 5, 2014
e93c9a5
Merge pull request #217 from utobi/master
erichelgeson Nov 6, 2014
34de63d
Switch to chef-zero provisioner
erichelgeson Oct 23, 2014
26b3dab
Ensure dirs, links, and jinfo files are owned correctly. Closes #216
erichelgeson Nov 6, 2014
91dd94b
Fix IBM tests - Chef cache path behavior seems to have changed and se…
erichelgeson Nov 14, 2014
343c995
Release v1.29.0
erichelgeson Nov 14, 2014
16cc33b
Correct date in changelog
erichelgeson Nov 14, 2014
eac6424
Change to ChefSpec::ServerRunner to remove depricated warning
erichelgeson Nov 14, 2014
15a9309
Use command_timeout attribute in java_ark specified by new node
dschlenk Nov 21, 2014
d7c1d82
Merge pull request #220 from dschlenk/command_timeout_attribute
erichelgeson Nov 21, 2014
956e791
Use ChefDK for testing.
erichelgeson Nov 21, 2014
84096a2
Add ability to install JCE policy files for oracle JDK
spion06 Dec 12, 2014
2715566
Set connect timeout to a rationally short value
eherot Dec 18, 2014
594fb13
Merge pull request #228 from spion06/jce
erichelgeson Jan 8, 2015
d19b3bd
Merge pull request #230 from evertrue/evertrue/eherot/use_rational_co…
erichelgeson Jan 8, 2015
2e89707
Files for Travis CI
erichelgeson Jan 8, 2015
434d165
Add Java code used for testing JCE policy installation
spion06 Jan 9, 2015
0284ede
Merge pull request #231 from spion06/jce_test_source
erichelgeson Jan 9, 2015
d2afcc7
Update Oracle JDK7 to version 7u75
gzurowski Jan 24, 2015
4917353
Merge pull request #234 from gzurowski/UpdateJDK7u75
erichelgeson Jan 26, 2015
914d5b7
Update JDK 8 Version
GeBeater Jan 23, 2015
d340713
Merge branch 'pr-233'
erichelgeson Jan 26, 2015
a7fcb32
Ignore style on travis for now.
erichelgeson Jan 26, 2015
36ada9f
This doesnt raise an error on travis but does locally, commenting out…
erichelgeson Jan 26, 2015
cb21afe
Release v1.31.0
erichelgeson Feb 3, 2015
5fc3e08
Fix jdk version in changelog
erichelgeson Feb 3, 2015
d4e59f5
Update metadata.rb to contain source and issue information for superm…
Feb 10, 2015
806bd54
Remove tab
Feb 10, 2015
f7bd044
Merge pull request #239 from skazzyy/add-source-url-to-metadata
erichelgeson Feb 10, 2015
d4b4454
Revert "Merge pull request #239 from skazzyy/add-source-url-to-metadata"
erichelgeson Feb 10, 2015
8a5ccef
opscode2chef
Feb 18, 2015
74c8ca0
Revert "opscode2chef"
erichelgeson Feb 18, 2015
c7baf62
add openjdk-1.8.0 bin_cmds
thoutenbos Feb 19, 2015
b840c07
Merge pull request #245 from schubergphilis/openjdk-1.8.0
erichelgeson Feb 23, 2015
7295133
Add support for Mac OS X "mac_os_x" via homebrew.
danieljimenez Feb 15, 2015
ef10d89
Update oracle jdk 8 version to 8u40
savulchik Mar 4, 2015
7bfc4d2
Looks like the brew cask team has removed the Java7 cask. Moving to J…
danieljimenez Mar 4, 2015
bd1b7da
Merge pull request #248 from savulchik/update-oracle-java8u40
erichelgeson Mar 5, 2015
c9abfc8
Merge pull request #241 from danieljimenez/master
erichelgeson Mar 5, 2015
6319102
Added attibute reset_alternatives to providers, and reset only if it …
ifel Apr 3, 2015
a6f6c2b
Added use_alt_suffix attibute to ark provider
ifel Apr 3, 2015
f6baf86
Increased cookbook version
ifel Apr 3, 2015
f0d233a
Added ability to control alt suffix usage and reset alternatives via …
ifel Apr 3, 2015
5e639fc
Remove alternative before install it if prio is changed, this prevent…
ifel Apr 3, 2015
e8f0899
Fixes #257 Changed switches for the jdk 8 exe installer on windows
Apr 13, 2015
acaf05c
Updated Oracle JDK to 8u45
frankwis Apr 24, 2015
be8b63e
Fixes #155 to allow install of OpenJDK 1.8.
Apr 30, 2015
45166fd
Ensured tar package installed before using java_ark resource. [Fixes …
patcon Jun 26, 2015
53f50e0
Merge pull request #276 from patcon/feature/263-install-tar
erichelgeson Jul 6, 2015
4e0815f
Merge pull request #270 from ClouDesire/issue#257
erichelgeson Jul 6, 2015
931f6ce
Merge pull request #266 from johnbellone/master
erichelgeson Jul 6, 2015
5c83cf3
Merge pull request #264 from frankwis/master
erichelgeson Jul 6, 2015
1129957
openjdk8 should not raise error anymore
erichelgeson Jul 6, 2015
b931513
Merge pull request #259 from ifel/alternatives
erichelgeson Jul 10, 2015
6abbabc
Update to Oracle JDK 1.8.0_51
Jul 15, 2015
5dac735
Merge pull request #278 from ajkerr/update-to-jdk-1.8.0_51
erichelgeson Jul 17, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 41 additions & 9 deletions .kitchen.yml
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: ruby
bundler_args: --without integration
rvm:
- 2.1.4
script:
- bundle exec rake travis
5 changes: 4 additions & 1 deletion Berksfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
site :opscode
source "https://supermarket.getchef.com"
metadata

group :integration do
cookbook 'apt', '~> 2.0'
cookbook 'yum', '~> 3.3'
cookbook 'windows', '~> 1.12'
cookbook 'homebrew', '~> 1.12'
cookbook 'test_java', path: 'test/fixtures/cookbooks/test_java'
end
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,93 @@ Java Cookbook CHANGELOG
=======================
This file is used to list changes made in each version of the Java cookbook.

v1.30 - 2/3/2015
-------
- Update to latest JDKs for 7 and 8. JDK7 will be EOL April 2015
- Fix up Travis support.
- Add ability to install JCE policy files for oracle JDK #228
- Change connect timeout to 30 seconds

v1.29.0 - 11/14/2014
-------
### Bug
- **[#216](https://github.com/agileorbit-cookbooks/java/pull/216)** - Ensure dirs, links, and jinfo files are owned correctly
- **[#217](https://github.com/agileorbit-cookbooks/java/pull/217)** - Update to Oracle JDK 8u25
- **[#214](https://github.com/agileorbit-cookbooks/java/pull/214)** - Update to Oracle JDK 7u71-b14

### Improvement
- Adding a connect_timeout option for downloading java.

### Misc
- Switched to chef-zero provisioner in test suites.
- Adding ISSUES.md for guidance on creating new issues for the Java cookbook.
- Fix IBM unit tests.

v1.28.0 - 9/6/2014
-------
### Improvement
- Allow setting of group to extracted java files.

### Bug
- Add -no-same-owner parameter to tar extract to avoid issues when the chef cache dir is on an NFS mounted drive.
- In the ark provider, it doesn't compare the MD5 sum with the right value which causes Java cookbook always download tarball from oracle server

v1.27.0 - 8/22/2014
-------
- Update Oracle JDK8 to version 8u20

v1.26.0 - 8/16/2014
-------
- **[#201](https://github.com/agileorbit-cookbooks/java/pull/201)** - Allow pinning of package versions for openjdk
- **[#198](https://github.com/agileorbit-cookbooks/java/pull/198)** - Update Oracle JDK7 to version 7u67
- **[#189](https://github.com/agileorbit-cookbooks/java/pull/184)** - Support specific version and name for Oracle RPM

v1.25.0 - 8/1/2014
-------
### Improvement
- **[#189](https://github.com/agileorbit-cookbooks/java/pull/189)** - Resource ark -> attribute bin_cmds default value
- **[#168](https://github.com/agileorbit-cookbooks/java/pull/168)** - Add option to put JAVA_HOME in /etc/environment
- **[#172](https://github.com/agileorbit-cookbooks/java/pull/172)** - Allow ark to pull from http and files ending in .gz.

### Documentation
- Recommendations for inclusion in community cookbooks
- Production Deployment with Oracle Java
- Update testing instructions for chefdk
- Various Readme formatting.

### Misc
- Use Supermarket endpoint in berksfile
- rspec cleanup
- Adding ubuntu-14.04 to test suite

v1.24.0 - 7/25/2014
-------
New Cookbook maintainer! **[Agile Orbit](http://agileorbit.com)**

### Improvement
- **[#192](https://github.com/agileorbit-cookbooks/java/pull/192)** - Bump JDK7 URLs to 7u65
- **[#191](https://github.com/agileorbit-cookbooks/java/pull/192)** - Upgrade Oracle's Java 8 to u11
- **[#188](https://github.com/agileorbit-cookbooks/java/pull/188)** - Allow for alternatives priority to be set from attribute.
- **[#176](https://github.com/agileorbit-cookbooks/java/pull/176)** - Change ownership of extracted files
- **[#169](https://github.com/agileorbit-cookbooks/java/pull/169)** - Add retries and retry_delay parameters to java_ark LWRP
- **[#167](https://github.com/agileorbit-cookbooks/java/pull/167)** - default: don't fail when using java 8 on windows
- **[#165](https://github.com/agileorbit-cookbooks/java/pull/165)** - Support for Server JRE
- **[#158](https://github.com/agileorbit-cookbooks/java/pull/158)** - Updated README for accepting oracle terms
- **[#157](https://github.com/agileorbit-cookbooks/java/pull/157)** -Remove VirtualBox specific box_urls
- List AgileOrbit as the maintainer (AgileOrbit took over from Socrata in July 2014)

v1.23.0 - 7/25/2014
-------
- Tagged but never published to community cookbooks. All changes rolled into 1.24.0

v1.22.0
-------
### Improvement
- **[#148](https://github.com/socrata-cookbooks/java/pull/148)** - Add support for Oracle JDK 1.8.0
- **[#150](https://github.com/socrata-cookbooks/java/pull/150)** - Make use of Chef's cache directory instead of /tmp
- **[#151](https://github.com/socrata-cookbooks/java/pull/151)** - Update Test Kitchen suites
- **[#154](https://github.com/socrata-cookbooks/java/pull/154)** - Add safety check for JDK 8 on non-Oracle

v1.21.2
-------
### Bug
Expand Down
8 changes: 2 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. **Add tests!**
4. [**Add tests!**](https://github.com/agileorbit-cookbooks/java/blob/master/TESTING.md)
5. Push to the branch (`git push origin my-new-feature`)
6. Create new Pull Request

Is the Chef CCLA required?
-------------
As this cookbook is no longer maintained by Chef, you **do not** need to sign any sort of contributor agreement. Simply make your change and open a pull request.

Do I need to open a JIRA ticket at https://tickets.opscode.com ?
-------------
Nope! We use GitHub issues to track issues and requests.
Contributions will only be accepted if they are fully tested as specified in [TESTING.md](https://github.com/agileorbit-cookbooks/java/blob/master/TESTING.md)
16 changes: 10 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
source 'https://rubygems.org'

gem 'berkshelf', '~> 2.0'
gem 'chefspec', '~> 3.1'
gem 'foodcritic', '~> 3.0'
gem 'rubocop', '~> 0.12'
gem 'rake'
gem 'berkshelf', '~> 3.2.1'

group :test do
gem 'foodcritic', '~> 4.0.0'
gem 'rubocop', '~> 0.27.1'
gem 'chefspec', '~> 4.1.1'
end

group :integration do
gem 'test-kitchen', '~> 1.2.1'
gem 'kitchen-vagrant', '~> 0.14.0'
gem 'test-kitchen', '~> 1.2.1'
gem 'kitchen-vagrant', '~> 0.15'
end
43 changes: 43 additions & 0 deletions ISSUES.md
Loading