Skip to content

Commit 95d0310

Browse files
authored
[CI] Upgrade to v0.5.1.
1 parent c0d64a9 commit 95d0310

7 files changed

Lines changed: 48 additions & 7 deletions

File tree

.github/workflows/cpu-cibuild.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: cibuild on cpu
2+
3+
on: [workflow_dispatch, push]
4+
5+
env:
6+
IMAGE: registry.cn-shanghai.aliyuncs.com/pai-dlc/hybridbackend:developer-tensorflow1.15-manylinux_2_24-py3.6
7+
JOBNAME: hbci-${{ github.run_id }}
8+
PODNAME: hbci-${{ github.run_id }}-chief-0
9+
ARROW_CACHE_URL_PREFIX: ${{ secrets.ARROW_CACHE_URL_PREFIX }}
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
environment: TensorFlow 1.15
15+
steps:
16+
- name: Checkout Code
17+
uses: actions/checkout@v2
18+
with:
19+
submodules: 'true'
20+
- name: Setup Environment
21+
uses: aliyun/ack-set-context@v1
22+
with:
23+
access-key-id: "${{ secrets.ACCESS_KEY_ID }}"
24+
access-key-secret: "${{ secrets.ACCESS_KEY_SECRET }}"
25+
cluster-id: "${{ secrets.ACK_CLUSTER_ID }}"
26+
- name: Upload
27+
run: |-
28+
helm install ${JOBNAME} cibuild/ --set image=${IMAGE} --set tag=cpu && \
29+
cibuild/upload ${PODNAME} ../cibuild && \
30+
kubectl exec -it ${PODNAME} -- arrow/download.sh ${ARROW_CACHE_URL_PREFIX}
31+
- name: Build
32+
run: |-
33+
kubectl exec -it ${PODNAME} -- sh -c 'make -j32 HYBRIDBACKEND_WHEEL_ALIAS=-cpu-nightly HYBRIDBACKEND_WHEEL_BUILD=rc${{ github.run_id }}' && \
34+
kubectl exec -it ${PODNAME} -- cibuild/repair_dist
35+
- name: Test
36+
run: |-
37+
kubectl exec -it ${PODNAME} -- make lint cpu_test
38+
- name: Cleanup Environment
39+
if: always()
40+
run: |-
41+
helm uninstall ${JOBNAME}

.github/workflows/cpu-legacy-nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly Build on CPU for Tensorflow 1.14
1+
name: nightly deploy on tf1.14-cpu
22

33
on: workflow_dispatch
44

.github/workflows/cpu-legacy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build on CPU for Tensorflow 1.14
1+
name: release deploy on tf1.14-cpu
22

33
on: workflow_dispatch
44

.github/workflows/cpu-nightly.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: Nightly Build on CPU
1+
name: nightly deploy on cpu
22

3-
on: [workflow_dispatch, push]
3+
on: workflow_dispatch
44

55
env:
66
IMAGE: registry.cn-shanghai.aliyuncs.com/pai-dlc/hybridbackend:developer-tensorflow1.15-manylinux_2_24-py3.6

.github/workflows/cpu.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build on CPU
1+
name: release deploy on cpu
22

33
on: workflow_dispatch
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HybridBackend
22

3-
[![Nightly Build on CPU](https://github.com/alibaba/HybridBackend/actions/workflows/cpu-nightly.yaml/badge.svg)](https://github.com/alibaba/HybridBackend/actions/workflows/cpu-nightly.yaml)
3+
[![cibuild: cpu](https://github.com/alibaba/HybridBackend/actions/workflows/cpu-cibuild.yaml/badge.svg?branch=main&event=push)](https://github.com/alibaba/HybridBackend/actions/workflows/cpu-cibuild.yaml)
44
[![Documentation Status](https://readthedocs.org/projects/hybridbackend/badge/?version=latest)](https://hybridbackend.readthedocs.io/en/latest/?badge=latest)
55

66
## Introduction

hybridbackend/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
from __future__ import division
2121
from __future__ import print_function
2222

23-
__version__ = '0.5.0'
23+
__version__ = '0.5.1'
2424
__author__ = 'Alibaba Group Holding Limited'
2525
__copyright__ = '2021 Alibaba Group Holding Limited'

0 commit comments

Comments
 (0)