mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
Create Pull Request for automated update image changes (#6470)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
d2a89a3220
commit
4dd86815d2
20
.github/workflows/publish-builder.yaml
vendored
20
.github/workflows/publish-builder.yaml
vendored
@ -27,7 +27,6 @@ jobs:
|
||||
os: [ubuntu18.04, centos7]
|
||||
env:
|
||||
OS_NAME: ${{ matrix.os }}
|
||||
GITHUB_TOKEN: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -62,9 +61,22 @@ jobs:
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git add .env
|
||||
git commit -m "Update Builder Image Changes"
|
||||
- name: Push Builder Image Changes
|
||||
- name: Create Pull Request
|
||||
id: cpr
|
||||
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus' && matrix.os == 'ubuntu18.04'
|
||||
continue-on-error: true
|
||||
shell: bash
|
||||
with:
|
||||
token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
|
||||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
||||
signoff: false
|
||||
branch: update_builder_images
|
||||
delete-branch: true
|
||||
title: '[automated] Update Builder Image Changes'
|
||||
body: |
|
||||
Update Builder Image Changes
|
||||
|
||||
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
|
||||
- name: Check outputs
|
||||
run: |
|
||||
git push "https://github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags
|
||||
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||
|
||||
21
.github/workflows/publish-test-images.yaml
vendored
21
.github/workflows/publish-test-images.yaml
vendored
@ -23,8 +23,6 @@ jobs:
|
||||
name: PyTest
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -67,9 +65,22 @@ jobs:
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git add .env
|
||||
git commit -m "Update Pytest Image Changes"
|
||||
- name: Push Pytest Image Changes
|
||||
- name: Create Pull Request
|
||||
id: cpr
|
||||
if: success() && github.event_name == 'push' && github.repository == 'milvus-io/milvus'
|
||||
continue-on-error: true
|
||||
shell: bash
|
||||
with:
|
||||
token: ${{ secrets.ALL_CONTRIBUTORS_TOKEN }}
|
||||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
||||
signoff: false
|
||||
branch: update_builder_images
|
||||
delete-branch: true
|
||||
title: '[automated] Update Pytest Image Changes'
|
||||
body: |
|
||||
Update Pytest Image Changes
|
||||
|
||||
Signed-off-by: ${{ github.actor }} ${{ github.actor }}@users.noreply.github.com
|
||||
- name: Check outputs
|
||||
run: |
|
||||
git push "https://github.com/$GITHUB_REPOSITORY.git" HEAD:${{ github.ref }} --follow-tags
|
||||
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
||||
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user