diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a93dbe..4fc3cb0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,9 @@ on: workflow_dispatch: inputs: bump_type: - description: 'Specify the type of version bump' + description: "Specify the type of version bump" required: true - default: 'patch' + default: "patch" type: choice options: - patch @@ -46,7 +46,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: "3.10" - name: Install Commitizen run: | @@ -236,34 +236,6 @@ jobs: aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;; esac - - name: Install LLVM/Clang for bindgen - if: matrix.job.os == 'ubuntu-latest' - run: | - sudo apt-get update - sudo apt-get install -y clang llvm-dev libclang-dev pkg-config musl-tools - echo "LIBCLANG_PATH=$(llvm-config --libdir)" >> $GITHUB_ENV - echo "BINDGEN_EXTRA_CLANG_ARGS=--sysroot=/usr --target=x86_64-unknown-linux-musl" >> $GITHUB_ENV - - - name: Install LLVM/Clang for bindgen - if: matrix.job.os == 'macOS-latest' - run: | - brew update - brew install llvm - echo "LIBCLANG_PATH=$(brew --prefix llvm)/lib" >> $GITHUB_ENV - echo "LLVM_CONFIG_PATH=$(brew --prefix llvm)/bin/llvm-config" >> $GITHUB_ENV - - - name: Install LLVM (libclang) for bindgen - if: matrix.job.os == 'windows-latest' - shell: pwsh - run: | - choco install llvm -y - # libclang.dll lives in \bin; point bindgen at it - $llvm = "C:\Program Files\LLVM" - echo "LIBCLANG_PATH=$llvm\bin" | Out-File -FilePath $env:GITHUB_ENV -Append - - - name: Install the bindgen-cli - run: cargo install --force --locked bindgen-cli - - name: Build run: cargo build --release --verbose --target=${{ matrix.job.target }} --locked @@ -398,7 +370,7 @@ jobs: artifacts/gman-armv7-musl.tar.gz artifacts/gman-armv7-musl.sha256 tag_name: v${{ env.RELEASE_VERSION }} - name: 'v${{ env.RELEASE_VERSION }}' + name: "v${{ env.RELEASE_VERSION }}" body: ${{ env.changelog_body }} draft: false prerelease: false diff --git a/CHANGELOG.md b/CHANGELOG.md index c413147..7c55828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,53 +9,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Other - Initial test release of the `gman` project. -## v0.0.6 (2025-09-12) - -### Fix - -- Attempting to use pre-generated bindgens for the aws-lc-sys library - -## v0.0.5 (2025-09-12) - -### Fix - -- Install openSSL differently to make this work - -## v0.0.4 (2025-09-12) - -### Fix - -- Address edge case for unknown_musl targets - -## v0.0.3 (2025-09-12) - -### Fix - -- Install LLVM prereqs for release flow - -## v0.0.2 (2025-09-12) - -### Fix - -- Updated the release flow to install the external bindgen-cli - -## v0.0.1 (2025-09-12) - -### Feat - -- Azure Key Vault support -- GCP Secret Manager support -- Full AWS SecretsManager support -- AWS Secrets Manager support -- Added two new flags to output where gman writes logs to and where it expects the config file to live - -### Fix - -- Made the vault file location more fault tolerant -- Attempting to maybe be a bit more explicit about config file handling to fix MacOS tests - -### Refactor - -- Refactor configuration structs directly into the provider definition to simplify validation, structs, and future extensions -- Made the creation of the log directories a bit more fault tolerant -- Renamed the provider field in a config file to type to make things a little easier to understand; also removed husky diff --git a/Cargo.lock b/Cargo.lock index 1687fec..23f6e9a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1576,14 +1576,13 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "gman" -version = "0.1.0" +version = "0.0.1" dependencies = [ "anyhow", "argon2", "assert_cmd", "async-trait", "aws-config", - "aws-lc-sys", "aws-sdk-secretsmanager", "azure_identity", "azure_security_keyvault_secrets", @@ -1604,7 +1603,6 @@ dependencies = [ "indoc", "log", "log4rs", - "openssl", "predicates", "pretty_assertions", "proptest", @@ -2472,15 +2470,6 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" -[[package]] -name = "openssl-src" -version = "300.5.2+3.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d270b79e2926f5150189d475bc7e9d2c69f9c4697b185fa917d5a32b792d21b4" -dependencies = [ - "cc", -] - [[package]] name = "openssl-sys" version = "0.9.109" @@ -2489,7 +2478,6 @@ checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" dependencies = [ "cc", "libc", - "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index ac6f02f..7eda2ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gman" -version = "0.1.0" +version = "0.0.1" edition = "2024" authors = ["Alex Clarke "] description = "Universal secret management and injection tool" @@ -58,8 +58,6 @@ gcloud-sdk = { version = "0.28.1", features = [ crc32c = "0.6.8" azure_identity = "0.27.0" azure_security_keyvault_secrets = "0.6.0" -openssl = { version = "0.10.73", features = ["vendored"] } -aws-lc-sys = { version = "0.31.0", features = ["bindgen", "ssl"] } [dev-dependencies] pretty_assertions = "1.4.1"