fix: Revert back hacky stuff so I can test with act now

This commit is contained in:
2025-09-12 21:33:50 -06:00
parent b95ac1a686
commit e334b375da
4 changed files with 6 additions and 98 deletions
+4 -32
View File
@@ -8,9 +8,9 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
bump_type: bump_type:
description: 'Specify the type of version bump' description: "Specify the type of version bump"
required: true required: true
default: 'patch' default: "patch"
type: choice type: choice
options: options:
- patch - patch
@@ -46,7 +46,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: "3.10"
- name: Install Commitizen - name: Install Commitizen
run: | run: |
@@ -236,34 +236,6 @@ jobs:
aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;; aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;;
esac 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 <LLVM>\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 - name: Build
run: cargo build --release --verbose --target=${{ matrix.job.target }} --locked 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.tar.gz
artifacts/gman-armv7-musl.sha256 artifacts/gman-armv7-musl.sha256
tag_name: v${{ env.RELEASE_VERSION }} tag_name: v${{ env.RELEASE_VERSION }}
name: 'v${{ env.RELEASE_VERSION }}' name: "v${{ env.RELEASE_VERSION }}"
body: ${{ env.changelog_body }} body: ${{ env.changelog_body }}
draft: false draft: false
prerelease: false prerelease: false
-50
View File
@@ -9,53 +9,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Other ### Other
- Initial test release of the `gman` project. - 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
Generated
+1 -13
View File
@@ -1576,14 +1576,13 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
[[package]] [[package]]
name = "gman" name = "gman"
version = "0.1.0" version = "0.0.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"argon2", "argon2",
"assert_cmd", "assert_cmd",
"async-trait", "async-trait",
"aws-config", "aws-config",
"aws-lc-sys",
"aws-sdk-secretsmanager", "aws-sdk-secretsmanager",
"azure_identity", "azure_identity",
"azure_security_keyvault_secrets", "azure_security_keyvault_secrets",
@@ -1604,7 +1603,6 @@ dependencies = [
"indoc", "indoc",
"log", "log",
"log4rs", "log4rs",
"openssl",
"predicates", "predicates",
"pretty_assertions", "pretty_assertions",
"proptest", "proptest",
@@ -2472,15 +2470,6 @@ version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" 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]] [[package]]
name = "openssl-sys" name = "openssl-sys"
version = "0.9.109" version = "0.9.109"
@@ -2489,7 +2478,6 @@ checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
"openssl-src",
"pkg-config", "pkg-config",
"vcpkg", "vcpkg",
] ]
+1 -3
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "gman" name = "gman"
version = "0.1.0" version = "0.0.1"
edition = "2024" edition = "2024"
authors = ["Alex Clarke <alex.j.tusa@gmail.com>"] authors = ["Alex Clarke <alex.j.tusa@gmail.com>"]
description = "Universal secret management and injection tool" description = "Universal secret management and injection tool"
@@ -58,8 +58,6 @@ gcloud-sdk = { version = "0.28.1", features = [
crc32c = "0.6.8" crc32c = "0.6.8"
azure_identity = "0.27.0" azure_identity = "0.27.0"
azure_security_keyvault_secrets = "0.6.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] [dev-dependencies]
pretty_assertions = "1.4.1" pretty_assertions = "1.4.1"