From bb7de1d315c4db1b61795e1cacf23c68c255e40c Mon Sep 17 00:00:00 2001 From: Michael Primeaux Date: Wed, 29 Oct 2025 12:02:58 -0500 Subject: [PATCH] debt: Upgrade dependencies to latest stable versions --- .github/workflows/ci.yaml | 8 +-- .github/workflows/publish.yaml | 2 +- CHANGELOG.md | 15 +++++- charts/cert-issuer/Chart.yaml | 7 +-- scripts/deps.sh | 1 + scripts/os-type.sh | 90 ++++++++++++++++++++++++++++++++-- 6 files changed, 110 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e0da7fb..48dcb49 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ jobs: matrix: # The following strategy matrix is for Minikube. # Ref: https://kubernetes.io/releases/ - k8s: [ "1.32.2" ] + k8s: [ "1.34.1" ] permissions: contents: read # Required to read repo contents @@ -45,7 +45,7 @@ jobs: # Ref: https://github.com/actions/checkout - name: Checkout Source - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -70,11 +70,11 @@ jobs: # Ref: https://github.com/manusa/actions-setup-minikube - name: Install Minikube if: steps.list-changed.outputs.changed == 'true' - uses: manusa/actions-setup-minikube@v2.13.1 + uses: manusa/actions-setup-minikube@v2.14.0 with: driver: docker container runtime: docker - minikube version: 'v1.35.0' + minikube version: 'v1.37.0' kubernetes version: ${{ matrix.k8s }} start args: "--addons registry --memory 2048 --cpus 2" github token: ${{ secrets.GHCR_TOKEN }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 26e20c9..e324d1e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -46,7 +46,7 @@ jobs: # Ref: https://github.com/actions/checkout - name: Checkout Source - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 653bfc8..3e103dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,18 @@ Date format: `YYYY-MM-DD` ### Fixed ### Security +--- +## [1.3.0] - 2025-10-29 + +### Added +### Changed +- `debt`: Upgraded all dependencies to their latest stable versions. + +### Deprecated +### Removed +### Fixed +### Security + --- ## [1.2.0] - 2025-03-05 @@ -52,7 +64,8 @@ Date format: `YYYY-MM-DD` ### Fixed ### Security -[Unreleased]: https://github.com/scriptures-social/platform/compare/1.2.0...HEAD +[Unreleased]: https://github.com/scriptures-social/platform/compare/1.3.0...HEAD +[1.3.0]: https://github.com/scriptures-social/platform/compare/1.2.0...1.3.0 [1.2.0]: https://github.com/scriptures-social/platform/compare/1.1.0...1.2.0 [1.1.0]: https://github.com/scriptures-social/platform/compare/1.0.0...1.1.0 [1.0.0]: https://github.com/scriptures-social/platform/compare/8090a69f7c51a7703b9b49b7633749c8b3b1f391...1.0.0 diff --git a/charts/cert-issuer/Chart.yaml b/charts/cert-issuer/Chart.yaml index 3d26a53..40d89b7 100644 --- a/charts/cert-issuer/Chart.yaml +++ b/charts/cert-issuer/Chart.yaml @@ -37,13 +37,14 @@ type: application # - Major version for breaking changes. # - Minor version for new features, backward-compatible. # - Patch version for bug fixes. -version: 1.2.7 +version: 1.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are expected to strictly # follow Semantic Versioning. They should reflect the version the application is using. -# NOTE: This value reflects the latest supported major version of the chart manager application. -appVersion: 1.17.1 +# NOTE: This value reflects the latest supported major version of the cert manager. +# See https://quay.io/repository/jetstack/charts/cert-manager?tab=tags&tag=latest +appVersion: 1.19.1 # List of maintainers for the chart, providing their name and optional URL. maintainers: diff --git a/scripts/deps.sh b/scripts/deps.sh index 66b0e0c..7a8ee3c 100755 --- a/scripts/deps.sh +++ b/scripts/deps.sh @@ -24,3 +24,4 @@ fi brew update brew install chart-testing kube-score helm brew upgrade +brew upgrade --cask diff --git a/scripts/os-type.sh b/scripts/os-type.sh index 7009ea3..bc5b25f 100755 --- a/scripts/os-type.sh +++ b/scripts/os-type.sh @@ -1,8 +1,13 @@ #!/bin/bash -# Copyright (c) 2024 Six After, Inc. -# -# This source code is licensed under the Apache 2.0 License found in the -# LICENSE file in the root directory of this source tree. +# COPYRIGHT - SIX AFTER, INC (“SIX AFTER”). ALL RIGHTS RESERVED. +# +# Information Contained Herein is Proprietary and Confidential. +# The document is the property of "SIX AFTER" and may not be +# disclosed, distributed, or reproduced without the express written +# permission of "SIX AFTER". + +# Detect the platform (similar to $OSTYPE) +# OS=${OSTYPE//[0-9.]/} UNAME=$( command -v uname) @@ -37,6 +42,54 @@ function is_linux() { return $(false) } +function is_linux_arm() { + if ! $(is_linux); then + return $(false) + fi + + local ARCH + ARCH=$(uname -m) + + case "$ARCH" in + arm*|aarch64) + return $(true) + ;; + *) + return $(false) + ;; + esac +} + +function is_linux_amd() { + if ! $(is_linux); then + return $(false) + fi + + local ARCH + ARCH=$(uname -m) + + if [[ "$ARCH" == "x86_64" ]]; then + return $(true) + fi + + return $(false) +} + +function is_linux_x86() { + if ! $(is_linux); then + return $(false) + fi + + local ARCH + ARCH=$(uname -m) + + if [[ "$ARCH" == "i386" || "$ARCH" == "i686" ]]; then + return $(true) + fi + + return $(false) +} + function is_macos() { local OS=$(detect_os) if [[ $OS == 'macOS' ]]; then @@ -72,3 +125,32 @@ function is_macos_amd() { return $(false) } + +function is_linux_ubuntu() { + if ! $(is_linux); then + return $(false) + fi + + if [[ -f /etc/os-release ]]; then + . /etc/os-release + if [[ $ID == 'ubuntu' ]]; then + return $(true) + fi + fi + + return $(false) +} + +function is_wsl() { + if ! $(is_linux); then + return $(false) + fi + + # WSL detection based on /proc/version or osrelease + if grep -qiE 'microsoft|wsl' /proc/version 2>/dev/null || \ + grep -qiE 'microsoft|wsl' /proc/sys/kernel/osrelease 2>/dev/null; then + return $(true) + fi + + return $(false) +}