mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-21 17:55:30 +01:00
feat(cicd) fix some build problem
Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
parent
aa71fc43cf
commit
94230b5e19
5
.github/workflows/CI.yml
vendored
5
.github/workflows/CI.yml
vendored
@ -39,7 +39,6 @@ jobs:
|
||||
docker_channel: stable
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 2
|
||||
path: src/github.com/goharbor/harbor
|
||||
- name: setup env
|
||||
run: |
|
||||
@ -100,7 +99,6 @@ jobs:
|
||||
docker_channel: stable
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 2
|
||||
path: src/github.com/goharbor/harbor
|
||||
- name: setup env
|
||||
run: |
|
||||
@ -154,7 +152,6 @@ jobs:
|
||||
docker_channel: stable
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 2
|
||||
path: src/github.com/goharbor/harbor
|
||||
- name: setup env
|
||||
run: |
|
||||
@ -208,7 +205,6 @@ jobs:
|
||||
docker_channel: stable
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 2
|
||||
path: src/github.com/goharbor/harbor
|
||||
- name: setup env
|
||||
run: |
|
||||
@ -252,7 +248,6 @@ jobs:
|
||||
node-version: '10.16.2'
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 2
|
||||
path: src/github.com/goharbor/harbor
|
||||
- name: setup env
|
||||
run: |
|
||||
|
6
Makefile
6
Makefile
@ -374,6 +374,12 @@ build_base_docker:
|
||||
$(PUSHSCRIPTPATH)/$(PUSHSCRIPTNAME) goharbor/harbor-$$name-base:$(BASEIMAGETAG) $(REGISTRYUSER) $(REGISTRYPASSWORD) ; \
|
||||
done
|
||||
|
||||
pull_base_docker:
|
||||
@for name in chartserver clair clair-adapter core db jobservice log nginx notary-server notary-signer portal prepare redis registry registryctl; do \
|
||||
echo $$name ; \
|
||||
$(DOCKERPULL) goharbor/harbor-$$name-base:$(BASEIMAGETAG) ; \
|
||||
done
|
||||
|
||||
install: compile build prepare start
|
||||
|
||||
package_online: update_prepare_version
|
||||
|
@ -1,6 +1,4 @@
|
||||
FROM photon:2.0
|
||||
|
||||
RUN tdnf install -y python3 python3-pip httpd
|
||||
RUN pip3 install pipenv==2018.11.26
|
||||
|
||||
|
||||
RUN tdnf install -y python3 python3-pip httpd && tdnf clean all
|
||||
RUN pip3 install setuptools && pip3 install pipenv==2018.11.26
|
||||
|
@ -1,3 +1,3 @@
|
||||
FROM photon:2.0
|
||||
|
||||
RUN tdnf install -y redis sudo
|
||||
RUN tdnf install -y redis sudo && tdnf clean all
|
||||
|
@ -17,4 +17,4 @@ docker ps
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
go test -race -i ./src/core ./src/jobservice
|
||||
sudo -E env "PATH=$PATH" "POSTGRES_MIGRATION_SCRIPTS_PATH=$DIR/../../make/migrations/postgresql/" ./tests/coverage4gotest.sh
|
||||
goveralls -coverprofile=profile.cov -service=github || true
|
||||
#goveralls -coverprofile=profile.cov -service=github || true
|
Loading…
Reference in New Issue
Block a user