Compare commits

3 Commits
2.4.0 ... 1.2.1

Author SHA1 Message Date
Mike Graves
f5eb0625d6 Release 1.2.1 (#406) 2021-04-01 08:53:03 -04:00
Mike Graves
0432fe6a51 Add requirements.txt to downstream build (#401)
* Add requirements.txt to downstream build

This file is needed for execution environments.

* Add changelog fragment
2021-03-31 09:25:50 -04:00
Mike Graves
1754405bb4 [bp/1.2] Restrict molecule version to <3.3.0
The 3.3.0 version of molecule broke the test suite. Restricting the
version until we can either fix upstream or decide on the best
workaround.
2021-03-31 10:01:47 +05:30
9 changed files with 31 additions and 6 deletions

View File

@@ -84,8 +84,10 @@ jobs:
with:
python-version: ${{ matrix.python_version }}
# The 3.3.0 release of molecule introduced a breaking change. See
# https://github.com/ansible-community/molecule/issues/3083
- name: Install molecule and openshift dependencies
run: pip install ansible molecule yamllint openshift flake8
run: pip install ansible "molecule<3.3.0" yamllint openshift flake8
# The latest release doesn't work with Molecule currently.
# See: https://github.com/ansible-community/molecule/issues/2757
@@ -177,7 +179,7 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install molecule and openshift dependencies
run: pip install "ansible>=2.9.0,<2.10.0" molecule yamllint openshift flake8
run: pip install "ansible>=2.9.0,<2.10.0" "molecule<3.3.0" yamllint openshift flake8
- name: Create default collection path symlink
run: |

View File

@@ -5,6 +5,15 @@ Kubernetes Collection Release Notes
.. contents:: Topics
v1.2.1
======
Bugfixes
--------
- fix missing requirements.txt file in kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/401).
- pin molecule version to <3.3.0 to fix breaking changes (https://github.com/ansible-collections/community.kubernetes/pull/403).
v1.2.0
======

View File

@@ -1,5 +1,5 @@
# Also needs to be updated in galaxy.yml
VERSION = 1.2.0
VERSION = 1.2.1
TEST_ARGS ?= ""
PYTHON_VERSION ?= `python -c 'import platform; print("{0}.{1}".format(platform.python_version_tuple()[0], platform.python_version_tuple()[1]))'`

View File

@@ -48,7 +48,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible
---
collections:
- name: community.kubernetes
version: 1.2.0
version: 1.2.1
```
### Installing the OpenShift Python Library

View File

@@ -312,3 +312,12 @@ releases:
- 368-helm_template.yaml
- handle_valueerror.yml
release_date: '2021-02-17'
1.2.1:
changes:
bugfixes:
- fix missing requirements.txt file in kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/401).
- pin molecule version to <3.3.0 to fix breaking changes (https://github.com/ansible-collections/community.kubernetes/pull/403).
fragments:
- 401-requirements_file.yaml
- 403-pin-molecule.yaml
release_date: '2021-03-31'

View File

@@ -0,0 +1,2 @@
bugfixes:
- fix missing requirements.txt file in kubernetes.core (https://github.com/ansible-collections/community.kubernetes/pull/401).

View File

@@ -0,0 +1,2 @@
bugfixes:
- pin molecule version to <3.3.0 to fix breaking changes (https://github.com/ansible-collections/community.kubernetes/pull/403).

View File

@@ -26,7 +26,7 @@ tags:
- openshift
- okd
- cluster
version: 1.2.0
version: 1.2.1
build_ignore:
- .DS_Store
- '*.tar.gz'

View File

@@ -9,7 +9,7 @@
# - All functions are prefixed with f_ so it's obvious where they come
# from when in use throughout the script
DOWNSTREAM_VERSION="1.2.0"
DOWNSTREAM_VERSION="1.2.1"
KEEP_DOWNSTREAM_TMPDIR="${KEEP_DOWNSTREAM_TMPDIR:-''}"
@@ -34,6 +34,7 @@ f_prep()
Makefile
setup.cfg
.yamllint
requirements.txt
)
# Directories to recursively copy downstream (relative repo root dir path)