Commit Graph

99 Commits

Author SHA1 Message Date
MinerYang
0fbff49eb0
bumpup golang to v1.18.5 (#17307)
Signed-off-by: yminer <yminer@vmware.com>
2022-08-03 17:44:03 +08:00
MinerYang
bd1d441b01
bumpup golang version to v1.18.4 (#17257)
Signed-off-by: yminer <yminer@vmware.com>
2022-07-29 09:43:01 +08:00
Orlix
ba0637f562
Tune stale action (#17146)
Tube stale action

- 60 days grace period for stale
- exclude issues and PR with labels : never-stale, kind/requirement

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>

Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-07-08 23:11:42 +02:00
Orlix
d88630848a
Making stale bot a bit more active (#17115)
- reducing the stale ime to 30 days
- adding operations-per-run to 1000 so we can clean a bit more

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>

Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-07-05 09:31:57 +08:00
Yang Jiao
1ac2c10f63
Modify Build Package Workflow trigger condition (#17106)
No need to build package when push tag

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-01 01:59:56 +08:00
Yang Jiao
7256e0bc8a
Update publish release workflow dockerhub account (#17066)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-24 14:30:59 +08:00
MinerYang
b8a71ac348
bump up golang version to v1.18.3 (#16957)
Signed-off-by: yminer <yminer@vmware.com>

update ci/ut_install.sh

Signed-off-by: yminer <yminer@vmware.com>
2022-06-08 17:56:14 +08:00
Yang Jiao
853e3d5fff
Add Publish Release workflow (#16956)
When release, this workflow will be triggered to complete subsequent work.
1 Push harbor images to dockerhub.
2 Upload asset to release.
3 Generate release notes using the .github/release.yml template.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-07 16:04:13 +08:00
Wang Yan
98c52e4478
enable default to build bin (#16763)
Change the default behavrior of building binaries for all the third parties to true.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-04-28 17:13:41 +08:00
Orlix
030c61059e
Merge pull request #16634 from OrlinVasilev/auto-release-notes
Add release.yml to automate release notes #16633
2022-04-27 13:21:41 +03:00
OrlinVasilev
27463f4ef4 Add release.yml to automate release notes #16633
Use github autogeneration release notes and add action to check if the PR has labels

Complete and more readable relase notes
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2022-04-27 10:48:31 +03:00
OrlinVasilev
4f34ef5bed Replace stale.yaml with stale GH Actions
stale.yaml not supported anymore!
https://github.com/marketplace/actions/close-stale-issues

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2022-04-13 15:32:54 +03:00
OrlinVasilev
01cc046459 Add new template file for PRs
Current file is not correct and it's not applied

Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
2022-04-12 22:56:10 +03:00
Yang Jiao
c3e912cb80 Modify setup-gcloud from master to v0
Adjust it because upstream made it, For more information, please see: https://github.com/google-github-actions/setup-gcloud/issues/539

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-23 06:20:23 +00:00
Yang Jiao
c947128849
Merge pull request #16148 from YangJiao0817/add-onlinepackage2gcs
Add online latest installer package
2022-03-10 14:36:58 +08:00
Shengwen Yu
4def5b9dd6 fix: conformance test
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-03-08 15:24:04 +08:00
MinerYang
74d2670616
bump up Go version to 1.17.7 (#16415)
Signed-off-by: yminer <yminer@vmmware.com>

update CONTRIBUTING.md 2.4 golang version to 1.17.7

Signed-off-by: yminer <yminer@vmmware.com>

Co-authored-by: yminer <yminer@vmmware.com>
2022-02-25 17:23:18 +08:00
yminer
9acf3d21ce bump up go version to v1.17.6
Signed-off-by: yminer <yminer@vmmware.com>
2022-01-17 17:45:22 +00:00
Yang Jiao
ecdf6b8a4e Add online latest installer package
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-24 11:19:48 +08:00
Yang Jiao
eff2ff03aa modify build-package branch master to main
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-07 14:59:48 +08:00
Wang Yan
a956758302
bump up go version to v1.17 (#15865)
* bump up go version to v1.17

Signed-off-by: Wang Yan <wangyan@vmware.com>

* gofmt fail

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-10-25 17:28:29 +08:00
Wang Yan
dbcbc8bad0
bump up go to v1.16.7 (#15564)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-09-09 17:58:00 +08:00
danfengliu
4789c65e15 Modify GCP repo in build package workflow
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-26 21:24:05 +08:00
danfengliu
a60bc14178
Merge pull request #15260 from danfengliu/add-dummy-file-as-controller-for-build-base
Add trigger file for building base
2021-07-16 09:40:22 +08:00
danfengliu
14ff3b2ca4 Add trigger file for building base
If build base images is needed in a unexpected situation, build base images action will be triggered by making a modification of .buildbaselog.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-15 17:22:37 +08:00
Wang Yan
494d74d32d
bump up go version to 1.16 (#15286)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-08 16:25:15 +08:00
孙世军
0464305bcc
Bump up UI version to v2.4.0 (#15174)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-06-23 16:27:40 +08:00
Will Sun
410c5bcd78
Undate Angular to the latest version (#15129)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-06-16 16:39:10 +08:00
danfengliu
d66ea07c2f Refind build base process in Makefile
Remove build base executable in Makefile by replacing it as an input parameter.
Add add more input parameters for controlling docker pull/push to make
build base process flexible for users.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-03 14:48:34 +08:00
danfengliu
344e51d2c6 Fix build base workflow issues
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-25 18:13:15 +08:00
danfengliu
3ef4dc17fc Fix notary trust directory issue and add login for each base image in makefile
1. Use root instead of ~ in notary parameter;
2. Fix tag immutability issue caused by GUI change;
3. Replace email domain name to harbor test;
4. Add login for each base image in makefile;
5. Add customize look test in nightly.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-20 18:23:13 +08:00
Daniel Jiang
6ebcc95582 Fix docker version in CI.yml
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-05-18 15:29:44 +08:00
Wang Yan
0fb520a33b bump up go to v1.15.12
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-05-14 15:36:23 +08:00
danfengliu
81b26418c1
Fix build base related issues (#14733)
1. Add build base image step in build package git action workflow;
2. Add build base step to UT test in CI, base image used by UI test should be built before building harbor image in the same runtime;
3. In build package workflow, trigger build base image step in condition of changing both in
Dockerfile.base and VERSION;
4. Add tag for setup nightly test.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-04-23 11:55:30 +08:00
danfengliu
f0ebd17994 Add build base image step in build package git action workflow
Build base image step should be in build package workflow, and local base images build by new step should be removed since images have been pushed to docker hub.

Signed-off-by: danfengliu <danfengl@vmware.com>
2021-04-17 18:10:44 +08:00
Daniel Jiang
a8622a3036
Merge pull request #14271 from a-mccarthy/add-pr-template
add PR template to repo
2021-04-16 09:32:50 +08:00
Wang Yan
0e3a9fbdea
remove the autobuild step (#14499)
The autobuild doesn't support golang, remove it.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-04-12 16:44:15 +08:00
Abigail McCarthy
93bdf8be87 update to include testing
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2021-04-07 12:38:20 -04:00
Daniel Jiang
3c299d70c0 Update exempt labels to reflect latest releases
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-03-04 17:37:40 +08:00
Wang Yan
abfc52e0ea
enlarge the CI timeout to 100 minutes (#14290)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-02-23 20:51:36 +08:00
Abigail McCarthy
9d47c49c9e add PR template to repo
Signed-off-by: Abigail McCarthy <mabigail@vmware.com>
2021-02-19 14:38:56 -05:00
Wang Yan
dba229d0df
build third party binaries in CI (#14019)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-01-22 11:33:42 +08:00
danfengliu
a576ee8694 Pass git action secret tp push image function in build workflow
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-01-12 10:01:50 +08:00
danfengliu
5f713f22fd Push harbor build images to docker-hub in build workflow
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-01-11 18:24:57 +08:00
Wang Yan
7a8a8fa104
upgrade go version to v1.15.6 (#13836)
Signed-off-by: wang yan <wangyan@vmware.com>
2020-12-23 18:53:09 +08:00
danfengliu
ff50e2363d
Move proxy cache e2e test into a new CI job (#13690)
CI job timeout is 60 minutes, but proxy cache case timeout is 20 minutes, once
proxy cache case is timeout, it will reach CI job timeout, then cause CI job terminated
by timeout without running rest of test steps, expecially uploading useful harbor logs,
so move this test into a new clean job for saving time and debugging.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-12-04 02:27:59 -08:00
KeisukeYamashita
f24d349ede Remove deprecated set-env
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
2020-11-30 16:51:55 +08:00
DQ
590212b485 Remove clair related code
- clair code in harbor core
- clair code in frontend
- clair code in robotcase

Signed-off-by: DQ <dengq@vmware.com>
2020-11-27 14:01:04 +08:00
danfengliu
2bf89e9356 Add docker-hub login before docker-hub pull
Due to docker-hub pull request rate limitation, we will use registed account to pull image
from docker-hub, therefore add docker-hub login in API tests.

Signed-off-by: danfengliu <danfengl@vmware.com>
2020-11-22 21:11:05 +08:00
He Weiwei
7e11c6227f ci: update env and path commands in github actions
The `add-path` and `set-env` commands are deprecated and will be
disabled soon so update the CI.yml to use the new methods for these
commands.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-11-02 01:17:34 +00:00