Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
d0g0x01 committed Aug 21, 2023
1 parent bf3e7f7 commit c1e865a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build KubeGraph Image
name: build-kubegraph-mage

on:
workflow_dispatch:
Expand Down Expand Up @@ -79,4 +79,5 @@ jobs:
build-args: |
VERSION=${{ github.sha }}
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.image }}:snapshot-${{ github.sha }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.image }}:snapshot-${{ github.sha }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-${{ matrix.image }}:latest
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: KubeHound Linter
name: kubehound-linter

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: KubeHound Release
name: kubehound-release

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/system-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: KubeHound System Tests
name: kubehound-system-tests

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: KubeHound Unit Tests
name: kubehound-unit-tests

on:
push:
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,8 @@ thirdparty-licenses: ## Generate the list of 3rd party dependencies and write to
.PHONY: local-wiki
local-wiki: ## Generate and serve the mkdocs wiki on localhost
pip install mkdocs-material mkdocs-awesome-pages-plugin markdown-captions
mkdocs serve
mkdocs serve

.PHONY: local-release
local-release: ## Generate release packages locally via goreleaser
goreleaser release --snapshot --clean --config .goreleaser.yaml
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ A Kubernetes attack graph tool allowing automated calculation of attack paths be
- [Using KubeHound Data](#using-kubehound-data)
- [Development](#development)
- [Build](#build)
- [Release build](#release-build)
- [Unit Testing](#unit-testing)
- [System Testing](#system-testing)
- [Environment variable:](#environment-variable)
Expand Down Expand Up @@ -183,6 +184,14 @@ make build

All binaries will be output to the [bin](./bin/) folder

### Release build

Build the release packages locally using [goreleaser](https://goreleaser.com/install):

```bash
make local-release
```

### Unit Testing

The full suite of unit tests can be run locally via:
Expand Down

0 comments on commit c1e865a

Please sign in to comment.