Skip to content

Commit

Permalink
2.3.0 build new image (#334)
Browse files Browse the repository at this point in the history
* fix KubernetesClient

* fix KubernetesClient

* fix KubernetesClient

* fix KubernetesClient

* fix "nodename nor servname provided"

* delete build tag

* fix ssh stdio print

* fix remote_client

* fix example operator.yml

* fix get_obproxy_version on rca

* fix : cat with grep >> grep -e

* fix stack

* new builder image

* delete test branch
  • Loading branch information
wayyoungboy authored Jul 16, 2024
1 parent 94d20d7 commit f5f1691
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,18 @@ jobs:
name: Run on CentOS 7
runs-on: ubuntu-latest
container:
image: "centos:7"
image: "oceanbase/obdiag-builder:latest"

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: |
rm -rf /etc/yum.repos.d/*
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
yum install -y wget
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --no-check-certificate
sh Miniconda3-latest-Linux-x86_64.sh -p /opt/miniconda3 -b
export PATH=/opt/miniconda3/bin:$PATH
conda init
conda create --name obdiag python=3.8 -y
source activate obdiag
ldd --version
python3 -m pip install --upgrade pip setuptools wheel
pip3 install -r requirements3.txt
python3 --version
yum install rpm-build -y
- name: Build package
run: |
Expand Down

0 comments on commit f5f1691

Please sign in to comment.