代码拉取完成,页面将自动刷新
同步操作将从 龙归科技/arkid 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
.PHONY: \
ci \
lint test build \
all requirements docker docker-build docker-push \
sql-ldap-docker sql-ldap-docker-build sql-ldap-docker-push \
native-ldap-docker native-ldap-docker-build native-ldap-docker-push
VERSION ?= 1.0.`date +%Y%m%d`
BASE_COMMIT_ID ?= ""
ci:
docker build --build-arg base_commit_id="origin/master" \
-t harbor.longguikeji.com/ark-releases/arkid:$(VERSION) .
test:
python manage.py migrate && python manage.py test siteapi.v1.tests --settings=oneid.settings_test \
&& python manage.py migrate --settings=oneid.settings_test_with_data && python manage.py test test.tests --settings=oneid.settings_test_with_data
lint:
@if [ ${BASE_COMMIT_ID}x != ""x ]; \
then \
git reset ${BASE_COMMIT_ID}; \
git add .; \
fi
.git/hooks/pre-commit
requirements:
pipenv run pipenv_to_requirements -f
build: docker-dev-build
docker-dev: docker-dev-build docker-dev-push
docker-dev-build:
docker build -t harbor.longguikeji.com/ark-releases/arkid:$(VERSION) .
docker-dev-push:
docker push harbor.longguikeji.com/ark-releases/arkid:$(VERSION)
docker-prod: docker-prod-build docker-prod-push
docker-prod-build:
docker build -t longguikeji/arkid:$(VERSION) .
docker-prod-push:
docker push longguikeji/arkid:$(VERSION)
sql-ldap-docker: sql-ldap-docker-build sql-ldap-docker-push
sql-ldap-docker-build:
cd ldap/sql_backend/docker && \
docker build -t longguikeji/ark-sql-ldap:$(VERSION) .
sql-ldap-docker-push:
docker push longguikeji/ark-sql-ldap:$(VERSION)
native-ldap-docker: native-ldap-docker-build native-ldap-docker-build
native-ldap-docker-build:
cd ldap/native_backend && \
docker build -t longguikeji/ark-native-ldap:$(VERSION) .
native-ldap-docker-push:
docker push longguikeji/ark-native-ldap:$(VERSION)
docker-compose:
INSTANCE_ID=arkid WORKSPACE=/Users/yanghan/volume/arkid SQL_PWD=root LDAP_PASSWORD=root docker-compose up -d
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。