Commit Graph

85 Commits

Author SHA1 Message Date
John Niang
94bc2b840a Allow E2E testing to fail (#6278) 2024-07-05 17:46:46 +08:00
Ryan Wang
248d075481 chore: bump pnpm version to 9 (#5953)
#### What type of PR is this?

/area ui
/kind improvement
/milestone 2.16.x

#### What this PR does / why we need it:

升级 pnpm 的版本至 9,以及 GitHub Actions 的 Node 版本改为了 20。

#### Does this PR introduce a user-facing change?

```release-note
升级 pnpm 的版本至 9
```
2024-05-21 03:24:45 +00:00
Cedric
546d63740b Fix potential github action smells (#5809) 2024-04-29 15:45:22 +08:00
Ryan Wang
b176c497fb chore: update issue template (#5407)
#### What type of PR is this?

/kind improvement

#### What this PR does / why we need it:

移除 issue 模板中的 **在线站点地址** 输入框,在正常情况下,系统信息中已经包含了外部访问地址。

#### Does this PR introduce a user-facing change?

```release-note
None
```
2024-02-27 04:02:13 +00:00
John Niang
94a51aba4f Bump pnpm/action-setup version to 3.0.0 (#5364)
#### What type of PR is this?

/kind cleanup
/area core

#### What this PR does / why we need it:

See https://github.com/halo-dev/halo/pull/5340#issuecomment-1950965406 for more.

#### Does this PR introduce a user-facing change?

```release-note
None
```
2024-02-18 08:40:15 +00:00
owo
caf3e66e8c docs: update the branch name from master to main in contribution.md (#5359)
#### What type of PR is this?
/kind documentation


#### What this PR does / why we need it:

Prevent code contributors from being misled by outdated documentation(1.x).

#### Which issue(s) this PR fixes:

Fixes #5358

#### Special notes for your reviewer:


#### Does this PR introduce a user-facing change?


```release-note
NONE
```
2024-02-17 08:00:15 +00:00
John Niang
77a34c11d5 Bump actions' versions for muting warning from GitHub workflow
Signed-off-by: John Niang <johnniang@foxmail.com>
2024-02-06 15:57:26 +08:00
John Niang
a3772fab1b Add build script for ui project
Signed-off-by: John Niang <johnniang@foxmail.com>
2024-02-03 22:51:50 +08:00
John Niang
27db40f7f6 Support building Docker image with major version tag (#5304)
#### What type of PR is this?

/kind improvement
/area core
/milestone 2.13.x

#### What this PR does / why we need it:

This PR supports building Docker image with major version tag, e.g.: `halohub/halo:2`.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/4976

#### Does this PR introduce a user-facing change?

```release-note
None
```
2024-02-02 08:38:33 +00:00
John Niang
b4bf425a09 Remove analyzing code step in test job
Because we have enabled Automatic Analysis

Signed-off-by: John Niang <johnniang@foxmail.com>
2024-01-30 16:37:51 +08:00
John Niang
c59aed6510 Add codecov action into workflow
Signed-off-by: John Niang <johnniang@foxmail.com>
2024-01-15 00:16:48 +08:00
John Niang
883c1fadb6 Refactor workflow by not using composite actions from halo-sigs/actions
Signed-off-by: John Niang <johnniang@foxmail.com>
2024-01-10 14:14:36 +08:00
rick
84bcf9bd0f test: run e2e testing on all supported databases 2023-11-29 05:39:51 +00:00
Rick
ce5c1f9052 test: add e2e test cases of user, role, and plugin (#4920)
* chore: provide an out-of-the-box gitpod config file

* test: add e2e test cases of user, role, and plugin

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
Co-authored-by: John Niang <johnniang@foxmail.com>
2023-11-28 21:52:44 +08:00
Ryan Wang
8657854d87 chore: update issue template (#4915)
#### What type of PR is this?

/kind cleanup

#### What this PR does / why we need it:

更新 issue 模板,支持粘贴系统概览中提供的信息。


<img width="971" alt="图片" src="https://github.com/halo-dev/halo/assets/21301288/22799613-2c05-4621-99cd-f12293a3e837">


#### Does this PR introduce a user-facing change?

```release-note
None
```
2023-11-27 09:40:09 +00:00
John Niang
4ee4a8fd36 Merge pull request #4896 from ruibaby/chore/use-ibm-semeru-runtimes
chore: use ibm-semeru-runtimes to replace eclipse-temurin as the base image
2023-11-24 10:54:08 +08:00
John Niang
dec7a7f222 Merge branch 'main' into chore/use-ibm-semeru-runtimes 2023-11-23 23:29:40 +08:00
rick
6bde0c8848 fix: the image tag might be wrong when it is not a pr
Signed-off-by: Rick <LinuxSuRen@users.noreply.github.com>
2023-11-23 10:49:14 +00:00
Ryan Wang
6cecca25d2 Add platforms input for docker build step
Signed-off-by: Ryan Wang <i@ryanc.cc>
2023-11-23 16:06:26 +08:00
rick
2e77ff9c64 test: add e2e testing for the backend
Signed-off-by: Rick <LinuxSuRen@users.noreply.github.com>
2023-11-23 03:32:11 +00:00
John Niang
a0ea21175c Revert "ci: push image to GHCR for pull_request event" (#4865)
Reverts halo-dev/halo#4588

According to https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow, we cannot obtain secrets in pull requests, so that we are not able to push docker image for every pull request.

```release-note
None
```
2023-11-16 08:36:07 +00:00
John Niang
c5dd569aa7 Disable code scanning for pull requests (#4863) 2023-11-16 15:37:59 +08:00
John Niang
08898bf100 Integrate with SonarCloud 2023-11-15 15:14:55 +08:00
Ryan Wang
c48c5f94a7 chore: update issue templates (#4641)
#### What type of PR is this?

None

#### What this PR does / why we need it:

更新 issue 模板。

#### Does this PR introduce a user-facing change?

```release-note
None 
```
2023-09-22 05:06:23 +00:00
BugKing
32d2def93c ci: push image to GHCR for pull_request event 2023-09-11 13:57:34 +08:00
Ryan Wang
5a0e202847 chore: add sponsorship entry and sponsor image (#4233)
#### What type of PR is this?

/kind improvement

#### What this PR does / why we need it:

添加[爱发电](https://afdian.net/a/halo-dev)的赞助入口,以及在 README 上添加 Sponsors 图像,此图像会在 https://github.com/halo-sigs/sponsor-images 仓库中自动更新。

#### Does this PR introduce a user-facing change?

```release-note
None
```
2023-07-16 16:14:19 +00:00
John Niang
ed14fcb5f4 Support publishing to maven central repository (#3767)
#### What type of PR is this?

/kind feature
/area core

#### What this PR does / why we need it:

Use Gradle plugin `maven-publish` to publish Halo modules(`platform.application`, `platform.plugin` and `api`) to Maven central repository.

```bash
# Try to publish to Maven local repository.
./gradlew publish
# Really publish to Maven central repository.
./gradlew -Prelease publish -PossrhUsername=username -PossrhPassword=password
```

Note that currently we only support manually publishing.

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/2730

#### Does this PR introduce a user-facing change?

```release-note
None
```
2023-04-18 14:28:23 +08:00
Ryan Wang
86ee91a92e chore: remove issues triage action config files (#3503)
#### What type of PR is this?

/kind improvement

#### What this PR does / why we need it:

移除在 https://github.com/halo-dev/halo/pull/1416 中引入的通过 GitHub Actions 来实现 ChatOps 的配置文件,目前已经使用了 Prow 代替。

#### Does this PR introduce a user-facing change?

```release-note
None
```
2023-03-13 11:58:17 +00:00
John Niang
c43a81058a Refactor workflow for new console project (#3445)
Signed-off-by: johnniang <johnniang@fastmail.com>
2023-03-02 18:07:23 +08:00
John Niang
0d9ec4f197 Report test result using Jacoco plugin (#3385) 2023-02-24 15:51:21 +08:00
John Niang
03ec23f90f Bump up checkout and setup-java actions (#3368) 2023-02-22 23:03:48 +08:00
John Niang
8f21880683 Enable CI on release branches (#2876) 2022-12-08 10:46:26 +08:00
John Niang
cd5cc74714 Set docker image name properly when releasing (#2872) 2022-12-07 15:56:03 +08:00
Ryan Wang
4f4f35c67f chore: update issue templates for Halo 2.0 (#2788)
#### What type of PR is this?

/kind improvement

#### What this PR does / why we need it:

为 Halo 2.0 更新 issue 模板。

#### Special notes for your reviewer:

效果可以查看:

- https://github.com/ruibaby/halo/issues/new?assignees=&labels=bug&template=bug_report.zh.yml
- https://github.com/ruibaby/halo/issues/new?assignees=&labels=&template=feature_request.zh.yml

#### Does this PR introduce a user-facing change?

```release-note
None
```
2022-11-28 01:36:17 +00:00
John Niang
84b28cec16 Build console with release tag when releasing (#2665) 2022-11-07 16:03:15 +08:00
John Niang
e23193cd73 Add Pull Request template for default branch (#2513)
#### What type of PR is this?

/kind documentation

#### What this PR does / why we need it:

See https://github.com/halo-dev/halo/pull/2078 for more.

#### Does this PR introduce a user-facing change?

```release-note
None
```
2022-10-06 11:00:25 +00:00
John Niang
cd2dc99898 Change condition of docker push (#2499) 2022-09-30 19:04:24 +08:00
John Niang
a2ee2e492e Support pushing to Docker Hub (#2392)
Signed-off-by: johnniang <johnniang@fastmail.com>

Signed-off-by: johnniang <johnniang@fastmail.com>
2022-09-07 22:39:04 +08:00
John Niang
9ed0dcafcc Change image name to halo-dev (#2264) 2022-07-19 23:47:36 +08:00
John Niang
fe816e6843 Add checkout-from parameter for composite action (#2241)
#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

Add checkout-from parameter for composite action. Please see <a801af5be5/README.md>.

If we don't set the parameter for the action, it will checkout from `default branch` to build docker image. You can see <https://github.com/halo-dev/halo/runs/7316162265?check_suite_focus=true#step:2:478>.

#### Which issue(s) this PR fixes:

<!--
PR 合并时自动关闭 issue。
Automatically closes linked issue when PR is merged.

用法:`Fixes #<issue 号>`,或者 `Fixes (粘贴 issue 完整链接)`
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?

```release-note
None
```
2022-07-13 09:41:09 +00:00
John Niang
5953d2201d Refactor CICD for Halo next (#2236) 2022-07-12 11:01:00 +08:00
guqing
e2843adbe7 Create basic project structure for halo 2.0 (#1699)
* feat: Add project structure

* feat: Add config

* feat: Add flyway migrate config for h2 and mysql and postgresql

* fix: checkstyle config

* chore: Upgrade springboot 2.6 to 3.0.0-m1

* feat: Add spring snapshot url for repositories

* refactor: Change jdk11 to jdk17 for github ci config

* refactor: update build.gradle config
2022-03-04 15:04:11 +08:00
Ryan Wang
50f51d1cba chore: remove FUNDING.yml
Signed-off-by: Ryan Wang <i@ryanc.cc>
2022-01-13 20:34:47 +08:00
John Niang
f06f95fbdf Remove prefix v of tag name when releasing a new version (#1571)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-12-06 16:17:55 +08:00
John Niang
a376dca4d5 Set the final version with tag name when releasing (#1511)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-11-01 23:16:41 +08:00
John Niang
4ffbd502fe Refactor docker release in GitHub workflow (#1510)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-11-01 08:56:58 +08:00
John Niang
6be4051f9e Simplify Java setup in GitHub workflow (#1509)
Signed-off-by: John Niang <johnniang@fastmail.com>
2021-10-31 21:48:53 +08:00
Ryan Wang
6a0527bb3d chore: add deployment method option for issue templates. (#1452)
* chore: add deployment method option for issue templates.

Signed-off-by: Ryan Wang <i@ryanc.cc>
2021-08-14 17:03:06 +08:00
Ryan Wang
74acd451b7 chore: remove auto-assign bot config file. (#1446) 2021-08-04 09:05:22 +08:00
Ryan Wang
dd8968fee7 chore: add open-source-best-practice doc for issue templates. 2021-07-21 23:21:16 +08:00