summaryrefslogtreecommitdiff
path: root/packages/python-google-compute-engine/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python-google-compute-engine/packaging')
-rw-r--r--packages/python-google-compute-engine/packaging/debian/changelog278
-rw-r--r--packages/python-google-compute-engine/packaging/debian/compat1
-rw-r--r--packages/python-google-compute-engine/packaging/debian/control38
-rw-r--r--packages/python-google-compute-engine/packaging/debian/copyright27
-rwxr-xr-xpackages/python-google-compute-engine/packaging/debian/rules18
-rw-r--r--packages/python-google-compute-engine/packaging/python-google-compute-engine.spec55
-rw-r--r--packages/python-google-compute-engine/packaging/python3-google-compute-engine.spec48
-rwxr-xr-xpackages/python-google-compute-engine/packaging/setup_deb.sh44
-rwxr-xr-xpackages/python-google-compute-engine/packaging/setup_rpm.sh46
9 files changed, 0 insertions, 555 deletions
diff --git a/packages/python-google-compute-engine/packaging/debian/changelog b/packages/python-google-compute-engine/packaging/debian/changelog
deleted file mode 100644
index b4261c2..0000000
--- a/packages/python-google-compute-engine/packaging/debian/changelog
+++ /dev/null
@@ -1,278 +0,0 @@
-python-google-compute-engine (1:20191210.00-g1) stable; urgency=medium
-
- * Enable sysctl change for E2 platform.
- * Support retry limits in metadata retrieval.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 10 Dec 2019 15:02:59 -0800
-
-python-google-compute-engine (1:20191120.00-g1) stable; urgency=medium
-
- * REVERT: Retry metadata lookups in agent.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 20 Sep 2019 15:28:54 -0700
-
-python-google-compute-engine (1:20191115.00-g1) stable; urgency=medium
-
- * REVERT: Enable sysctl change for E2 platform.
-
- -- Google Cloud Team <gc-team@google.com> Fri, 15 Sep 2019 10:08:24 -0700
-
-python-google-compute-engine (1:20191112.00-g1) stable; urgency=medium
-
- * Enable sysctl change for E2 platform.
- * Retry metadata lookups in agent.
- * Wait for link-local IPv6 addresses to resolve.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 11 Nov 2019 15:52:24 -0700
-
-python-google-compute-engine (1:20190916.00-g1) stable; urgency=medium
-
- * Revert VM rename feature.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 16 Sep 2019 15:52:24 -0700
-
-python-google-compute-engine (1:20190905.00-g1) stable; urgency=medium
-
- * Fix setup.py version to be compliant with legacy builds.
- * Detect hostname changes.
- * Use non-numeric project ID in generated boto.cfg for GSUtil.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 05 Sep 2019 11:08:18 -0700
-
-python-google-compute-engine (1:20190801.00-g1) stable; urgency=medium
-
- * Re-enable boto config and drop writing plugin directory.
- * Fix metadata script retrieval.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 01 Aug 2019 13:55:46 -0700
-
-python-google-compute-engine (1:20190729.00-g1) stable; urgency=medium
-
- * Support for Google Private Access over IPv6.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 29 Jul 2019 10:09:24 -0700
-
-python-google-compute-engine (1:20190708.00-g1) stable; urgency=medium
-
- * Move Debian entry point scripts to python3.
- * Update Debian build dependencies.
- * Drop unnecessary build and package dependencies.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 08 Jul 2019 10:20:44 -0700
-
-python-google-compute-engine (2.8.16-1) stable; urgency=low
-
- * Fix guest attributes flow in Python 3.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 22 May 2019 12:00:00 -0700
-
-python-google-compute-engine (2.8.15-1) stable; urgency=low
-
- * Retry download for metadata scripts.
- * Fix script retrieval in python3.
- * Disable boto config in python3.
- * Update SSH host keys in guest attributes.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 21 May 2019 12:00:00 -0700
-
-python-google-compute-engine (2.8.14-1) stable; urgency=low
-
- * FreeBSD fixes: syslog socket location and OS detection.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 16 Apr 2019 12:00:00 -0700
-
-python-google-compute-engine (2.8.13-1) stable; urgency=low
-
- * Fix metadata script retrieval to support Python 3.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 24 Jan 2019 12:00:00 -0700
-
-python-google-compute-engine (2.8.12-1) stable; urgency=low
-
- * Fix two factor enablement on change.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 05 Dec 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.11-1) stable; urgency=low
-
- * Split up the gpasswd command into two commands.
- * Update two factor enablement on change.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 04 Dec 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.10-1) stable; urgency=low
-
- * Fix the gpasswd command default.
-
- -- Google Cloud Team <gc-team@google.com> Fri, 30 Nov 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.9-1) stable; urgency=low
-
- * Support enabling OS Login two factor authentication.
- * Improve accounts support for FreeBSD.
- * Improve SELinux support.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 28 Nov 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.8-1) stable; urgency=low
-
- * Update sudoer group membership without overriding local groups.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 23 Oct 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.7-1) stable; urgency=low
-
- * Remove users from sudoers group on removal (fixed).
-
- -- Google Cloud Team <gc-team@google.com> Thu, 18 Oct 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.6-1) stable; urgency=low
-
- * Revert PR: Remove users from sudoers group on removal.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 11 Oct 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.5-1) stable; urgency=low
-
- * Remove users from sudoers group on removal.
- * Remove gsutil dependency for metadata scripts.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 05 Oct 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.4-1) stable; urgency=low
-
- * Remove ntp dependency.
- * Support Debian 10 Buster.
- * Restart the network daemon if networking is restarted.
- * Prevent setup of the default ethernet interface.
- * Accounts daemon can now verify username is 32 characters or less.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 05 Sep 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.3-1) stable; urgency=low
-
- * Prevent IP forwarding daemon log spam.
- * Make default shell configurable when executing metadata scripts.
- * Rename distro directory to distro_lib.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 11 June 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.2-1) stable; urgency=low
-
- * Prevent delay in configuring IP forwarding routes.
- * Improve instance setup support for FreeBSD.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 10 May 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.1-1) stable; urgency=low
-
- * Improve OS Login disablement.
-
- -- Google Cloud Team <gc-team@google.com> Fri, 04 May 2018 12:00:00 -0700
-
-google-compute-image-packages (2.8.0-1) stable; urgency=low
-
- * Create a new network daemon.
- * Refactor the IP forwarding daemon and network setup.
- * Improvements for using NSS cache in the accounts daemon.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 01 May 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.7-1) stable; urgency=low
-
- * Add support for NSS cache in OS Login.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 08 Mar 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.6-1) stable; urgency=low
-
- * Add distro specific logic.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 21 Feb 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.5-2) stable; urgency=low
-
- * Fix dependencies for syslog.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 06 Feb 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.5-1) stable; urgency=low
-
- * Revert hostname setting change in Debian.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 29 Jan 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.4-1) stable; urgency=low
-
- * Fix hostname setting in Debian.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 29 Jan 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.3-1) stable; urgency=low
-
- * Improve hostname setting and correctly restart rsyslog.
-
- -- Google Cloud Team <gc-team@google.com> Thu, 25 Jan 2018 12:00:00 -0700
-
-google-compute-image-packages (2.7.2-2) stable; urgency=low
-
- * Force IPv4 for apt.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 13 Dec 2017 12:00:00 -0700
-
-google-compute-image-packages (2.7.2-1) stable; urgency=low
-
- * Generate SSH host keys when none are present.
- * Improve logging when activating OS Login.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 29 Nov 2017 12:00:00 -0700
-
-google-compute-image-packages (2.7.1-1) stable; urgency=low
-
- * Update set_hostname file name to prevent conflict.
- * Add apt config to prevent auto-removal of google-compute-engine.
-
- -- Google Cloud Team <gc-team@google.com> Wed, 25 Oct 2017 12:00:00 -0700
-
-google-compute-image-packages (2.7.0-6) stable; urgency=low
-
- * Linux guest environment support for OS Login.
-
- -- Google Cloud Team <gc-team@google.com> Tue, 17 Oct 2017 12:00:00 -0700
-
-google-compute-image-packages (2.6.2-1) stable; urgency=low
-
- * Fix system hang during VM shutdown.
-
- -- Google Cloud Team <gc-team@google.com> Fri, 06 Oct 2017 12:00:00 -0700
-
-google-compute-image-packages (2.6.1-1) stable; urgency=low
-
- * Use curl to download metadata script files for SSL certificate validation.
- * Use netifaces for retrieving MAC address names if the import exists.
-
- -- Google Cloud Team <gc-team@google.com> Thurs, 14 Sep 2017 12:00:00 -0700
-
-google-compute-image-packages (2.6.0-4) stable; urgency=low
-
- * Fix DHCP exit hook install.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 28 Aug 2017 12:00:00 -0700
-
-google-compute-image-packages (2.6.0-3) stable; urgency=low
-
- * Add systemd preset.
-
- -- Google Cloud Team <gc-team@google.com> Fri, 25 Aug 2017 14:00:00 -0700
-
-google-compute-image-packages (2.6.0-2) stable; urgency=low
-
- * Add DHCP exit hook script back into package.
-
- -- Google Cloud Team <gc-team@google.com> Fri, 25 Aug 2017 12:00:00 -0700
-
-google-compute-image-packages (2.6.0-1) stable; urgency=low
-
- * New packaging.
-
- -- Google Cloud Team <gc-team@google.com> Mon, 27 Jun 2017 12:00:00 -0700
diff --git a/packages/python-google-compute-engine/packaging/debian/compat b/packages/python-google-compute-engine/packaging/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/packages/python-google-compute-engine/packaging/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/packages/python-google-compute-engine/packaging/debian/control b/packages/python-google-compute-engine/packaging/debian/control
deleted file mode 100644
index d6491d0..0000000
--- a/packages/python-google-compute-engine/packaging/debian/control
+++ /dev/null
@@ -1,38 +0,0 @@
-Source: python-google-compute-engine
-Section: admin
-Priority: optional
-Maintainer: Google Cloud Team <gc-team@google.com>
-Build-Depends: debhelper (>= 10),
- dh-python,
- python-all,
- python-boto,
- python-mock,
- python-pytest,
- python-setuptools,
- python3-all,
- python3-distro,
- python3-pytest,
- python3-setuptools
-Standards-Version: 3.9.8
-Homepage: https://github.com/GoogleCloudPlatform/compute-image-packages
-
-Package: python-google-compute-engine
-Section: python
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Conflicts: google-compute-engine-jessie,
- google-compute-engine-stretch,
- google-compute-daemon,
- google-startup-scripts
-Description: Google Compute Engine python library for Python 2.x.
- Python libraries used for interacting with Google Compute Engine instance
- metadata to provide platform integration.
-
-Package: python3-google-compute-engine
-Section: python
-Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends},
- python3-distro, python3-pkg-resources, python3:any
-Description: Google Compute Engine python library for Python 3.x.
- Python libraries used for interacting with Google Compute Engine instance
- metadata to provide platform integration.
diff --git a/packages/python-google-compute-engine/packaging/debian/copyright b/packages/python-google-compute-engine/packaging/debian/copyright
deleted file mode 100644
index 034c729..0000000
--- a/packages/python-google-compute-engine/packaging/debian/copyright
+++ /dev/null
@@ -1,27 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: python-google-compute-engine
-Upstream-Contact: gc-team@google.com
-
-Files: *
-Copyright: Copyright 2017 Google Inc.
-License: Apache-2.0
-
-Files: debian/*
-Copyright: Copyright 2017 Google Inc.
-License: Apache-2.0
-
-License: Apache-2.0
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- .
- http://www.apache.org/licenses/LICENSE-2.0
- .
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- .
- On Debian systems, the complete text of the Apache version 2.0 license
- can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/packages/python-google-compute-engine/packaging/debian/rules b/packages/python-google-compute-engine/packaging/debian/rules
deleted file mode 100755
index b7999dd..0000000
--- a/packages/python-google-compute-engine/packaging/debian/rules
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/make -f
-
-export PYBUILD_NAME=google-compute-engine
-export PYBUILD_TEST_PYTEST=1
-export PYBUILD_TEST_ARGS={dir}/google_compute_engine/
-export PYBUILD_SYSTEM=distutils
-
-%:
- dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_clean:
- rm -rf google_compute_engine.egg-info
- dh_clean
-
-override_dh_auto_install:
- dh_auto_install
- # Remove python2.7 entry points.
- rm -Rf debian/python-google-compute-engine/usr/bin
diff --git a/packages/python-google-compute-engine/packaging/python-google-compute-engine.spec b/packages/python-google-compute-engine/packaging/python-google-compute-engine.spec
deleted file mode 100644
index 1984cec..0000000
--- a/packages/python-google-compute-engine/packaging/python-google-compute-engine.spec
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2017 Google Inc. All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Force the dist to be el7 to avoid el7.centos.
-%if 0%{?rhel} == 7
- %define dist .el7
-%endif
-
-Name: python-google-compute-engine
-Epoch: 1
-Version: %{_version}
-Release: g1%{?dist}
-Summary: Google Compute Engine python library
-License: ASL 2.0
-Url: https://github.com/GoogleCloudPlatform/compute-image-packages
-Source0: %{name}_%{version}.orig.tar.gz
-
-BuildArch: noarch
-BuildRequires: python2-devel python-setuptools python-boto
-
-Requires: python-boto python-setuptools
-
-Provides: python2-google-compute-engine
-
-Obsoletes: google-compute-daemon
-Obsoletes: google-startup-scripts
-Conflicts: google-compute-daemon
-Conflicts: google-startup-scripts
-
-%description
-Google Compute Engine python library for Python 2.x.
-
-%prep
-%autosetup
-
-%build
-python setup.py build
-
-%install
-python setup.py install --prefix=%{_prefix} --root %{buildroot}
-
-%files
-%{python_sitelib}/*
-%attr(0755,-,-) %{_bindir}/*
diff --git a/packages/python-google-compute-engine/packaging/python3-google-compute-engine.spec b/packages/python-google-compute-engine/packaging/python3-google-compute-engine.spec
deleted file mode 100644
index 69257d9..0000000
--- a/packages/python-google-compute-engine/packaging/python3-google-compute-engine.spec
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2019 Google Inc. All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-Name: python3-google-compute-engine
-Epoch: 1
-Version: %{_version}
-Release: g1%{?dist}
-Summary: Google Compute Engine python3 library
-License: ASL 2.0
-Url: https://github.com/GoogleCloudPlatform/compute-image-packages
-Source0: %{name}_%{version}.orig.tar.gz
-
-BuildArch: noarch
-BuildRequires: python36-devel python3-setuptools
-
-Requires: python3-setuptools
-
-%description
-Google Compute Engine python library for Python 3.x.
-
-%prep
-%autosetup
-
-%build
-%py3_build
-
-%install
-%py3_install
-
-%files
-%{python3_sitelib}/google_compute_engine/
-%{python3_sitelib}/google_compute_engine*.egg-info/
-%{_bindir}/google_accounts_daemon
-%{_bindir}/google_clock_skew_daemon
-%{_bindir}/google_instance_setup
-%{_bindir}/google_metadata_script_runner
-%{_bindir}/google_network_daemon
diff --git a/packages/python-google-compute-engine/packaging/setup_deb.sh b/packages/python-google-compute-engine/packaging/setup_deb.sh
deleted file mode 100755
index 764017e..0000000
--- a/packages/python-google-compute-engine/packaging/setup_deb.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-# Copyright 2018 Google Inc. All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-NAME="python-google-compute-engine"
-VERSION="20191210.00"
-
-working_dir=${PWD}
-if [[ $(basename "$working_dir") != $NAME ]]; then
- echo "Packaging scripts must be run from top of package dir."
- exit 1
-fi
-
-# Build dependencies.
-sudo apt-get -y install python-all python-setuptools python3-all \
- python3-setuptools python-pytest python3-pytest python-mock python-boto
-
-# DEB creation tools.
-sudo apt-get -y install debhelper devscripts build-essential
-
-rm -rf /tmp/debpackage
-mkdir /tmp/debpackage
-tar czvf /tmp/debpackage/${NAME}_${VERSION}.orig.tar.gz --exclude .git \
- --exclude packaging --transform "s/^\./${NAME}-${VERSION}/" .
-
-pushd /tmp/debpackage
-tar xzvf ${NAME}_${VERSION}.orig.tar.gz
-
-cd ${NAME}-${VERSION}
-
-cp -r ${working_dir}/packaging/debian ./
-
-debuild -us -uc
diff --git a/packages/python-google-compute-engine/packaging/setup_rpm.sh b/packages/python-google-compute-engine/packaging/setup_rpm.sh
deleted file mode 100755
index 7c97455..0000000
--- a/packages/python-google-compute-engine/packaging/setup_rpm.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-# Copyright 2018 Google Inc. All Rights Reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-NAME="python-google-compute-engine"
-VERSION="20191210.00"
-
-rpm_working_dir=/tmp/rpmpackage/${NAME}-${VERSION}
-working_dir=${PWD}
-if [[ $(basename "$working_dir") != $NAME ]]; then
- echo "Packaging scripts must be run from top of package dir."
- exit 1
-fi
-
-sudo yum -y install rpmdevtools
-
-# RHEL/CentOS 8 uses python3.
-if grep -q '^\(CentOS\|Red Hat\)[^0-9]*8\..' /etc/redhat-release; then
- NAME="python3-google-compute-engine"
- rpm_working_dir=/tmp/rpmpackage/${NAME}-${VERSION}
- sudo yum -y install python36-devel python3-setuptools python36-rpm-macros
-else
- sudo yum -y install python2-devel python-setuptools python-boto
-fi
-
-rm -rf /tmp/rpmpackage
-mkdir -p ${rpm_working_dir}/{SOURCES,SPECS}
-
-cp packaging/${NAME}.spec ${rpm_working_dir}/SPECS/
-
-tar czvf ${rpm_working_dir}/SOURCES/${NAME}_${VERSION}.orig.tar.gz \
- --exclude .git --exclude packaging --transform "s/^\./${NAME}-${VERSION}/" .
-
-rpmbuild --define "_topdir ${rpm_working_dir}/" --define "_version ${VERSION}" \
- -ba ${rpm_working_dir}/SPECS/${NAME}.spec