Skip to content

Commit b500b29

Browse files
authored
Merge branch 'zenml-io:main' into huggingface-model-deployer
2 parents 6eb5b64 + 8e13b42 commit b500b29

File tree

422 files changed

+1837
-1364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

422 files changed

+1837
-1364
lines changed

.github/actions/setup_environment/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ runs:
6262
id: date
6363
run: echo "::set-output name=week::$(date +'calendar-week-%W')"
6464
- uses: syphar/restore-virtualenv@v1
65-
if: ${{ inputs.os != 'ubuntu-dind-runners' }}
65+
if: ${{ inputs.os != 'arc-runner-set' }}
6666
id: cache-virtualenv
6767
with:
6868
requirement_files: pyproject.toml
@@ -74,7 +74,7 @@ runs:
7474
custom_cache_key_element: ${{ inputs.cache_version }}-${{steps.date.outputs.week}}-${{inputs.install_integrations}}-${{
7575
hashFiles('src/zenml/integrations/*/__init__.py') }}
7676
- uses: tespkg/actions-cache@v1
77-
if: ${{ inputs.os == 'ubuntu-dind-runners' }}
77+
if: ${{ inputs.os == 'arc-runner-set' }}
7878
id: custom-cache-pip
7979
env:
8080
AWS_ACCESS_KEY_ID: ${{ inputs.runners_cache_access_key_id }}

.github/workflows/ci-fast.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
docstring-check:
1818
if: github.event.pull_request.draft == false
19-
runs-on: ubuntu-dind-runners
19+
runs-on: arc-runner-set
2020
steps:
2121
- name: Checkout code
2222
uses: actions/[email protected]
@@ -29,7 +29,7 @@ jobs:
2929
- name: Check docstrings
3030
run: bash scripts/docstring.sh
3131
sqlite-db-migration-testing:
32-
runs-on: ubuntu-dind-runners
32+
runs-on: arc-runner-set
3333
env:
3434
ZENML_ANALYTICS_OPT_IN: false
3535
ZENML_DEBUG: true
@@ -83,19 +83,19 @@ jobs:
8383
if: github.event.pull_request.draft == false
8484
strategy:
8585
matrix:
86-
os: [ubuntu-dind-runners]
86+
os: [arc-runner-set]
8787
python-version: ['3.10']
8888
fail-fast: false
8989
uses: ./.github/workflows/unit-test.yml
9090
with:
9191
python-version: ${{ matrix.python-version }}
9292
os: ${{ matrix.os }}
9393
secrets: inherit
94-
custom-ubuntu-runners-integration-test:
94+
custom-arc-runner-set-integration-test:
9595
if: github.event.pull_request.draft == false
9696
strategy:
9797
matrix:
98-
os: [ubuntu-dind-runners]
98+
os: [arc-runner-set]
9999
python-version: ['3.10']
100100
test_environment: [default, docker-server-docker-orchestrator-mysql]
101101
fail-fast: false

.github/workflows/ci-slow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
env:
5858
ZENML_ANALYTICS_OPT_IN: false
5959
ZENML_DEBUG: true
60-
runs-on: ubuntu-dind-runners
60+
runs-on: arc-runner-set
6161
steps:
6262
- uses: actions/[email protected]
6363
with:
@@ -111,7 +111,7 @@ jobs:
111111
needs: run-slow-ci-label-is-set
112112
strategy:
113113
matrix:
114-
os: [ubuntu-dind-runners]
114+
os: [arc-runner-set]
115115
python-version: ['3.8', '3.9', '3.10', '3.11']
116116
fail-fast: false
117117
uses: ./.github/workflows/unit-test.yml
@@ -180,7 +180,7 @@ jobs:
180180
needs: run-slow-ci-label-is-set
181181
strategy:
182182
matrix:
183-
os: [ubuntu-dind-runners]
183+
os: [arc-runner-set]
184184
python-version: ['3.8', '3.9', '3.10', '3.11']
185185
test_environment:
186186
- default

.github/workflows/generate-test-duration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
generate-test-duration-file:
99
name: Generate test duration file
10-
runs-on: ubuntu-dind-runners
10+
runs-on: arc-runner-set
1111
strategy:
1212
fail-fast: false
1313
env:
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
cache_version: ${{ secrets.GH_ACTIONS_CACHE_KEY }}
3232
python-version: '3.10'
33-
os: ubuntu-dind-runners
33+
os: arc-runner-set
3434
runners_cache_access_key_id: ${{ secrets.RUNNERS_CACHE_ACCESS_KEY_ID }}
3535
runners_cache_secret_access_key: ${{ secrets.RUNNERS_CACHE_SECRET_ACCESS_KEY }}
3636
discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}

