File tree Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Expand file tree Collapse file tree 3 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -585,26 +585,20 @@ steps:
585
585
steps :
586
586
- label : " :python: Build Python {{matrix.python_version}} {{matrix.package_path}} package"
587
587
key : build_python_package
588
- agents :
589
- provider : " gcp"
590
- machineType : " n1-standard-8"
591
- useVault : true
592
- image : family/enterprise-search-ubuntu-2204-connectors-py
588
+ << : *test-agents
593
589
matrix :
594
590
setup :
595
591
python_version :
596
592
- " 3.10"
597
593
- " 3.11"
598
594
package_path :
599
595
- " app/connectors_service"
600
- commands :
601
- - " cd {{matrix.package_path}}"
602
- - " python{{matrix.python_version}} -m pip install --upgrade build twine"
603
- - " python{{matrix.python_version}} -m build"
604
- - " ls -lah dist/"
605
- - " python{{matrix.python_version}} -m twine check dist/*"
606
- artifact_paths :
607
- - " {{matrix.package_path}}/dist/*"
596
+ - " libs/connectors_sdk"
597
+ env :
598
+ PYTHON_VERSION : " {{ matrix.python_version }}"
599
+ PACKAGE_PATH : " {{ matrix.package_path }}"
600
+ command : " .buildkite/test_python_packages.sh"
601
+ timeout_in_minutes : 10
608
602
609
603
# ----
610
604
# DRA publishing
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # !!! WARNING DO NOT add -x to avoid leaking vault passwords
4
+ set -euo pipefail
5
+
6
+ source .buildkite/shared.sh
7
+
8
+ init_python
9
+
10
+ cd " $PACKAGE_PATH "
11
+ python -m pip install --upgrade build twine
12
+ python -m build
13
+ ls -lah dist/
14
+ python -m twine check dist/*
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ readme = "README.md"
10
10
authors = [
11
11
{
name =
" Search Extract and Transform Team" ,
email =
" [email protected] " }
12
12
]
13
+ license = " Elastic-2.0"
13
14
classifiers = [
14
15
" Programming Language :: Python" ,
15
16
" Programming Language :: Python :: 3.10" ,
16
17
" Programming Language :: Python :: 3.11" ,
17
- " License :: OSI Approved :: Apache Software License" ,
18
18
" Programming Language :: Python :: 3 :: Only" ,
19
19
]
20
20
requires-python = " >=3.10,<3.12"
You can’t perform that action at this time.
0 commit comments