-
Notifications
You must be signed in to change notification settings - Fork 6
/
openshift-origin-cartridge-nodejs.spec
236 lines (196 loc) · 8.95 KB
/
openshift-origin-cartridge-nodejs.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# RHEL has 0.6 and 0.10. but 0.10 has a prefix for SCL
# Fedora 18 and 19 has 0.10 as the default
%if 0%{?fedora}%{?rhel} <= 6
%global scl nodejs010
%global scl_prefix nodejs010-
%endif
%global cartridgedir %{_libexecdir}/openshift/cartridges/nodejs
Summary: Provides Node.js support
Name: openshift-origin-cartridge-nodejs
Version: 1.29.1
Release: 1%{?dist}
Group: Development/Languages
License: ASL 2.0
URL: http://www.openshift.com
Source0: http://mirror.openshift.com/pub/openshift-origin/source/%{name}/%{name}-%{version}.tar.gz
Requires: rubygem(openshift-origin-node)
Requires: openshift-origin-node-util
%if 0%{?fedora}%{?rhel} <= 6
Requires: %{scl}
%endif
Requires: %{?scl:%scl_prefix}npm
Requires: %{?scl:%scl_prefix}nodejs-pg
Requires: %{?scl:%scl_prefix}nodejs-options
Requires: %{?scl:%scl_prefix}nodejs-supervisor
Requires: %{?scl:%scl_prefix}nodejs-async
Requires: %{?scl:%scl_prefix}nodejs-express
Requires: %{?scl:%scl_prefix}nodejs-connect
Requires: %{?scl:%scl_prefix}nodejs-mongodb
Requires: %{?scl:%scl_prefix}nodejs-mysql
Requires: %{?scl:%scl_prefix}nodejs-node-static
Requires: nodejs
Requires: nodejs-async
Requires: nodejs-connect
Requires: nodejs-express
Requires: nodejs-mongodb
Requires: nodejs-mysql
Requires: nodejs-node-static
Requires: nodejs-pg
Requires: nodejs-supervisor
Requires: nodejs-options
Provides: openshift-origin-cartridge-nodejs-0.6 = 2.0.0
Obsoletes: openshift-origin-cartridge-nodejs-0.6 <= 1.99.9
BuildArch: noarch
%description
Provides Node.js support to OpenShift. (Cartridge Format V2)
%prep
%setup -q
%build
%__rm %{name}.spec
%__rm logs/.gitkeep
find versions/ -name .gitignore -delete
find versions/ -name .gitkeep -delete
%install
%__mkdir -p %{buildroot}%{cartridgedir}
%__cp -r * %{buildroot}%{cartridgedir}
%files
%dir %{cartridgedir}
%attr(0755,-,-) %{cartridgedir}/bin/
%{cartridgedir}/env
%{cartridgedir}/lib
%{cartridgedir}/logs
%{cartridgedir}/metadata
%{cartridgedir}/usr
%{cartridgedir}/versions
%doc %{cartridgedir}/README.md
%doc %{cartridgedir}/COPYRIGHT
%doc %{cartridgedir}/LICENSE
%changelog
* Fri Jul 18 2014 Adam Miller <admiller@redhat.com> 1.29.1-1
- bump_minor_versions for sprint 48 (admiller@redhat.com)
* Wed Jul 09 2014 Adam Miller <admiller@redhat.com> 1.28.5-1
- Merge pull request #5584 from jhadvig/latest_versions
(dmcphers+openshiftbot@redhat.com)
- Bump cartridge versions for 2.0.47 (jhadvig@gmail.com)
* Wed Jul 09 2014 Adam Miller <admiller@redhat.com> 1.28.4-1
- Edit nodejs upgrade script for latest version (jhadvig@redhat.com)
* Mon Jul 07 2014 Adam Miller <admiller@redhat.com> 1.28.3-1
- Card origin_cartridge_224 - Upgrading nodejs quickstarts to version 0.10
(maszulik@redhat.com)
* Tue Jul 01 2014 Adam Miller <admiller@redhat.com> 1.28.2-1
- multiple nodejs processes running in a gear (bparees@redhat.com)
* Thu Jun 26 2014 Adam Miller <admiller@redhat.com> 1.28.1-1
- Merge pull request #5419 from ryanj/npm-globals
(dmcphers+openshiftbot@redhat.com)
- bump_minor_versions for sprint 47 (admiller@redhat.com)
- Include npm CLI scripts in the user's PATH -
https://trello.com/c/eTwC7UbD/174-support-for-javascript-cli-build-tools-
from-npm (ryan.jarvinen@gmail.com)
* Thu Jun 19 2014 Adam Miller <admiller@redhat.com> 1.27.4-1
- Bug 1111314 - Remove mysql-server dependency from nodejs cartridge
(jdetiber@redhat.com)
- Merge pull request #5491 from mfojtik/fix-nodejs-update
(dmcphers+openshiftbot@redhat.com)
- Bug 1104922 - Bump the nodejs cartridge version to trigger update
(mfojtik@redhat.com)
* Wed Jun 18 2014 Adam Miller <admiller@redhat.com> 1.27.3-1
- Fix bug 1108951: correct nodejs update-configuration function
(pmorie@gmail.com)
* Mon Jun 09 2014 Adam Miller <admiller@redhat.com> 1.27.2-1
- Merge pull request #5480 from mfojtik/nodejs_scl
(dmcphers+openshiftbot@redhat.com)
- Bug 1104922 - Add v8314 collection list of enabled SCL for nodejs cart
(mfojtik@redhat.com)
* Thu Jun 05 2014 Adam Miller <admiller@redhat.com> 1.27.1-1
- bump_minor_versions for sprint 46 (admiller@redhat.com)
* Thu May 29 2014 Adam Miller <admiller@redhat.com> 1.26.3-1
- Bump cartridge versions (agoldste@redhat.com)
* Tue May 27 2014 Adam Miller <admiller@redhat.com> 1.26.2-1
- Make READMEs in template repos more obvious (vvitek@redhat.com)
* Fri May 16 2014 Adam Miller <admiller@redhat.com> 1.26.1-1
- bump_minor_versions for sprint 45 (admiller@redhat.com)
* Fri Apr 25 2014 Adam Miller <admiller@redhat.com> 1.25.2-1
- mass bumpspec to fix tags (admiller@redhat.com)
* Fri Apr 25 2014 Adam Miller <admiller@redhat.com>
- mass bumpspec to fix tags (admiller@redhat.com)
* Fri Apr 25 2014 Adam Miller - 1.25.0-2
- bumpspec to mass fix tags
* Wed Apr 16 2014 Troy Dawson <tdawson@redhat.com> 1.24.3-1
- Bumping cartridge versions for sprint 43 (bparees@redhat.com)
* Tue Apr 15 2014 Troy Dawson <tdawson@redhat.com> 1.24.2-1
- Re-introduce cartridge-scoped log environment vars (ironcladlou@gmail.com)
* Wed Apr 09 2014 Adam Miller <admiller@redhat.com> 1.24.1-1
- Removing file listed twice warnings (dmcphers@redhat.com)
- bump_minor_versions for sprint 43 (admiller@redhat.com)
* Thu Mar 27 2014 Adam Miller <admiller@redhat.com> 1.23.3-1
- Update Cartridge Versions for Stage Cut (vvitek@redhat.com)
* Tue Mar 25 2014 Adam Miller <admiller@redhat.com> 1.23.2-1
- Port cartridges to use logshifter (ironcladlou@gmail.com)
* Fri Mar 14 2014 Adam Miller <admiller@redhat.com> 1.23.1-1
- Make nodejs watch just a single file by default instead of REPO_DIR
(mfojtik@redhat.com)
- Removing f19 logic (dmcphers@redhat.com)
- Bug 1073413 - Fix versions in nodejs upgrade script (mfojtik@redhat.com)
- Updating cartridge versions (jhadvig@redhat.com)
- bump_minor_versions for sprint 42 (admiller@redhat.com)
* Mon Mar 03 2014 Adam Miller <admiller@redhat.com> 1.22.2-1
- fix bash regexp in upgrade scripts (vvitek@redhat.com)
- Fixing typos (dmcphers@redhat.com)
- Merge pull request #4847 from mfojtik/bugzilla/1071165
(dmcphers+openshiftbot@redhat.com)
- Bug 1071165 - npm no longer supports its self-signed certificates
(mfojtik@redhat.com)
- Update nodejs cartridge to support LD_LIBRARY_PATH_ELEMENT
(mfojtik@redhat.com)
- Template cleanup (dmcphers@redhat.com)
* Thu Feb 27 2014 Adam Miller <admiller@redhat.com> 1.22.1-1
- bump_minor_versions for sprint 41 (admiller@redhat.com)
* Mon Feb 17 2014 Adam Miller <admiller@redhat.com> 1.21.5-1
- Bug 1065506 - Increase OPENSHIFT_NODEJS_POLL_INTERVAL default value to 10000
(mfojtik@redhat.com)
- Bug 1065681 - Allows users to specify what folder/files supervisor will watch
(mfojtik@redhat.com)
* Wed Feb 12 2014 Adam Miller <admiller@redhat.com> 1.21.4-1
- Merge pull request #4744 from mfojtik/latest_versions
(dmcphers+openshiftbot@redhat.com)
- Card origin_cartridge_111 - Updated cartridge versions for stage cut
(mfojtik@redhat.com)
- Fix obsoletes and provides (tdawson@redhat.com)
* Tue Feb 11 2014 Adam Miller <admiller@redhat.com> 1.21.3-1
- Merge pull request #4712 from tdawson/2014-02/tdawson/cartridge-deps
(dmcphers+openshiftbot@redhat.com)
- Merge pull request #4707 from danmcp/master (dmcphers@redhat.com)
- Cleanup cartridge dependencies (tdawson@redhat.com)
- Merge pull request #4559 from fabianofranz/dev/441
(dmcphers+openshiftbot@redhat.com)
- Bug 888714 - Remove gitkeep files from rpms (dmcphers@redhat.com)
- Removed references to OpenShift forums in several places
(contact@fabianofranz.com)
* Mon Feb 10 2014 Adam Miller <admiller@redhat.com> 1.21.2-1
- Bug 1059374 - Sanitize supervisor_bin/node_bin before pkill
(mfojtik@redhat.com)
- Cleaning specs (dmcphers@redhat.com)
- Bug 1059142 - Fix 'cartridge_bin' command in nodejs control script
(mfojtik@redhat.com)
- Store cartridge_pid in bash variable (mfojtik@redhat.com)
* Thu Jan 30 2014 Adam Miller <admiller@redhat.com> 1.21.1-1
- Bug 1059374 - Sanity check pkill in nodejs control script
(mfojtik@redhat.com)
- Bug 1059144 - Refactored nodejs control script (mfojtik@redhat.com)
- Merge pull request #4593 from mfojtik/card/89
(dmcphers+openshiftbot@redhat.com)
- Card origin_cartridge_89 - Make npm optional and restrict hot_deploy to
supervisor only (mfojtik@redhat.com)
- bump_minor_versions for sprint 40 (admiller@redhat.com)
* Thu Jan 23 2014 Adam Miller <admiller@redhat.com> 1.20.6-1
- Bump up cartridge versions (bparees@redhat.com)
* Fri Jan 17 2014 Adam Miller <admiller@redhat.com> 1.20.5-1
- Merge pull request #4462 from bparees/cart_data_cleanup
(dmcphers+openshiftbot@redhat.com)
- remove unnecessary cart-data variable descriptions (bparees@redhat.com)
* Thu Jan 16 2014 Adam Miller <admiller@redhat.com> 1.20.4-1
- Bug 1048756 - 503 Service Temporarily Unavailable met when accessing after
deploying pacman for nodejs-0.6/0.10 app (bparees@redhat.com)
* Thu Jan 09 2014 Troy Dawson <tdawson@redhat.com> 1.20.3-1
- Bug 1033581 - Adding upgrade logic to remove the unneeded
jenkins_shell_command files (bleanhar@redhat.com)