Commit graph

43 commits

Author SHA1 Message Date
Fedora Release Engineering
efb09ad787 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:47:49 +00:00
Sergei Petrosian
e063b4cdbc Keep spec consistent with linux-system-roles
- Return conditionals related to EL to keep up- and downstream consistent
- Add pretrans scriplet to remove symlinks if exist to fix issue with update
- Instead of copying doc and license files create symlinks
- Dynamically generate %%files section
2022-11-15 09:53:39 +01:00
Maxwell G
b80b156fd9
Use %ansible_collection_filelist in files 2022-10-12 21:44:46 -05:00
Maxwell G
07382af91f
Replace %{installbase} with %{ansible_roles_dir} 2022-10-12 21:43:35 -05:00
Sergei Petrosian
f3cba9f119 Further simplify spec file
- Do not install roles to /usr/share/microsoft and then create symlinks
  to /usr/share/ansible/roles/, instead install directly to
  /usr/share/ansible/roles/
- Remove unused removal of ambiguous python shebangs
2022-09-22 13:24:59 +02:00
Sergei Petrosian
66961ea21c Remove unused comment and macro 2022-09-22 10:11:46 +02:00
Sergei Petrosian
abda61603a Append new changes to changelog 2022-09-21 10:22:33 +02:00
Sergei Petrosian
8702f899fd Remove tests/.fmf dir from the RPM 2022-09-21 10:19:02 +02:00
Sergei Petrosian
24db17ab4b Wrap description by 80 symbols and clarify it 2022-09-21 10:11:20 +02:00
Sergei Petrosian
ff429a6d48 Remove getarchivedir for simplicity 2022-09-21 10:01:12 +02:00
Sergei Petrosian
008cbd99ff 's|$RPM_BUILD_ROOT|%{buildroot}|' 2022-09-21 09:59:15 +02:00
Sergei Petrosian
2c119c5225 Escape macros in comments with a second % 2022-09-21 09:57:40 +02:00
Sergei Petrosian
222391ec72 Clean up %files section 2022-09-21 09:57:14 +02:00
Sergei Petrosian
187290bfc6 Update release number and changelog 2022-09-20 14:50:30 +02:00
Sergei Petrosian
a8a0cccd67 Remove all loops because this RPM contains only one role
- Remove definition of ansible_collection_files as its part of
ansible-packaging
- Use ansible_collection_files in %files section
- Remove defsource - simply define the source for mssql
2022-09-20 14:47:01 +02:00
Sergei Petrosian
88980c9ff2 Remove unrelated to Fedora Provides 2022-09-20 13:24:45 +02:00
Sergei Petrosian
42a476d5de Replace ansible_collection_build_install with biult-in build & install 2022-09-20 12:54:59 +02:00
Sergei Petrosian
5484503dac Remove conditions related to RHEL 2022-09-20 12:53:16 +02:00
Sergei Petrosian
9c389b96ad Remove %bcond_with html because Fedora always can convert md to html 2022-09-20 12:48:39 +02:00
Sergei Petrosian
20ed3f5e16 Replace the ansible_build_dep macro with simple ansible-packaging 2022-09-20 12:47:11 +02:00
Sergei Petrosian
25c15fb7b6 Remove bcond_with ansible because Fedora always have ansible 2022-09-20 12:46:04 +02:00
Sergei Petrosian
7d65ef6de0 Update to version 1.2.4
- Replicate all provided databases
  - This change fixes the bug where only the first database replicates
  - Clarify that the role does not remove not listed databases
  Resolves: rhbz#2066337
- Input multiple sql scripts
  - Allow _input_sql_file vars to accept list of files
  - Flush handlers prior to inputting post sql script
  Resolves: rhbz#2120712
- Note that ha_cluster is not idempotent
- SPEC: Do not update dates in CHANGELOG.md
2022-09-01 12:13:42 +02:00
Sergei Petrosian
e070603cad Add changelog, replace fedora.linux-system-roles for downstream
- Add MVP HA functionality to the server role
  Resolves: rhbz#2066337
- Add mssql_tls_remote_src to the server role
  Resolves: rhbz#2098212
- Use firewall role to configure firewall for SQL Server
  Resolves: rhbz#2120709
- Replace simple `mssql_input_sql_file` with `pre` and `post` variables
  Resolves: rhbz#2120712
