summaryrefslogtreecommitdiff
path: root/python-cdflow.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 10:23:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 10:23:28 +0000
commit69ea71371d6bfe1d12945bab246bd303c047fe28 (patch)
treee8950845d83c5541a178ee546b0aae7b7d4a2659 /python-cdflow.spec
parent49e73ab31b6f354e4bad6a123e9730eb261ea615 (diff)
automatic import of python-cdflowopeneuler20.03
Diffstat (limited to 'python-cdflow.spec')
-rw-r--r--python-cdflow.spec195
1 files changed, 195 insertions, 0 deletions
diff --git a/python-cdflow.spec b/python-cdflow.spec
new file mode 100644
index 0000000..67be6b0
--- /dev/null
+++ b/python-cdflow.spec
@@ -0,0 +1,195 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cdflow
+Version: 272
+Release: 1
+Summary: Deployment tooling for continuous delivery
+License: MIT License
+URL: https://mergermarket.github.io/cdflow
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ce/81/4594cf6be9a0aa02bee5fd7631cc97e075fcd570041373f070b0c3416b65/cdflow-272.tar.gz
+BuildArch: noarch
+
+
+%description
+[![tests](https://github.com/mergermarket/cdflow/actions/workflows/test.yml/badge.svg)](https://github.com/mergermarket/cdflow/actions/workflows/test.yml)
+# cdflow - create and manage software services using continuous delivery
+
+This repository contains the cdflow command that you can install on your system (e.g. on your dev machine or CI server) in order to release, deploy and (eventally) decommission software services with ease.
+
+The code here is just a thin wrapper for the [cdflow docker image](https://github.com/mergermarket/cdflow-commands/) used to ensure you get the latest version when you release (with the option to pin should you need to) and that the image used remains consistent through your pipeline.
+
+Full documentation is here: https://mergermarket.github.io/cdflow/
+
+## Install
+
+```
+pip install cdflow
+```
+
+## Running
+
+If you are using the [cdflow wrapper command](https://github.com/mergermarket/cdflow/) mentioned above, you can get usage information by running:
+
+```
+$ cdflow --help
+
+cdflow
+
+Create and manage software services using continuous delivery.
+
+Usage:
+ cdflow release --platform-config <platform_config> <version> [options]
+ cdflow deploy <environment> <version> [options]
+ cdflow destroy <environment> [options]
+
+Options:
+ -c <component_name>, --component <component_name>
+ -v, --verbose
+ -p, --plan-only
+```
+
+## Tests
+
+```
+./test.sh
+```
+
+%package -n python3-cdflow
+Summary: Deployment tooling for continuous delivery
+Provides: python-cdflow
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cdflow
+[![tests](https://github.com/mergermarket/cdflow/actions/workflows/test.yml/badge.svg)](https://github.com/mergermarket/cdflow/actions/workflows/test.yml)
+# cdflow - create and manage software services using continuous delivery
+
+This repository contains the cdflow command that you can install on your system (e.g. on your dev machine or CI server) in order to release, deploy and (eventally) decommission software services with ease.
+
+The code here is just a thin wrapper for the [cdflow docker image](https://github.com/mergermarket/cdflow-commands/) used to ensure you get the latest version when you release (with the option to pin should you need to) and that the image used remains consistent through your pipeline.
+
+Full documentation is here: https://mergermarket.github.io/cdflow/
+
+## Install
+
+```
+pip install cdflow
+```
+
+## Running
+
+If you are using the [cdflow wrapper command](https://github.com/mergermarket/cdflow/) mentioned above, you can get usage information by running:
+
+```
+$ cdflow --help
+
+cdflow
+
+Create and manage software services using continuous delivery.
+
+Usage:
+ cdflow release --platform-config <platform_config> <version> [options]
+ cdflow deploy <environment> <version> [options]
+ cdflow destroy <environment> [options]
+
+Options:
+ -c <component_name>, --component <component_name>
+ -v, --verbose
+ -p, --plan-only
+```
+
+## Tests
+
+```
+./test.sh
+```
+
+%package help
+Summary: Development documents and examples for cdflow
+Provides: python3-cdflow-doc
+%description help
+[![tests](https://github.com/mergermarket/cdflow/actions/workflows/test.yml/badge.svg)](https://github.com/mergermarket/cdflow/actions/workflows/test.yml)
+# cdflow - create and manage software services using continuous delivery
+
+This repository contains the cdflow command that you can install on your system (e.g. on your dev machine or CI server) in order to release, deploy and (eventally) decommission software services with ease.
+
+The code here is just a thin wrapper for the [cdflow docker image](https://github.com/mergermarket/cdflow-commands/) used to ensure you get the latest version when you release (with the option to pin should you need to) and that the image used remains consistent through your pipeline.
+
+Full documentation is here: https://mergermarket.github.io/cdflow/
+
+## Install
+
+```
+pip install cdflow
+```
+
+## Running
+
+If you are using the [cdflow wrapper command](https://github.com/mergermarket/cdflow/) mentioned above, you can get usage information by running:
+
+```
+$ cdflow --help
+
+cdflow
+
+Create and manage software services using continuous delivery.
+
+Usage:
+ cdflow release --platform-config <platform_config> <version> [options]
+ cdflow deploy <environment> <version> [options]
+ cdflow destroy <environment> [options]
+
+Options:
+ -c <component_name>, --component <component_name>
+ -v, --verbose
+ -p, --plan-only
+```
+
+## Tests
+
+```
+./test.sh
+```
+
+%prep
+%autosetup -n cdflow-272
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-cdflow -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 272-1
+- Package Spec generated