.github/workflows/integration-test-fast.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
- ubuntu-latest
3535
- macos-latest
3636
- windows-latest
37-
- ubuntu-dind-runners
37+
- arc-runner-set
3838
required: false
3939
default: ubuntu-latest
4040
python-version:
@@ -153,7 +153,7 @@ jobs:
153153
pip install pyyaml==5.3.1
154154
pip install docker-compose
155155
- name: Install Linux System Dependencies
156-
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'ubuntu-dind-runners')
156+
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')
157157
run: sudo apt install graphviz
158158
- name: Install MacOS System Dependencies
159159
if: runner.os=='macOS'
@@ -180,7 +180,7 @@ jobs:
180180
run: |
181181
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
182182
sudo install -o root -g 0 -m 0755 kubectl /usr/local/bin/kubectl
183-
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'ubuntu-dind-runners')
183+
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')
184184
- name: Install kubectl on MacOS
185185
run: |
186186
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"

.github/workflows/integration-test-slow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ on:
3434
- ubuntu-latest
3535
- macos-latest
3636
- windows-latest
37-
- ubuntu-dind-runners
37+
- arc-runner-set
3838
required: false
3939
default: ubuntu-latest
4040
python-version:
@@ -151,7 +151,7 @@ jobs:
151151
pip install pyyaml==5.3.1
152152
pip install docker-compose
153153
- name: Install Linux System Dependencies
154-
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'ubuntu-dind-runners')
154+
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')
155155
run: sudo apt install graphviz
156156
- name: Install MacOS System Dependencies
157157
if: runner.os=='macOS'
@@ -178,7 +178,7 @@ jobs:
178178
run: |
179179
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
180180
sudo install -o root -g 0 -m 0755 kubectl /usr/local/bin/kubectl
181-
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'ubuntu-dind-runners')
181+
if: (inputs.os == 'ubuntu-latest' || inputs.os == 'arc-runner-set')
182182
- name: Install kubectl on MacOS
183183
run: |
184184
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
setup-and-test:
1010
uses: ./.github/workflows/unit-test.yml
1111
with:
12-
os: ubuntu-dind-runners
12+
os: arc-runner-set
1313
python-version: '3.8'
1414
secrets: inherit
1515
mlstacks-compatibility-check:
1616
needs: setup-and-test
17-
runs-on: ubuntu-dind-runners
17+
runs-on: arc-runner-set
1818
steps:
1919
- name: Checkout code
2020
uses: actions/[email protected]
@@ -29,7 +29,7 @@ jobs:
2929
- name: Check for broken dependencies
3030
run: pip check
3131
mysql-db-migration-testing:
32-
runs-on: ubuntu-dind-runners
32+
runs-on: arc-runner-set
3333
env:
3434
ZENML_ANALYTICS_OPT_IN: false
3535
ZENML_DEBUG: true
@@ -45,7 +45,7 @@ jobs:
4545
- name: Test migrations across versions
4646
run: bash scripts/test-migrations-mysql.sh mysql
4747
sqlite-db-migration-testing:
48-
runs-on: ubuntu-dind-runners
48+
runs-on: arc-runner-set
4949
env:
5050
ZENML_ANALYTICS_OPT_IN: false
5151
ZENML_DEBUG: true
@@ -61,7 +61,7 @@ jobs:
6161
- name: Test migrations across versions
6262
run: bash scripts/test-migrations-mysql.sh sqlite
6363
mariadb-db-migration-testing:
64-
runs-on: ubuntu-dind-runners
64+
runs-on: arc-runner-set
6565
env:
6666
ZENML_ANALYTICS_OPT_IN: false
6767
ZENML_DEBUG: true
@@ -87,7 +87,7 @@ jobs:
8787
uses: ./.github/workflows/publish_to_pypi.yml
8888
secrets: inherit
8989
wait-for-package-release:
90-
runs-on: ubuntu-dind-runners
90+
runs-on: arc-runner-set
9191
needs: publish-python-package
9292
steps:
9393
- name: Sleep for 4 minutes

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
spellcheck:
1818
if: github.event.pull_request.draft == false && github.repository == 'zenml-io/zenml'
19-
runs-on: ubuntu-dind-runners
19+
runs-on: arc-runner-set
2020
steps:
2121
- name: Checkout code
2222
uses: actions/[email protected]

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535
- ubuntu-latest
3636
- macos-latest
3737
- windows-latest
38-
- ubuntu-dind-runners
38+
- arc-runner-set
3939
required: false
4040
default: ubuntu-latest
4141
python-version:
@@ -106,7 +106,7 @@ jobs:
106106

107107
# - name: Upload coverage
108108
# # only do it for python 3.8, we don't need to do it for every version
109-
# if: ${{ inputs.os == 'ubuntu-dind-runners' && inputs.python-version == '3.8' }}
109+
# if: ${{ inputs.os == 'arc-runner-set' && inputs.python-version == '3.8' }}
110110
# uses: codecov/codecov-action@v2
111111
- name: Setup tmate session after tests
112112
if: ${{ inputs.enable_tmate == 'always' || (inputs.enable_tmate == 'on-failure' && failure()) }}

.github/workflows/update-templates-to-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
- ubuntu-latest
2121
- macos-latest
2222
- windows-latest
23-
- ubuntu-dind-runners
23+
- arc-runner-set
2424
required: false
2525
default: ubuntu-latest
2626
python-version:

0 commit comments

Comments
 (0)