axios and package update #1347
Merged
axios and package update #1347
Travis CI / Travis CI - Branch
succeeded
Nov 20, 2023 in 4m 16s
Build Passed
The build passed.
Details
This is a normal build for the axios-package-update branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Node.js |
Operating System | Linux (Focal) |
Node.js Version | 18 |
Build Configuration
{
"language": "node_js",
"os": [
"linux"
],
"dist": "focal",
"node_js": [
"18"
],
"services": [
"docker"
],
"before_install": [
"echo \"$DOCKERHUB_TOKEN\" | docker login -u \"icdevops\" --password-stdin;",
"unset GITHUB_TOKEN",
"export GITHUB_TOKEN=\"${PUBLIC_GITHUB_TOKEN_2023_07_10}\"",
"export WS_APIKEY=${WS_APIKEY}",
"export WS_USERKEY=${WS_USERKEY}",
"export WS_PRODUCTNAME=${WS_PRODUCTNAME}",
"export WS_PROJECTNAME=Razeedash-api",
"export WS_WSS_URL=https://ibmets.whitesourcesoftware.com/agent"
],
"script": [
"if [ \"${TRAVIS_PULL_REQUEST}\" != \"false\" ]; then npx audit-ci --config ./audit-ci.json; else npx audit-ci --config ./audit-ci.json || true; fi",
"npm run lint",
"npm test",
"npm run test:apollo:default",
"npm run test:apollo:local",
"npm run test:apollo:passport.local",
"npm run test:apollo:extauthtest",
"export BUILD_TIME=`date '+%Y-%m-%d %H:%M:%S'`",
"docker build --rm --build-arg BUILD_TIME=\"$BUILD_TIME\" --build-arg BUILD_ID=\"${TRAVIS_BUILD_NUMBER}-${TRAVIS_COMMIT}\" -t \"quay.io/razee/razeedash-api:${TRAVIS_COMMIT}\" .",
"if [ -n \"${TRAVIS_TAG}\" ]; then docker tag quay.io/razee/razeedash-api:${TRAVIS_COMMIT} quay.io/razee/razeedash-api:${TRAVIS_TAG}; fi",
"docker images",
"./build/process-template.sh kubernetes/razeedash-api/resource.yaml >/tmp/resource.yaml",
"if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar; java -jar wss-unified-agent.jar -d . || echo \"UA Scan Error occurred\"; fi"
],
"before_deploy": [
"docker login -u=\"${QUAY_ID}\" -p=\"${QUAY_TOKEN}\" quay.io"
],
"deploy": [
{
"provider": "script",
"script": "docker push \"quay.io/razee/razeedash-api:${TRAVIS_TAG}\"",
"skip_cleanup": true,
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+_[0-9]{3}$"
]
}
},
{
"provider": "releases",
"file": [
"/tmp/resource.yaml"
],
"skip_cleanup": true,
"draft": true,
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+_[0-9]{3}$"
]
},
"name": "${TRAVIS_TAG}",
"token": "${GITHUB_TOKEN}"
},
{
"provider": "script",
"script": "docker push \"quay.io/razee/razeedash-api:${TRAVIS_TAG}\"",
"skip_cleanup": true,
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
]
}
},
{
"provider": "releases",
"file": [
"/tmp/resource.yaml"
],
"skip_cleanup": true,
"on": {
"tags": true,
"condition": [
"${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
]
},
"name": "${TRAVIS_TAG}",
"token": "${GITHUB_TOKEN}"
}
]
}
Loading