Skip to content

Commit

Permalink
Merge pull request #426 from Ankurk99/dev
Browse files Browse the repository at this point in the history
rename knoxautopolicy to auto-policy-discovery
  • Loading branch information
nyrahul authored Mar 17, 2022
2 parents 11fd4af + 43fd276 commit bb633eb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
branches:
- 'v*'

name: Create Knoxautopolicy release after testing the image
name: Create auto-policy-discovery release after testing the image

jobs:
build:
name: Create Knoxautopolicy Release
name: Create auto-policy-discovery Release
if: github.repository == 'accuknox/auto-policy-discovery'
runs-on: ubuntu-18.04
timeout-minutes: 20
steps:
- name: Checkout Knoxautopolicy code
- name: Checkout auto-policy-discovery code
uses: actions/checkout@v2

- name: Setup Enviroment
Expand All @@ -34,17 +34,17 @@ jobs:
./k3s/install_k3s.sh
- name: Generate Knoxautopolicy artifacts
- name: Generate auto-policy-discovery artifacts
run: |
GITHUB_SHA=$GITHUB_SHA ./src/build/build_knoxautopolicy.sh ${{ steps.vars.outputs.tag }}
- name: Run Knoxautopolicy
- name: Run auto-policy-discovery
run: |
kubectl apply -f deployments/k8s/ && kubectl wait --for=condition=ready --timeout=5m -n default pod -l container=knoxautopolicy
kubectl get pods -A
#TODO: add the following tests after they are fixed
# - name: Test Knoxautopolicy
# - name: Test auto-policy-discovery
# run: |
# ./tests/test-scenarios-local.sh ${{ steps.vars.outputs.tag }}

Expand All @@ -54,6 +54,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_AUTHTOK }}

- name: Push Knoxautopolicy images to Docker
- name: Push auto-policy-discovery images to Docker
run: |
./src/build/push_knoxautopolicy.sh ${{ steps.vars.outputs.tag }}
8 changes: 4 additions & 4 deletions .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:
paths:
- 'STABLE-RELEASE'

name: Knoxautopolicy stable release
name: auto-policy-discovery stable release

jobs:
build:
name: Create Knoxautopolicy Release - 18.04
name: Create auto-policy-discovery Release - 18.04
if: github.repository == 'accuknox/auto-policy-discovery'
runs-on: ubuntu-18.04
timeout-minutes: 20
steps:
- name: Checkout Knoxautopolicy code
- name: Checkout auto-policy-discovery code
uses: actions/checkout@v2

- name: Pull Docker Hub image
Expand All @@ -31,5 +31,5 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_AUTHTOK }}

- name: Push Knoxautopolicy images to Docker
- name: Push auto-policy-discovery images to Docker
run: ./src/build/push_knoxautopolicy.sh stable
8 changes: 4 additions & 4 deletions .github/workflows/stable-version-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on:
branches:
- 'v*'

name: Knoxautopolicy stable release update
name: auto-policy-discovery stable release update

jobs:
build:
name: Create Knoxautopolicy Release - 18.04
name: Create auto-policy-discovery Release - 18.04
if: github.repository == 'accuknox/auto-policy-discovery'
runs-on: ubuntu-18.04
timeout-minutes: 20
steps:
- name: Checkout Knoxautopolicy code
- name: Checkout auto-policy-discovery code
uses: actions/checkout@v2
with:
ref: dev
Expand All @@ -37,7 +37,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_AUTHTOK }}

- name: Push Knoxautopolicy images to Docker
- name: Push auto-policy-discovery images to Docker
if: steps.match.outputs.tag == 'true'
run: ./src/build/push_knoxautopolicy.sh stable

0 comments on commit bb633eb

Please sign in to comment.