Skip to content

Commit

Permalink
23.1.0+1.29.3 (#37)
Browse files Browse the repository at this point in the history
* update kubectl to v1.29.3

* update Github workflow

* update .yamllint

* Molecule: fix various ansible-lint issues

* update CHANGELOG
  • Loading branch information
githubixx authored Apr 3, 2024
1 parent 7602887 commit 706f7cf
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ jobs:

- name: Trigger a new import on Galaxy.
run: >-
ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }}
$(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
ansible-galaxy role import --token ${{ secrets.GALAXY_API_KEY }} -vvvvvvvv --role-name=$(echo ${{ github.repository }} | cut -d/ -f2 | sed 's/ansible-role-//' | sed 's/-/_/g') $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
2 changes: 1 addition & 1 deletion .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ extends: default

rules:
line-length:
max: 200
max: 300
level: warning
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 23.1.0+1.29.3

- update kubectl to `v1.29.3`
- update Github workflow
- update .yamllint
- Molecule: update tests
- Molecule: fix various ansible-lint issues

## 23.0.2+1.28.5

- update kubectl to `v1.28.5`
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Role Variables

```yaml
# "kubectl" version to install
kubectl_version: "1.28.5"
kubectl_version: "1.29.3"

# The default "binary" will download "kubectl" as a binary file. This is
# about 2.5x bigger then the ".tar.gz" file. The tarball needs to be unarchived
Expand All @@ -32,8 +32,9 @@ kubectl_version: "1.28.5"
# over mobile link) stay with "archive". Otherwise "binary" might be an option.
kubectl_download_filetype: "binary"
#
# SHA512 checksum of the .tar.gz file (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.28.md#client-binaries)
kubectl_checksum_archive: "sha512:9cd61a97b37cb27cc565f5a2cebd6086b86148c5759eb0e6a0c03e7be4b701bec407c46a65633c51a00a7aa74733c2fdd082b9da3382d38525e2e5b8dbb11b77"
# SHA512 checksum of the "kubernetes-client-linux-amd64.tar.gz" file
# (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.29.md#client-binaries)
kubectl_checksum_archive: "sha512:c9cc7ab9e3aa776f2daab3a9e10ee78d57d0c081ef43f8032de36a61c6425ba527d5df92611b058672be0975a6b97ad3f3a169e282c26275d2c0e59e1f9b1173"
#
# SHA512 checksum of the binary. There is normally no need to change it.
# Further information:
Expand Down
7 changes: 4 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# "kubectl" version to install
kubectl_version: "1.28.5"
kubectl_version: "1.29.3"

# The default "binary" will download "kubectl" as a binary file. This is
# about 2.5x bigger then the ".tar.gz" file. The tarball needs to be unarchived
Expand All @@ -14,8 +14,9 @@ kubectl_version: "1.28.5"
# over mobile link) stay with "archive". Otherwise "binary" might be an option.
kubectl_download_filetype: "binary"
#
# SHA512 checksum of the .tar.gz file (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.28.md#client-binaries)
kubectl_checksum_archive: "sha512:9cd61a97b37cb27cc565f5a2cebd6086b86148c5759eb0e6a0c03e7be4b701bec407c46a65633c51a00a7aa74733c2fdd082b9da3382d38525e2e5b8dbb11b77"
# SHA512 checksum of the "kubernetes-client-linux-amd64.tar.gz" file
# (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.29.md#client-binaries)
kubectl_checksum_archive: "sha512:c9cc7ab9e3aa776f2daab3a9e10ee78d57d0c081ef43f8032de36a61c6425ba527d5df92611b058672be0975a6b97ad3f3a169e282c26275d2c0e59e1f9b1173"
#
# SHA512 checksum of the binary. There is normally no need to change it.
# Further information:
Expand Down
6 changes: 4 additions & 2 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
- hosts: test-kubectl-2004,test-kubectl-2204
- name: Setup Ubuntu hosts
hosts: test-kubectl-2004,test-kubectl-2204
vars_files:
- vars/ubuntu.yml
tasks:
- name: Include kubectl role
ansible.builtin.include_role:
name: githubixx.kubectl

- hosts: test-kubectl-debian11,test-kubectl-debian12,test-kubectl-debian12-binary-sha512,test-kubectl-debian12-binary-sha256
- name: Setup Debian hosts
hosts: test-kubectl-debian11,test-kubectl-debian12,test-kubectl-debian12-binary-sha512,test-kubectl-debian12-binary-sha256
tasks:
- name: Include kubectl role
ansible.builtin.include_role:
Expand Down
3 changes: 2 additions & 1 deletion molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Copyright (C) 2023 Robert Wimmer
# SPDX-License-Identifier: GPL-3.0-or-later

- hosts: all
- name: Prepare hosts
hosts: all
gather_facts: false
tasks:
- name: Install Python
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- name: Verify setup
hosts: all
vars:
expected_output: "v1.28.5"
expected_output: "v1.29.3"
tasks:
- name: Execute kubectl version to capture output
ansible.builtin.command: kubectl version --client=true
Expand Down

0 comments on commit 706f7cf

Please sign in to comment.