Skip to content

Commit 13a4942

Browse files
author
John Sartore
committed
SDK update 20230327-121100
Signed-off-by: John Sartore <[email protected]>
1 parent 3991a90 commit 13a4942

File tree

10 files changed

+12
-2814
lines changed

10 files changed

+12
-2814
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: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,21 @@
11
dist: focal
22

3-
# Remove this if using external Travis
4-
group: beta
5-
63
language: node_js
74
node_js:
85
- 18
6+
cache: npm
97

108
branches:
119
only:
1210
- main
1311

14-
# After creating your SDK project from this template repository,
15-
# remove the "echo" command from the "before_install" section below.
16-
before_install:
17-
- npm i -g npm@8
18-
- npm --version
19-
# create an .env file that is pulled in while executing the v2 integration tests
20-
- echo "CODE_ENGINE_URL=https://$CE_API_HOST/v2" > code_engine_v2.env
21-
- echo "CODE_ENGINE_AUTH_TYPE=iam" >> code_engine_v2.env
22-
- echo "CODE_ENGINE_APIKEY=$CE_API_KEY" >> code_engine_v2.env
23-
- echo "CODE_ENGINE_AUTH_URL=$IAM_ENDPOINT" >> code_engine_v2.env
24-
25-
script:
26-
- npm run build
27-
- npm run test-unit-travis || travis_terminate 1
28-
- npm run lint
29-
- npm run check-packages
30-
- npm run test-integration-travis || travis_terminate 1
31-
32-
before_deploy:
33-
- pyenv global 3.8
34-
- pip install --user bump2version
35-
- echo "@ibm-cloud:registry=https://na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/" > ~/.npmrc
36-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:_auth=$ARTIFACTORY_PASSWORD" >> ~/.npmrc #pragma: allowlist secret
37-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:email=$ARTIFACTORY_MAIL" >> ~/.npmrc
38-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:always-auth=true" >> ~/.npmrc
39-
- npm install -g semantic-release
40-
- npm install -g @semantic-release/changelog
41-
- npm install -g @semantic-release/exec
42-
- npm install -g @semantic-release/git
43-
- npm install -g @semantic-release/github
44-
- npm install -g @semantic-release/npm
45-
46-
deploy:
47-
- provider: script
48-
skip_cleanup: true
49-
script: semantic-release
50-
on:
51-
node: 18
52-
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.

CHANGELOG.md

Lines changed: 0 additions & 87 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)