feat: fix openim logs and ci (#1817)

pull/1818/head
Xinwei Xiong 5 months ago committed by GitHub
parent d356f7a035
commit 9527278239
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -78,9 +78,6 @@ jobs:
echo "Run unit test and get test coverage successfully" echo "Run unit test and get test coverage successfully"
continue-on-error: true continue-on-error: true
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: OpenIM verify copyright - name: OpenIM verify copyright
run: | run: |
sudo make verify-copyright sudo make verify-copyright

@ -3,7 +3,7 @@
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# https://github.com/BetaHuhn/repo-file-sync-action # https://github.com/BetaHuhn/repo-file-sync-action
name: Synchronize kubecub public code to other repositories name: Synchronize OpenIM Release Branch Public Code To Other Repositories
on: on:
push: push:
paths: paths:
@ -41,3 +41,4 @@ jobs:
automerge automerge
ASSIGNEES: | ASSIGNEES: |
kubbot kubbot
continue-on-error: true

@ -3,7 +3,7 @@
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# https://github.com/BetaHuhn/repo-file-sync-action # https://github.com/BetaHuhn/repo-file-sync-action
name: Synchronize kubecub public code to other repositories name: Synchronize OpenIM Main Branch Public Code To Other Repositories
on: on:
push: push:
branches: branches:
@ -37,3 +37,4 @@ jobs:
automerge automerge
ASSIGNEES: | ASSIGNEES: |
kubbot kubbot
continue-on-error: true

@ -129,7 +129,7 @@ openim::log::error_exit() {
# Log an error but keep going. Don't dump the stack or exit. # Log an error but keep going. Don't dump the stack or exit.
openim::log::error() { openim::log::error() {
timestamp=$(date +"[%m%d %H:%M:%S]") timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
echo_log "!!! ${timestamp} ${1-}" >&2 echo_log "!!! ${timestamp} ${1-}" >&2
shift shift
for message; do for message; do
@ -192,7 +192,7 @@ openim::log::status() {
return return
fi fi
timestamp=$(date +"[%m%d %H:%M:%S]") timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
echo_log "+++ ${timestamp} ${1}" echo_log "+++ ${timestamp} ${1}"
shift shift
for message; do for message; do

Loading…
Cancel
Save