-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
53 additions
and
0 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,53 @@ | ||
--- | ||
title: Using Uffizzi | ||
--- | ||
|
||
|
||
## Variables | ||
|
||
Variable | Description | ||
-------------------|------------- | ||
BASEIMAGETAG | The tag for base image, default:dev | ||
VERSIONTAG | The tag for harbor image, default:dev | ||
DEVFLAG | Build model flag, default: true | ||
GOBUILDIMAGE | Golang image to compile harbor go source code. | ||
TRIVYFLAG | Whether to enable trivy in harbor, default:false | ||
CHARTFLAG | Whether to enable chartmuseum in harbor, default:false | ||
HTTPPROXY | Clarity proxy to build UI. | ||
|
||
## Targets | ||
|
||
Target | Description | ||
--------------------|------------- | ||
all | prepare env, compile binaries, build images and install images | ||
prepare | prepare env | ||
compile | compile core and jobservice code | ||
compile_core | compile core binary | ||
compile_jobservice | compile jobservice binary | ||
build | build Harbor docker images | ||
build_base_docker | build Harbor docker base images | ||
install | compile binaries, build images, prepare specific version of compose file and startup Harbor instance | ||
start | startup Harbor instance | ||
down | shutdown Harbor instance | ||
package_online | prepare online install package | ||
package_offline | prepare offline install package | ||
pushimage | push Harbor images to specific registry server | ||
cleanall | remove binary, Harbor images, specific version docker-compose file, specific version tag and online/offline install package | ||
cleanbinary | remove core and jobservice binary | ||
cleanimage | remove Harbor images | ||
cleandockercomposefile | remove specific version docker-compose | ||
cleanpackage | remove online/offline install package | ||
|
||
## Examples | ||
|
||
### Build and run harbor from source code | ||
|
||
```sh | ||
make install | ||
``` | ||
|
||
### Package offline installer | ||
|
||
```sh | ||
make package_offline | ||
``` |