Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
9fb6e4e1
Commit
9fb6e4e1
authored
Oct 9, 2020
by
邹毅贤
Browse files
Options
Downloads
Patches
Plain Diff
remove dingtalk temporary and fix problem in before_bat.bat
parent
c6c0535c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/github-actions.yml
+1
-46
1 addition, 46 deletions
.github/workflows/github-actions.yml
before_ut.bat
+2
-2
2 additions, 2 deletions
before_ut.bat
with
3 additions
and
48 deletions
.github/workflows/github-actions.yml
+
1
−
46
View file @
9fb6e4e1
...
@@ -19,10 +19,6 @@ jobs:
...
@@ -19,10 +19,6 @@ jobs:
os
:
os
:
-
ubuntu-latest
-
ubuntu-latest
env
:
DING_TOKEN
:
"
6374f1bf8d4f23cde81d4a4b8c1f0bc98cc92b5151ca938ab938d3d7f4230fc4"
DING_SIGN
:
"
SECa98677289194bb0e5caec3051301d06515750ff1bd2f932a4704298afb2e0ae6"
steps
:
steps
:
-
name
:
Set up Go 1.x
-
name
:
Set up Go 1.x
...
@@ -69,44 +65,3 @@ jobs:
...
@@ -69,44 +65,3 @@ jobs:
-
name
:
Coverage
-
name
:
Coverage
run
:
bash <(curl -s https://codecov.io/bash)
run
:
bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
# Because the contexts of push and PR are different, there are two Notify.
# Notifications are triggered only in the apache/dubbo-go repository.
-
name
:
DingTalk Message Notify only Push
uses
:
zcong1993/actions-ding@v3.0.1
# Whether job is successful or not, always () is always true.
if
:
|
always() &&
github.event_name == 'push' &&
github.repository == 'apache/dubbo-go'
with
:
# DingDing bot token
dingToken
:
${{ env.DING_TOKEN }}
secret
:
${{ env.DING_SIGN }}
# Post Body to send
body
:
|
{
"msgtype": "markdown",
"markdown": {
"title": "Github Actions",
"text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - trigger: ${{ github.actor }} \n - event: ${{ github.event_name }} \n - ref: ${{ github.ref }} \n - status: [${{ job.status }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) \n - environment: ${{ runner.os }} \n - SHA: [${{ github.sha }}](${{ github.event.compare }})"
}
}
-
name
:
DingTalk Message Notify only PR
uses
:
zcong1993/actions-ding@v3.0.1
if
:
|
always() &&
github.event_name == 'pull_request' &&
github.repository == 'apache/dubbo-go'
with
:
dingToken
:
${{ env.DING_TOKEN }}
secret
:
${{ env.DING_SIGN }}
body
:
|
{
"msgtype": "markdown",
"markdown": {
"title": "Github Actions",
"text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - pr_title: ${{ github.event.pull_request.title }} \n - trigger: ${{ github.actor }} \n - event: ${{ github.event_name }} \n - ref: [${{ github.ref }}](${{ github.event.pull_request._links.html.href }}) \n - status: [${{ job.status }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) \n - environment: ${{ runner.os }} \n > SHA: [${{ github.sha }}](${{ github.event.pull_request._links.html.href }})"
}
}
This diff is collapsed.
Click to expand it.
before_ut.bat
+
2
−
2
View file @
9fb6e4e1
...
@@ -36,8 +36,8 @@ xcopy /f "%zkJar%" "cluster/router/chain/zookeeper-4unittest/contrib/fatjar/"
...
@@ -36,8 +36,8 @@ xcopy /f "%zkJar%" "cluster/router/chain/zookeeper-4unittest/contrib/fatjar/"
md
cluster
\router\condition\zookeeper
-
4
unittest
\contrib\fatjar
md
cluster
\router\condition\zookeeper
-
4
unittest
\contrib\fatjar
xcopy
/f
"
%zkJar%
"
"cluster/router/condition/zookeeper-4unittest/contrib/fatjar/"
xcopy
/f
"
%zkJar%
"
"cluster/router/condition/zookeeper-4unittest/contrib/fatjar/"
m
kdir
-p
cluster
/router/tag/zookeeper
-
4
unittest
/contrib/fatjar
m
d
cluster
/router/tag/zookeeper
-
4
unittest
/contrib/fatjar
cp
$
{
zkJar
}
cluster
/router/tag/zookeeper
-
4
unittest
/contrib/fatjar
xcopy
/f
"
%
zkJar
%
"
"
cluster/router/tag/zookeeper-4unittest/contrib/fatjar
/"
md
metadata
\report\zookeeper\zookeeper
-
4
unittest
\contrib\fatjar
md
metadata
\report\zookeeper\zookeeper
-
4
unittest
\contrib\fatjar
xcopy
/f
"
%zkJar%
"
"metadata/report/zookeeper/zookeeper-4unittest/contrib/fatjar/"
xcopy
/f
"
%zkJar%
"
"metadata/report/zookeeper/zookeeper-4unittest/contrib/fatjar/"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment