Skip to content

Commit 15d106d

Browse files
author
John Sartore
committed
SDK update 20230724-094245
Signed-off-by: John Sartore <[email protected]>
1 parent 4078026 commit 15d106d

File tree

10 files changed

+12
-2835
lines changed

10 files changed

+12
-2835
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 & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +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:
105
- 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-
27-
script:
28-
- npm run build
29-
- npm run test-unit-travis || travis_terminate 1
30-
- npm run lint
31-
- npm run check-packages
32-
- npm run test-integration-travis || travis_terminate 1
33-
34-
before_deploy:
35-
- pyenv global 3.8
36-
- pip install --user bump2version
37-
- echo "@ibm-cloud:registry=https://na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/" > ~/.npmrc
38-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:_auth=$ARTIFACTORY_NPM_AUTH" >> ~/.npmrc #pragma: allowlist secret
39-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:email=$ARTIFACTORY_MAIL" >> ~/.npmrc
40-
- echo "//na.artifactory.swg-devops.com/artifactory/api/npm/wcp-codeengine-ux-team-npm-local/:always-auth=true" >> ~/.npmrc
41-
- npm install -g semantic-release
42-
- npm install -g @semantic-release/changelog
43-
- npm install -g @semantic-release/exec
44-
- npm install -g @semantic-release/git
45-
- npm install -g @semantic-release/github
46-
- npm install -g @semantic-release/npm
47-
48-
deploy:
49-
- provider: script
50-
skip_cleanup: true
51-
script: semantic-release
52-
on:
53-
node: 18
54-
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 & 106 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)