Skip to content

Commit 04e6515

Browse files
author
Jason Peterson
committed
SDK update 20240129-114135
Signed-off-by: Jason Peterson <[email protected]>
1 parent 2efaa2a commit 04e6515

13 files changed

+13
-1716
lines changed

.bumpversion.cfg

Lines changed: 0 additions & 4 deletions
This file was deleted.

.releaserc

Lines changed: 0 additions & 25 deletions
This file was deleted.

.travis.yml

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,21 @@
11
dist: focal
22

3-
# Remove this if using external Travis
4-
group: beta
5-
6-
version: ~> 1.0
7-
83
language: node_js
94
node_js:
10-
- 20
5+
- 18
6+
cache: npm
117

128
branches:
139
only:
1410
- main
1511

16-
# After creating your SDK project from this template repository,
17-
# remove the "echo" command from the "before_install" section below.
18-
before_install:
19-
- npm i -g npm@8
20-
- npm --version
21-
# create an .env file that is pulled in while executing the v2 integration tests
22-
- echo "CODE_ENGINE_URL=https://$CE_API_HOST/v2" > code_engine_v2.env
23-
- echo "CODE_ENGINE_AUTH_TYPE=iam" >> code_engine_v2.env
24-
- echo "CODE_ENGINE_APIKEY=$CE_API_KEY" >> code_engine_v2.env
25-
- echo "CODE_ENGINE_AUTH_URL=$IAM_ENDPOINT" >> code_engine_v2.env
26-
- echo "CODE_ENGINE_DOMAIN_MAPPING_NAME=api-unit-test-tls.e2e-board.info" >> code_engine_v2.env
27-
- echo "CODE_ENGINE_TLS_KEY_FILE_PATH=api/test/integration/tls-files/demohero.key" >> code_engine_v2.env
28-
- echo "CODE_ENGINE_TLS_CERT_FILE_PATH=api/test/integration/tls-files/demohero.crt" >> code_engine_v2.env
29-
30-
script:
31-
- npm run build
32-
- npm run test-unit-travis || travis_terminate 1
33-
- npm run lint
34-
- npm run check-packages
35-
- ./scripts/get-dependencies.sh # get api repo for access to latest domain mapping cert
36-
- npm run test-integration-travis || travis_terminate 1
37-
38-
before_deploy:
39-
- pyenv global 3.8
40-
- pip install --user bump2version
41-
- echo "@ibm-cloud:registry=https://na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/" > ~/.npmrc
42-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:_auth=$ARTIFACTORY_NPM_AUTH" >> ~/.npmrc #pragma: allowlist secret
43-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:email=$ARTIFACTORY_MAIL" >> ~/.npmrc
44-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:always-auth=true" >> ~/.npmrc
45-
- npm install -g semantic-release
46-
- npm install -g @semantic-release/changelog
47-
- npm install -g @semantic-release/exec
48-
- npm install -g @semantic-release/git
49-
- npm install -g @semantic-release/github
50-
- npm install -g @semantic-release/npm
51-
52-
deploy:
53-
- provider: script
54-
skip_cleanup: true
55-
script: semantic-release
56-
on:
57-
node: 20
58-
branch: main
12+
jobs:
13+
include:
14+
- stage: verify
15+
install:
16+
- npm install
17+
script:
18+
- npm run build
19+
- npm run test-unit-travis || travis_terminate 1
20+
- npm run lint
21+
- npm run check-packages

.travis_public.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.whitesource

Lines changed: 0 additions & 10 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 0 additions & 123 deletions
This file was deleted.

example/README.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

example/example.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)