-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from Keyfactor/akv_auth
Auth Providers
- Loading branch information
Showing
93 changed files
with
6,958 additions
and
2,561 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
name: KFC 10.X.X Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
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: Install Azure CLI | ||
run: | | ||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | ||
az --version | ||
### Store Type Tests | ||
Test_StoreTypes_KFC_10_4_5: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
env: | ||
SECRET_NAME: "command-config-1045-clean" | ||
KEYFACTOR_HOSTNAME: "int1045-test-clean.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_StoreTypes*" | ||
Test_StoreTypes_KFC_10_2_1: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
env: | ||
SECRET_NAME: "command-config-1021-clean" | ||
KEYFACTOR_HOSTNAME: "int1021-test-clean.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_StoreTypes*" | ||
### Store Tests | ||
Test_Stores_KFC_10_4_5: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- Test_StoreTypes_KFC_10_4_5 | ||
env: | ||
SECRET_NAME: "command-config-1045" | ||
KEYFACTOR_HOSTNAME: "integrations1045-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: go test -v ./cmd -run "^Test_Stores_*" | ||
Test_Stores_KFC_10_2_1: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- Test_StoreTypes_KFC_10_2_1 | ||
env: | ||
SECRET_NAME: "command-config-1021" | ||
KEYFACTOR_HOSTNAME: "integrations1021-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_*" | ||
### PAM Tests | ||
Test_PAM_KFC_10_4_5: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- Test_StoreTypes_KFC_10_4_5 | ||
env: | ||
SECRET_NAME: "command-config-1045" | ||
KEYFACTOR_HOSTNAME: "integrations1045-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_2_1: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- Test_StoreTypes_KFC_10_2_1 | ||
env: | ||
SECRET_NAME: "command-config-1021" | ||
KEYFACTOR_HOSTNAME: "integrations1021-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*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
name: KFC 11.X.X Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
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: Install Azure CLI | ||
run: | | ||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | ||
az --version | ||
### Store Type Tests | ||
Test_StoreTypes_KFC_11_0_0: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
env: | ||
SECRET_NAME: "command-config-1100-clean" | ||
KEYFACTOR_HOSTNAME: "int11-test-clean.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_StoreTypes*" | ||
### Store Tests | ||
Test_Stores_KFC_11_0_0: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- Test_StoreTypes_KFC_11_0_0 | ||
env: | ||
SECRET_NAME: "command-config-1100" | ||
KEYFACTOR_HOSTNAME: "integrations1100b3-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_*" | ||
### PAM Tests | ||
Test_PAM_KFC_11_0_0: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build | ||
- Test_StoreTypes_KFC_11_0_0 | ||
env: | ||
SECRET_NAME: "command-config-1100" | ||
KEYFACTOR_HOSTNAME: "integrations1100b3-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*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.