-
Notifications
You must be signed in to change notification settings - Fork 559
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into e2e/canary-weigth-50
- Loading branch information
Showing
125 changed files
with
13,428 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Ask a question 💬 | ||
url: https://github.com/alibaba/higress/discussions | ||
about: Ask a question or request support for using Higress. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Latest Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
latest-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Build hgctl latest multiarch binaries | ||
run: | | ||
GOPROXY="https://proxy.golang.org,direct" make build-hgctl-multiarch | ||
tar -zcvf hgctl_latest_linux_amd64.tar.gz out/linux_amd64/ | ||
tar -zcvf hgctl_latest_linux_arm64.tar.gz out/linux_arm64/ | ||
tar -zcvf hgctl_latest_darwin_amd64.tar.gz out/darwin_amd64/ | ||
tar -zcvf hgctl_latest_darwin_arm64.tar.gz out/darwin_arm64/ | ||
# Ignore the error when we delete the latest release, it might not exist. | ||
|
||
# GitHub APIs take sometime to make effect, we should make sure before Recreate the Latest Release and Tag, | ||
# tag and release all get deleted. So we sleep sometime after deleting tag and release to wait for it taking effect. | ||
|
||
- name: Delete the Latest Release | ||
continue-on-error: true | ||
run: | | ||
gh release delete latest --repo $GITHUB_REPOSITORY | ||
sleep 4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: ${{ github.repository_owner }}/${{ github.event.repository.name }} | ||
|
||
# Ignore the error when we delete the latest tag, it might not exist. | ||
- name: Delete the Latest Tag | ||
continue-on-error: true | ||
run: | | ||
gh api --method DELETE /repos/$GITHUB_REPOSITORY/git/refs/tags/latest | ||
sleep 4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: ${{ github.repository_owner }}/${{ github.event.repository.name }} | ||
|
||
- name: Recreate the Latest Release and Tag | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: false | ||
prerelease: true | ||
tag_name: latest | ||
files: | | ||
hgctl_latest_linux_amd64.tar.gz | ||
hgctl_latest_linux_arm64.tar.gz | ||
hgctl_latest_darwin_amd64.tar.gz | ||
hgctl_latest_darwin_arm64.tar.gz | ||
body: | | ||
This is the "latest" release of **Higress**, which contains the most recent commits from the main branch. | ||
This release **might not be stable**. | ||
It is only intended for developers wishing to try out the latest features in Higress, some of which may not be fully implemented. | ||
Try latest version of `hgctl` with: | ||
``` shell | ||
curl -Ls https://raw.githubusercontent.com/alibaba/higress/main/tools/hack/get-hgctl.sh | VERSION=latest bash | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| 1.x.x | :white_check_mark: | | ||
| < 1.0.0 | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
Please report any security issue or Higress crash report to [ASRC](https://security.alibaba.com/)(Alibaba Security Response Center) where the issue will be triaged appropriately. | ||
|
||
Thank you in advance for helping to keep Higress secure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.7.0 | ||
v1.0.0-rc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) 2022 Alibaba Group Holding Ltd. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package main | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
|
||
"github.com/alibaba/higress/pkg/cmd/hgctl" | ||
) | ||
|
||
func main() { | ||
if err := hgctl.GetRootCommand().Execute(); err != nil { | ||
_, _ = fmt.Fprintln(os.Stderr, err) | ||
os.Exit(1) | ||
} | ||
} |
Oops, something went wrong.