Browse Source

CI: minor changes in wf summaries (#1628)

Sergey Nikolaev 2 years ago
parent
commit
d677bbc4ca

+ 2 - 4
.github/workflows/clt_nightly.yml

@@ -17,13 +17,11 @@ concurrency:
 
 jobs:
   commit_info:
-    name: Commit
+    name: Commit info
     runs-on: ubuntu-22.04
     steps:
       - run: |
-          echo '# Nightly CLT tests of commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
-          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
-          echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
+          echo '# Nightly tests of latest release' >> $GITHUB_STEP_SUMMARY
           echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
 
   clt_rhel_release_installation:

+ 4 - 1
.github/workflows/coverage.yml

@@ -13,14 +13,17 @@ concurrency:
 
 jobs:
   commit_info:
-    name: Commit
+    if: ${{ github.event.workflow_run.conclusion == 'success' }}
+    name: Commit info
     runs-on: ubuntu-22.04
     steps:
       - run: |
           echo '# Coverage tests of commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
           echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Initiated by: [@${{ github.actor }}](https://github.com/${{ github.actor }})' >> $GITHUB_STEP_SUMMARY
           echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
           echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
+          
   simple_build:
     if: ${{ github.event.workflow_run.conclusion == 'success' }}
     uses: ./.github/workflows/build_template.yml

+ 4 - 3
.github/workflows/deploy_docs.yml

@@ -15,12 +15,13 @@ env:
 
 jobs:
   commit_info:
-    name: Commit
+    name: Commit info
     runs-on: ubuntu-22.04
     steps:
       - run: |
-          echo '# Deploying docs for commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
-          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '# Docs deployment for commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
+          echo '* Commit: [${{ github.event.head_commit.message }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Initiated by: [@${{ github.actor }}](https://github.com/${{ github.actor }})' >> $GITHUB_STEP_SUMMARY
           echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
           echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
 

+ 7 - 9
.github/workflows/mirror.yml

@@ -13,21 +13,19 @@ concurrency:
   group: mirror_${{ github.ref }}
 
 jobs:
-  commit_info:
-    name: Commit
-    runs-on: ubuntu-22.04
-    steps:
-      - run: |
-          echo '# Syncing to GitLab commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
-          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
-          echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
-          echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
 
   to_gitlab:
     name: Sync to GitLab
     if: github.repository == 'manticoresoftware/manticoresearch'
     runs-on: ubuntu-latest
     steps:
+      - name: Commit info
+        run: |
+          echo '# Packing and publishing all for commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
+          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Initiated by: [@${{ github.actor }}](https://github.com/${{ github.actor }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
+          echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
       - name: Checkout repository
         uses: actions/checkout@v3
         with:

+ 6 - 10
.github/workflows/pack_publish.yml

@@ -21,16 +21,6 @@ concurrency:
 
 jobs:
 
-  commit_info:
-    name: Commit
-    runs-on: ubuntu-22.04
-    steps:
-      - run: |
-          echo '# Packing and publishing all for commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
-          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
-          echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
-          echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
-
   pack:
     name: OK to pack?
     runs-on: ubuntu-22.04
@@ -66,6 +56,12 @@ jobs:
       )
     steps:
       - run: echo "All set to build packages"
+      - run: |
+          echo '# Packing and publishing all for commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
+          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Initiated by: [@${{ github.actor }}](https://github.com/${{ github.actor }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
+          echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY
 
   pack_debian_ubuntu:
     name: Debian/Ubuntu packages

+ 3 - 2
.github/workflows/test.yml

@@ -24,12 +24,13 @@ concurrency:
 jobs:
 
   commit_info:
-    name: Commit
+    name: Commit info
     runs-on: ubuntu-22.04
     steps:
       - run: |
           echo '# Automated Tests of commit ${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
-          echo '* Commit: [${{ github.sha }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Commit: [${{ github.event.head_commit.message }}](/${{ github.repository }}/commit/${{ github.sha }})' >> $GITHUB_STEP_SUMMARY
+          echo '* Initiated by: [@${{ github.actor }}](https://github.com/${{ github.actor }})' >> $GITHUB_STEP_SUMMARY
           echo '* Ref: ${{ github.ref_type }} "${{ github.ref_name }}"' >> $GITHUB_STEP_SUMMARY
           echo '* Attempt: ${{ github.run_attempt }}' >> $GITHUB_STEP_SUMMARY