mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-17 07:45:24 +01:00
commit
245b54d10d
2
Makefile
2
Makefile
@ -204,7 +204,7 @@ compile:check_environment $(COMPILETAG)
|
|||||||
|
|
||||||
prepare:
|
prepare:
|
||||||
@echo "preparing..."
|
@echo "preparing..."
|
||||||
@$(MAKEPATH)/$(PREPARECMD) -conf $(CONFIGPATH)/$(CONFIGFILE)
|
@$(MAKEPATH)/$(PREPARECMD) --conf $(CONFIGPATH)/$(CONFIGFILE)
|
||||||
|
|
||||||
build_common: version
|
build_common: version
|
||||||
@echo "buildging db container for photon..."
|
@echo "buildging db container for photon..."
|
||||||
|
@ -59,7 +59,7 @@ config_dir = os.path.join(base_dir, "common/config")
|
|||||||
templates_dir = os.path.join(base_dir, "common/templates")
|
templates_dir = os.path.join(base_dir, "common/templates")
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('-conf', dest='cfgfile', default=base_dir+'/harbor.cfg',type=str,help="the path of Harbor configuration file")
|
parser.add_argument('--conf', dest='cfgfile', default=base_dir+'/harbor.cfg',type=str,help="the path of Harbor configuration file")
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user