-
Notifications
You must be signed in to change notification settings - Fork 0
/
openshift-origin-cartridge-mysql.spec
executable file
·136 lines (106 loc) · 4.8 KB
/
openshift-origin-cartridge-mysql.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
%global cartridgedir %{_libexecdir}/openshift/cartridges/v2/mysql
%global frameworkdir %{_libexecdir}/openshift/cartridges/v2/mysql
Summary: Provides embedded mysql support
Name: openshift-origin-cartridge-mysql
Version: 0.2.3
Release: 1%{?dist}
Group: Network/Daemons
License: ASL 2.0
URL: http://www.openshift.com
Source0: http://mirror.openshift.com/pub/openshift-origin/source/%{name}/%{name}-%{version}.tar.gz
Requires: mysql-server
Requires: mysql-devel
Requires: rubygem(openshift-origin-node)
Requires: openshift-origin-node-util
BuildArch: noarch
%description
Provides mysql cartridge support to OpenShift. (Cartridge Format V2)
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{cartridgedir}
mkdir -p %{buildroot}/%{_sysconfdir}/openshift/cartridges/v2
cp -r * %{buildroot}%{cartridgedir}/
ln -s %{cartridgedir}/conf/ %{buildroot}/%{_sysconfdir}/openshift/cartridges/v2/%{name}
%post
%{_sbindir}/oo-admin-cartridge --action install --offline --source /usr/libexec/openshift/cartridges/v2/mysql
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%dir %{cartridgedir}
%dir %{cartridgedir}/bin
%dir %{cartridgedir}/conf
%dir %{cartridgedir}/env
%dir %{cartridgedir}/metadata
%config(noreplace) %{cartridgedir}/conf/
%attr(0755,-,-) %{cartridgedir}/bin/
%attr(0755,-,-) %{frameworkdir}
%{_sysconfdir}/openshift/cartridges/v2/%{name}
%{cartridgedir}/metadata/manifest.yml
%doc %{cartridgedir}/README.md
%changelog
* Fri May 03 2013 Adam Miller <[email protected]> 0.2.3-1
- Special file processing ([email protected])
* Tue Apr 30 2013 Adam Miller <[email protected]> 0.2.2-1
- Env var WIP. ([email protected])
* Thu Apr 25 2013 Adam Miller <[email protected]> 0.2.1-1
- Merge pull request #2246 from ironcladlou/bz/955538
- Merge pull request #2241 from pmorie/dev/v2_mysql
- Merge pull request #2239 from jwhonce/wip/raw_envvar
- Bug 955538: Don't fail on error in mysql control ([email protected])
- Fix bug 956018 - communicate database name to broker for v2 mysql
- WIP Cartridge Refactor - cleanup in cartridges ([email protected])
- Bug 956667 - Updated MySQL v2 cart to install with oo-admin-cartridge in
%%post ([email protected])
- Split v2 configure into configure/post-configure ([email protected])
- implementing install and post-install ([email protected])
- WIP Cartridge Refactor - Change environment variable files to contain just
value ([email protected])
- Adding V2 Format to all v2 cartridges ([email protected])
- Merge pull request #2161 from pmorie/dev/v2_mysql
- Bug 928675 ([email protected])
- Move v2 mysql setup invocation marker to gear data directory
- V2 documentation refactoring ([email protected])
- V2 cartridge documentation updates ([email protected])
- bump_minor_versions for sprint 2.0.26 ([email protected])
* Tue Apr 16 2013 Troy Dawson <[email protected]> 0.1.7-1
- Fix bug 927850 ([email protected])
* Sun Apr 14 2013 Krishna Raman <[email protected]> 0.1.6-1
- WIP Cartridge Refactor - Move PATH to /etc/openshift/env ([email protected])
- WIP Cartridge Refactor - Scrub manifests ([email protected])
* Fri Apr 12 2013 Adam Miller <[email protected]> 0.1.5-1
- SELinux, ApplicationContainer and UnixUser model changes to support oo-admin-
ctl-gears operating on v1 and v2 cartridges. ([email protected])
* Wed Apr 10 2013 Adam Miller <[email protected]> 0.1.4-1
- Anchor locked_files.txt entries at the cart directory ([email protected])
- Merge pull request #1968 from pmorie/dev/v2_mysql ([email protected])
- Add mysql v2 snapshot/restore tests ([email protected])
* Tue Apr 09 2013 Adam Miller <[email protected]> 0.1.3-1
- Merge pull request #1942 from ironcladlou/dev/v2carts/vendor-changes
- Remove vendor name from installed V2 cartridge path ([email protected])
* Mon Apr 08 2013 Adam Miller <[email protected]> 0.1.2-1
- Add v2 mysql snapshot ([email protected])
- Refactor v2 cartridge SDK location and accessibility ([email protected])
- Correct mysqld setup and control status. ([email protected])
* Thu Mar 28 2013 Adam Miller <[email protected]> 0.1.1-1
- bump_minor_versions for sprint 26 ([email protected])
* Wed Mar 27 2013 Dan McPherson <[email protected]> 0.0.5-1
-
* Wed Mar 20 2013 Adam Miller <[email protected]> 0.0.4-1
- new package built with tito
* Wed Mar 20 2013 Paul Morie <[email protected]> 0.0.3-1
- new package built with tito
* Wed Mar 13 2013 Paul Morie <[email protected]> 0.0.2-1
- WIP: mysql v2 ([email protected])
* Wed Mar 13 2013 Paul Morie <[email protected]> 0.0.1-1
- new package built with tito