-
Notifications
You must be signed in to change notification settings - Fork 173
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 zhenjunMa-patch-1
- Loading branch information
Showing
203 changed files
with
14,258 additions
and
1,795 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,24 @@ | ||
name: Alipay Cloud Devops Codescan | ||
on: | ||
pull_request_target: | ||
jobs: | ||
stc: #安全扫描 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: codeScan | ||
uses: layotto/alipay-cloud-devops-codescan@main | ||
with: | ||
parent_uid: ${{ secrets.ALI_PID }} | ||
private_key: ${{ secrets.ALI_PK }} | ||
scan_type: stc | ||
tips: '可以加入钉钉群:31912621 来申请查看权限' | ||
sca: # 开源合规 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: codeScan | ||
uses: layotto/alipay-cloud-devops-codescan@main | ||
with: | ||
parent_uid: ${{ secrets.ALI_PID }} | ||
private_key: ${{ secrets.ALI_PK }} | ||
scan_type: sca | ||
tips: '可以加入钉钉群:31912621 来申请查看权限' |
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
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,23 @@ | ||
package main | ||
|
||
import ( | ||
log "github.com/sirupsen/logrus" | ||
|
||
"mosn.io/layotto/pkg/injector/service" | ||
) | ||
|
||
func main() { | ||
cfg, err := service.GetConfig() | ||
if err != nil { | ||
log.Fatalf("Error getting config: %v", err) | ||
} | ||
inj, err := service.NewInjector(cfg) | ||
if err != nil { | ||
log.Fatalf("Error creating layotto-injector: %v", err) | ||
} | ||
err = inj.Run() | ||
if err != nil { | ||
log.Fatalf("Error running layotto-injector: %v", err) | ||
} | ||
log.Info("Layotto sidecar injector shutdown gracefully") | ||
} |
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
Oops, something went wrong.