summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-cdktf-gitlab-runner.spec282
-rw-r--r--sources1
3 files changed, 284 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..951b8bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cdktf-gitlab-runner-0.0.544.tar.gz
diff --git a/python-cdktf-gitlab-runner.spec b/python-cdktf-gitlab-runner.spec
new file mode 100644
index 0000000..a8892bc
--- /dev/null
+++ b/python-cdktf-gitlab-runner.spec
@@ -0,0 +1,282 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cdktf-gitlab-runner
+Version: 0.0.544
+Release: 1
+Summary: The CDK for Terraform Construct for Gitlab Runner on GCP
+License: Apache-2.0
+URL: https://github.com/neilkuan/cdktf-gitlab-runner.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ff/76/e4936afd318ec651dcdafd6baa19c711fc7b1446abb07ea914facf70c8c9/cdktf-gitlab-runner-0.0.544.tar.gz
+BuildArch: noarch
+
+Requires: python3-cdktf-cdktf-provider-google
+Requires: python3-cdktf
+Requires: python3-constructs
+Requires: python3-jsii
+Requires: python3-publication
+Requires: python3-typeguard
+
+%description
+[![NPM version](https://badge.fury.io/js/cdktf-gitlab-runner.svg)](https://badge.fury.io/js/cdktf-gitlab-runner)
+[![PyPI version](https://badge.fury.io/py/cdktf-gitlab-runner.svg)](https://badge.fury.io/py/cdktf-gitlab-runner)
+![Release](https://github.com/neilkuan/cdktf-gitlab-runner/workflows/release/badge.svg)
+
+![Downloads](https://img.shields.io/badge/-DOWNLOADS:-brightgreen?color=gray)
+![npm](https://img.shields.io/npm/dt/cdktf-gitlab-runner?label=npm&color=orange)
+![PyPI](https://img.shields.io/pypi/dm/cdktf-gitlab-runner?label=pypi&color=blue)
+
+# Welcome to `cdktf-gitlab-runner`
+
+Use CDK fo Terraform to create gitlab runner, and use [gitlab runner](https://gitlab.com/gitlab-org/gitlab-runner) to help you execute your Gitlab Pipeline Job.
+
+> GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab. [(source repo)](https://gitlab.com/gitlab-org/gitlab-runner)
+
+### Feature
+
+* Instance Manager Group
+* Auto Register Gitlab Runner
+* Auto Unregister Gitlab Runner ([when destroy and shutdown](https://cloud.google.com/compute/docs/shutdownscript))
+* Support [preemptible](https://cloud.google.com/compute/docs/instances/preemptible)
+
+### Init CDKTF Project
+
+```bash
+mkdir demo
+cd demo
+cdktf init --template typescript --local
+```
+
+### Install `cdktf-gitlab-runner`
+
+```bash
+yarn add cdktf-gitlab-runner
+or
+npm i cdktf-gitlab-runner
+```
+
+### Example
+
+```python
+import * as gcp from '@cdktf/provider-google';
+import * as cdktf from 'cdktf';
+import { Construct } from 'constructs';
+import { GitlabRunnerAutoscaling } from './index';
+
+
+export class IntegDefaultStack extends cdktf.TerraformStack {
+ constructor(scope: Construct, id: string) {
+ super(scope, id);
+ const local = 'asia-east1';
+ const projectId = `${process.env.PROJECT_ID}`;
+ const provider = new gcp.GoogleProvider(this, 'GoogleAuth', {
+ region: local,
+ zone: local+'-c',
+ project: projectId,
+ });
+ new GitlabRunnerAutoscaling(this, 'GitlabRunnerAutoscaling', {
+ gitlabToken: `${process.env.GITLAB_TOKEN}`,
+ provider,
+ });
+ }
+}
+
+
+const app = new cdktf.App();
+new IntegDefaultStack(app, 'gitlab-runner');
+app.synth();
+```
+
+
+%package -n python3-cdktf-gitlab-runner
+Summary: The CDK for Terraform Construct for Gitlab Runner on GCP
+Provides: python-cdktf-gitlab-runner
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cdktf-gitlab-runner
+[![NPM version](https://badge.fury.io/js/cdktf-gitlab-runner.svg)](https://badge.fury.io/js/cdktf-gitlab-runner)
+[![PyPI version](https://badge.fury.io/py/cdktf-gitlab-runner.svg)](https://badge.fury.io/py/cdktf-gitlab-runner)
+![Release](https://github.com/neilkuan/cdktf-gitlab-runner/workflows/release/badge.svg)
+
+![Downloads](https://img.shields.io/badge/-DOWNLOADS:-brightgreen?color=gray)
+![npm](https://img.shields.io/npm/dt/cdktf-gitlab-runner?label=npm&color=orange)
+![PyPI](https://img.shields.io/pypi/dm/cdktf-gitlab-runner?label=pypi&color=blue)
+
+# Welcome to `cdktf-gitlab-runner`
+
+Use CDK fo Terraform to create gitlab runner, and use [gitlab runner](https://gitlab.com/gitlab-org/gitlab-runner) to help you execute your Gitlab Pipeline Job.
+
+> GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab. [(source repo)](https://gitlab.com/gitlab-org/gitlab-runner)
+
+### Feature
+
+* Instance Manager Group
+* Auto Register Gitlab Runner
+* Auto Unregister Gitlab Runner ([when destroy and shutdown](https://cloud.google.com/compute/docs/shutdownscript))
+* Support [preemptible](https://cloud.google.com/compute/docs/instances/preemptible)
+
+### Init CDKTF Project
+
+```bash
+mkdir demo
+cd demo
+cdktf init --template typescript --local
+```
+
+### Install `cdktf-gitlab-runner`
+
+```bash
+yarn add cdktf-gitlab-runner
+or
+npm i cdktf-gitlab-runner
+```
+
+### Example
+
+```python
+import * as gcp from '@cdktf/provider-google';
+import * as cdktf from 'cdktf';
+import { Construct } from 'constructs';
+import { GitlabRunnerAutoscaling } from './index';
+
+
+export class IntegDefaultStack extends cdktf.TerraformStack {
+ constructor(scope: Construct, id: string) {
+ super(scope, id);
+ const local = 'asia-east1';
+ const projectId = `${process.env.PROJECT_ID}`;
+ const provider = new gcp.GoogleProvider(this, 'GoogleAuth', {
+ region: local,
+ zone: local+'-c',
+ project: projectId,
+ });
+ new GitlabRunnerAutoscaling(this, 'GitlabRunnerAutoscaling', {
+ gitlabToken: `${process.env.GITLAB_TOKEN}`,
+ provider,
+ });
+ }
+}
+
+
+const app = new cdktf.App();
+new IntegDefaultStack(app, 'gitlab-runner');
+app.synth();
+```
+
+
+%package help
+Summary: Development documents and examples for cdktf-gitlab-runner
+Provides: python3-cdktf-gitlab-runner-doc
+%description help
+[![NPM version](https://badge.fury.io/js/cdktf-gitlab-runner.svg)](https://badge.fury.io/js/cdktf-gitlab-runner)
+[![PyPI version](https://badge.fury.io/py/cdktf-gitlab-runner.svg)](https://badge.fury.io/py/cdktf-gitlab-runner)
+![Release](https://github.com/neilkuan/cdktf-gitlab-runner/workflows/release/badge.svg)
+
+![Downloads](https://img.shields.io/badge/-DOWNLOADS:-brightgreen?color=gray)
+![npm](https://img.shields.io/npm/dt/cdktf-gitlab-runner?label=npm&color=orange)
+![PyPI](https://img.shields.io/pypi/dm/cdktf-gitlab-runner?label=pypi&color=blue)
+
+# Welcome to `cdktf-gitlab-runner`
+
+Use CDK fo Terraform to create gitlab runner, and use [gitlab runner](https://gitlab.com/gitlab-org/gitlab-runner) to help you execute your Gitlab Pipeline Job.
+
+> GitLab Runner is the open source project that is used to run your CI/CD jobs and send the results back to GitLab. [(source repo)](https://gitlab.com/gitlab-org/gitlab-runner)
+
+### Feature
+
+* Instance Manager Group
+* Auto Register Gitlab Runner
+* Auto Unregister Gitlab Runner ([when destroy and shutdown](https://cloud.google.com/compute/docs/shutdownscript))
+* Support [preemptible](https://cloud.google.com/compute/docs/instances/preemptible)
+
+### Init CDKTF Project
+
+```bash
+mkdir demo
+cd demo
+cdktf init --template typescript --local
+```
+
+### Install `cdktf-gitlab-runner`
+
+```bash
+yarn add cdktf-gitlab-runner
+or
+npm i cdktf-gitlab-runner
+```
+
+### Example
+
+```python
+import * as gcp from '@cdktf/provider-google';
+import * as cdktf from 'cdktf';
+import { Construct } from 'constructs';
+import { GitlabRunnerAutoscaling } from './index';
+
+
+export class IntegDefaultStack extends cdktf.TerraformStack {
+ constructor(scope: Construct, id: string) {
+ super(scope, id);
+ const local = 'asia-east1';
+ const projectId = `${process.env.PROJECT_ID}`;
+ const provider = new gcp.GoogleProvider(this, 'GoogleAuth', {
+ region: local,
+ zone: local+'-c',
+ project: projectId,
+ });
+ new GitlabRunnerAutoscaling(this, 'GitlabRunnerAutoscaling', {
+ gitlabToken: `${process.env.GITLAB_TOKEN}`,
+ provider,
+ });
+ }
+}
+
+
+const app = new cdktf.App();
+new IntegDefaultStack(app, 'gitlab-runner');
+app.synth();
+```
+
+
+%prep
+%autosetup -n cdktf-gitlab-runner-0.0.544
+
+%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-cdktf-gitlab-runner -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.544-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1fa70f3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+da1773aa79112cdd84a5e38afb021e55 cdktf-gitlab-runner-0.0.544.tar.gz