File tree Expand file tree Collapse file tree 5 files changed +1086
-11
lines changed Expand file tree Collapse file tree 5 files changed +1086
-11
lines changed Original file line number Diff line number Diff line change @@ -79,4 +79,7 @@ swagger.json
7979
8080# files produced by "npm install" commands during build
8181package-lock.json
82- node_modules /
82+ node_modules /
83+
84+ # ignore the generated integration test files, as they cannot be used without manual editing
85+ integration /test_code_engine_v2.py
Original file line number Diff line number Diff line change 11dist : bionic
22
33language : python
4+ python :
5+ - " 3.11"
46
57cache : pip
68
@@ -12,12 +14,12 @@ branches:
1214notifications :
1315 email : true
1416
15- matrix :
16- include :
17- - python : 3.7
18- - python : 3.8
19- - python : 3.9
20- - python : 3.10
17+ before_install :
18+ # create an .env file that is pulled in while executing the v2 integration tests
19+ - echo "CODE_ENGINE_URL=https://$CE_API_HOST/v2" > code_engine_v2.env
20+ - echo "CODE_ENGINE_AUTH_TYPE=iam" >> code_engine_v2.env
21+ - echo "CODE_ENGINE_APIKEY=$CE_API_KEY" >> code_engine_v2.env
22+ - echo "CODE_ENGINE_AUTH_URL=$IAM_ENDPOINT" >> code_engine_v2.env
2123
2224install :
2325- sudo apt-get update
@@ -28,6 +30,7 @@ install:
2830
2931script :
3032- make ci
33+ - make test-int
3134
3235before_deploy :
3336- nvm install 14
Original file line number Diff line number Diff line change 1+ dist : bionic
2+
3+ language : python
4+
5+ cache : pip
6+
7+ # Only run on main (still tests PRs)
8+ branches :
9+ only :
10+ - main
11+
12+ notifications :
13+ email : true
14+
15+ matrix :
16+ include :
17+ - python : 3.7
18+ - python : 3.8
19+ - python : 3.9
20+ - python : 3.10
21+
22+ install :
23+ - sudo apt-get update
24+ - sudo apt-get install pandoc
25+ - pip install pypandoc
26+ - echo -e "machine github.ibm.com\n login $GITHUB_OAUTH_TOKEN" > ~/.netrc
27+ - pip install setuptools=="60.8.2"
28+
29+ script :
30+ - make ci
31+
32+ before_deploy :
33+ - nvm install 14
34+ - npm install
35+ - pip install bump2version
36+
37+ deploy :
38+ - provider : script
39+ script : npm run semantic-release
40+ skip_cleanup : true
41+ on :
42+ python : ' 3.7'
43+ branch : main
44+ - provider : pypi
45+ user : __token__
46+ password : $PYPI_TOKEN
47+ repository : https://upload.pypi.org/legacy
48+ skip_cleanup : true
49+ on :
50+ python : ' 3.7'
51+ tags : true
Original file line number Diff line number Diff line change 66
77Python client library to interact with the [ IBM Cloud Code Engine API] ( https://cloud.ibm.com/apidocs/codeengine ) .
88
9- Disclaimer: this SDK is being released initially as a ** pre-release** version.
10- Changes might occur which impact applications that use this SDK.
11-
129## Table of Contents
1310
1411<!--
@@ -42,7 +39,8 @@ IBM Cloud services:
4239
4340Service Name | Imported Class Name
4441--- | ---
45- [ IBM Cloud Code Engine] ( https://cloud.ibm.com/apidocs/codeengine ) | IbmCloudCodeEngineV1
42+ [ IBM Cloud Code Engine V2] ( https://cloud.ibm.com/apidocs/codeengine/codeengine-v2.0.0 ) | CodeEngineV2
43+ [ IBM Cloud Code Engine V1] ( https://cloud.ibm.com/apidocs/codeengine/codeengine-v1.0.0 ) | IbmCloudCodeEngineV1
4644
4745## Prerequisites
4846
You can’t perform that action at this time.
0 commit comments