- Add Requires: linux-system-roles or rhel-system-roles
- Replace fedora.l inux_system_roles:redhat.rhel_system_roles on RHEL
- Add downstream values to galaxy.yml
- Change defcommit to defsource that takes both tags and commits
- Update CHANGELOG.md with the current date and copy it to collection dir
2022-08-25 13:25:33 +02:00
Fedora Release Engineering
881ad233d0 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:52:12 +00:00
Sergei Petrosian
d670ba42f9 Fix ansible_managed and add custom RPM and RPM keys URLs
- Fix inserting ansible_managed
  Resolves: rhbz#2057651 (EL8)
  Resolves: rhbz#2064690 (EL9)
- Users now can provide a custom URLs to pull packages and RPM key from
  Resolves: rhbz#2038256 (EL8)
  Resolves: rhbz#2064648 (EL9)
2022-03-21 10:26:44 +01:00
Sergei Petrosian
53d39def46 RHEL8.6, 9 - add "Requires: ansible-core or ansible" 2022-03-18 13:48:08 +01:00
Sergei Petrosian
f06b943e87 Insert ansible_managed to config file
- Insert the "Ansible managed" comment to /var/opt/mssql/mssql.conf
  Resolves rhbz#2057651 (EL8)
  Resolves rhbz#2064690 (EL9)
2022-03-17 11:49:01 +01:00
Sergei Petrosian
b1b98265aa Use PEP 503 names for BuildRequires, but maintain EPEL 8 compatibility 2022-01-20 09:53:21 +01:00
Fedora Release Engineering
a849cbff46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:18:44 +00:00
Miro Hrončok
97d7e90442 Use PEP 503 names for BuildRequires
Since Fedora 33, we generate both python3dist(foo.bar) and python3dist(foo-bar)
provides, but we'd like to follow PEP 503 and use only the names with dash.

By using the dashes, this is not compatible with the provides generated in EPEL 8,
compatibility can be achieved with the %py3_dist macro.
2021-12-20 19:46:33 +01:00
Fedora Release Engineering
148ea0cc33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:36:49 +00:00
Sergei Petrosian
dfb58b5049 Add support for Microsoft SQL Server 2017 2021-07-21 08:50:42 +02:00
Sergei Petrosian
8e9e8fceb7 Copying fix for RHEL 7 builds from rhel-system-roles
Link to the original fix:
https://src.fedoraproject.org/rpms/linux-system-roles/c/093981119f99ac51a6e06a2714b587e4e2fe287c
2021-07-19 14:23:19 +02:00
Sergei Petrosian
fff6eb0987 Add meta-runtime, rebase latest auto-maintenance and mssql 2021-07-13 11:32:44 +02:00
Sergei Petrosian
33ee3abe9b Fix the changelog entry 2021-06-29 12:56:30 +02:00
Sergei Petrosian
b36467e481 Add a missing slash at the {ansible_collection_files} definition for rhel 7 2021-06-29 12:48:35 +02:00
Sergei Petrosian
9a59731752 Make the use of slashes in ansible_collection_files consistent
Make the ansible_collection_files macro defined in Fedora automatically
and in RHEL manually consistent - having slash at the end to clean
double-slashes from the code.
Bumb release
Add changelog entry
Ansible macros:
https://src.fedoraproject.org/rpms/ansible/blob/rawhide/f/macros.ansible
2021-06-17 17:48:28 +02:00
Sergei Petrosian
ba384e7471 Update the version to be consistent with the Galaxy collection
Galaxy collection is at https://galaxy.ansible.com/microsoft/sql
2021-06-17 11:21:30 +02:00
Sergei Petrosian
c484cfc7fc Update commit hash for mssql 2021-06-16 10:03:01 +02:00
Sergei Petrosian
3c2d8d705f Generate symlinks for roles 2021-06-16 09:56:14 +02:00
Sergei Petrosian
efcfdf9109 Copy changes made to linux-system-roles in PR #13
https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/13#
2021-06-16 09:09:09 +02:00
Sergei Petrosian
74ec52c13e Fix incorrect role includes in microsoft/sql-server/tests/
Fix long description lines
2021-06-16 08:59:19 +02:00
Sergei Petrosian
61fdc52ee8 Add spec file 2021-06-14 08:52:20 +02:00