Skip to content

Commit

Permalink
fix(ci): Adding missing 10.1.1 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spbsoluble committed Oct 20, 2023
1 parent e3586c5 commit 5583948
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,26 @@ jobs:
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_Stores_*"
Test_Stores_KFC_10_1_1:
runs-on: ubuntu-latest
needs:
- build
- kf_10_x_x
- Test_StoreTypes_KFC_10_1_1
env:
SECRET_NAME: "command-config-1011"
KEYFACTOR_HOSTNAME: "integrations1011-lab.kfdelivery.com"
KEYFACTOR_DOMAIN: "command"
KEYFACTOR_USERNAME: ${{ secrets.LAB_USERNAME }}
KEYFACTOR_PASSWORD: ${{ secrets.LAB_PASSWORD }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
run: |
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_Stores_*"
# Test_Stores_KFC_10_1_1:
# runs-on: ubuntu-latest
# needs:
Expand Down Expand Up @@ -208,6 +228,25 @@ jobs:
run: |
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_PAM*"
Test_PAM_KFC_10_1_1:
runs-on: ubuntu-latest
needs:
- build
- kf_10_x_x
- Test_StoreTypes_KFC_10_1_1
env:
SECRET_NAME: "command-config-1011"
KEYFACTOR_HOSTNAME: "integrations1011-lab.kfdelivery.com"
KEYFACTOR_DOMAIN: "command"
KEYFACTOR_USERNAME: ${{ secrets.LAB_USERNAME }}
KEYFACTOR_PASSWORD: ${{ secrets.LAB_PASSWORD }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
run: |
unset KFUTIL_DEBUG
go test -v ./cmd -run "^Test_PAM*"
# Test_PAM_KFC_10_1_1:
# runs-on: ubuntu-latest
# needs:
Expand Down Expand Up @@ -281,6 +320,35 @@ jobs:
run: |
go test -v ./cmd -run "^Test_PAM*"
Test_AKV_PAM_KFC_10_1_1:
runs-on: self-hosted
needs:
- Test_PAM_KFC_10_1_1
env:
SECRET_NAME: "command-config-1011-az"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Install dependencies
run: go mod download && go mod tidy
- name: Get secret from Azure Key Vault
run: |
. ./examples/auth/akv/akv_auth.sh
cat $HOME/.keyfactor/command_config.json
- name: Install kfutil
run: |
make install
- name: Run tests
run: |
go test -v ./cmd -run "^Test_PAM*"
## KFC 11.x.x
kf_11_x_x:
runs-on: ubuntu-latest
needs:
Expand Down Expand Up @@ -379,6 +447,7 @@ jobs:
run: |
go test -v ./cmd -run "^Test_PAM*"
# Package Tests
Test_Kfutil_pkg:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5583948

Please sign in to comment.