Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Sep 24, 2024
1 parent d3638d5 commit cd98b6d
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,53 @@
"test": "npm run test15Https11 && npm run test15Https && npm run test15",
"testCustom": "npm run test14 && npm run test13 && npm run test12",
"multitest": "concurrently --kill-others --kill-others-on-fail \"npm run test15\" \"npm run test14\" \"npm run test13\" \"npm run test12\"",
"testCassTest": "npm run testkill && docker run -d --name cass-test -p80:80 -e CASS_LOOPBACK cass-test && wait-on http://localhost/api/ping && npm run testNode18 && npm run testNode18Fips && npm run testNode16 && npm run testNode15 && npm run testNode14 && npm run testNode13 && npm run testNode12 && npm run testCypressEdge && npm run testCypress && npm run testkill",
"testDevHttps": "npm run testkill && docker run -d --name cass-test -p443:80 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:dev && wait-on https://localhost/api/ping && npm run testNode18HttpsFips && npm run testNode18Https && npm run testNode16Https && npm run testNode15Https && npm run testNode14Https && npm run testNode13Https && npm run testNode12Https && npm run testCypressEdgeHttps && npm run testCypressHttps",
"test15HttpsFips": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode20HttpsForceFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Https11Fips": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true -e HTTP2=false cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode20HttpsForceFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Https": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Https11": "npm run testkill && docker run -d --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true -e HTTP2=false cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Fips": "export CASS_LOOPBACK=http://localhost/api/|| set CASS_LOOPBACK=http://localhost/api/&& npm run testkill15 && docker run -d -e CASS_LOOPBACK --name cass-test15 -p80:80 cassproject/cass:1.5.65 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode20\" \"npm run testNode20Fips\" \"npm run testNode20ForceFips\" \"npm run testNode18\" \"npm run testNode18Fips\" \"npm run testNode16\" && npm run testkill15",
"test15": "export CASS_LOOPBACK=http://localhost/api/|| set CASS_LOOPBACK=http://localhost/api/&& npm run testkill15 && docker run -d -e CASS_LOOPBACK --name cass-test15 -p80:80 cassproject/cass:1.5.65 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode20\" \"npm run testNode20Fips\" \"npm run testNode18\" \"npm run testNode18Fips\" \"npm run testNode16\" && npm run testkill15",
"test14": "npm run testkill14 && docker run -d -e CASS_LOOPBACK --name cass-test14 -p80:80 cassproject/cass:1.4.4 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill14",
"test13": "npm run testkill13 && docker run -d -e CASS_LOOPBACK --name cass-test13 -p80:80 cassproject/cass:1.3.18 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill13",
"test12": "npm run testkill12 && docker run -d -e CASS_LOOPBACK --name cass-test12 -p80:80 cassproject/cass:1.2.44 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill12",
"testCassTest": "npm run testkill && docker run -d --network cass-net --name cass-test -p80:80 -e CASS_LOOPBACK cass-test && wait-on http://localhost/api/ping && npm run testNode18 && npm run testNode18Fips && npm run testNode16 && npm run testNode15 && npm run testNode14 && npm run testNode13 && npm run testNode12 && npm run testCypressEdge && npm run testCypress && npm run testkill",
"testDevHttps": "npm run testkill && docker run -d --network cass-net --name cass-test -p443:80 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:dev && wait-on https://localhost/api/ping && npm run testNode18HttpsFips && npm run testNode18Https && npm run testNode16Https && npm run testNode15Https && npm run testNode14Https && npm run testNode13Https && npm run testNode12Https && npm run testCypressEdgeHttps && npm run testCypressHttps",
"test15HttpsFips": "export CASS_LOOPBACK=https://cass-test/api/|| set CASS_LOOPBACK=https://cass-test/api/&& npm run testkill && docker run -d --network cass-net --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode20HttpsForceFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Https11Fips": "export CASS_LOOPBACK=https://cass-test/api/|| set CASS_LOOPBACK=https://cass-test/api/&& npm run testkill && docker run -d --network cass-net --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true -e HTTP2=false cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode20HttpsForceFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Https": "export CASS_LOOPBACK=https://cass-test/api/|| set CASS_LOOPBACK=https://cass-test/api/&& npm run testkill && docker run -d --network cass-net --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Https11": "export CASS_LOOPBACK=https://cass-test/api/|| set CASS_LOOPBACK=https://cass-test/api/&& npm run testkill && docker run -d --network cass-net --name cass-test -p443:443 -e CASS_LOOPBACK -e HTTPS=true -e HTTP2=false cassproject/cass:1.5.65 && wait-on https://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypressHttps\" \"npm run testNode20Https\" \"npm run testNode20HttpsFips\" \"npm run testNode18Https\" \"npm run testNode18HttpsFips\" \"npm run testNode16Https\" && npm run testkill",
"test15Fips": "export CASS_LOOPBACK=http://cass-test/api/|| set CASS_LOOPBACK=http://cass-test/api/&& npm run testkill15 && docker run -d --network cass-net -e CASS_LOOPBACK --name cass-test15 -p80:80 cassproject/cass:1.5.65 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode20\" \"npm run testNode20Fips\" \"npm run testNode20ForceFips\" \"npm run testNode18\" \"npm run testNode18Fips\" \"npm run testNode16\" && npm run testkill15",
"test15": "export CASS_LOOPBACK=http://cass-test/api/|| set CASS_LOOPBACK=http://cass-test/api/&& npm run testkill15 && docker run -d --network cass-net -e CASS_LOOPBACK --name cass-test15 -p80:80 cassproject/cass:1.5.65 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode20\" \"npm run testNode20Fips\" \"npm run testNode18\" \"npm run testNode18Fips\" \"npm run testNode16\" && npm run testkill15",
"test14": "npm run testkill14 && docker run -d --network cass-net -e CASS_LOOPBACK --name cass-test14 -p80:80 cassproject/cass:1.4.4 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill14",
"test13": "npm run testkill13 && docker run -d --network cass-net -e CASS_LOOPBACK --name cass-test13 -p80:80 cassproject/cass:1.3.18 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill13",
"test12": "npm run testkill12 && docker run -d --network cass-net -e CASS_LOOPBACK --name cass-test12 -p80:80 cassproject/cass:1.2.44 && wait-on http://localhost/api/ping && concurrently --kill-others-on-fail \"npm run testCypress\" \"npm run testNode16\" && npm run testkill12",
"testkill15": "docker kill cass-test15 | exit 0 && docker rm cass-test15 | exit 0",
"testkill14": "docker kill cass-test14 | exit 0 && docker rm cass-test14 | exit 0",
"testkill13": "docker kill cass-test13 | exit 0 && docker rm cass-test13 | exit 0",
"testkill12": "docker kill cass-test12 | exit 0 && docker rm cass-test12 | exit 0",
"testkill": "docker kill cass-test | exit 0 && docker rm cass-test | exit 0",
"testNode21Https": "docker build --progress plain -f docker/node21https -t npm-cass21https . & docker run -e CASS_LOOPBACK --rm npm-cass21https",
"testNode20": "docker build --progress plain -f docker/node20 -t npm-cass20 . & docker run -e CASS_LOOPBACK --rm npm-cass20",
"testNode20Https": "docker build --progress plain -f docker/node20https -t npm-cass20https . & docker run -e CASS_LOOPBACK --rm npm-cass20https",
"testNode20HttpsFips": "docker build --progress plain -f docker/node20httpsfips -t npm-cass20httpsfips . & docker run -e CASS_LOOPBACK --rm npm-cass20httpsfips",
"testNode20HttpsForceFips": "docker build --progress plain -f docker/node20httpsforcefips -t npm-cass20httpsfips . & docker run -e CASS_LOOPBACK npm-cass20httpsfips",
"testNode20ForceFips": "docker build --progress plain -f docker/node20forcefips -t npm-cass20fips . & docker run -e CASS_LOOPBACK npm-cass20fips",
"testNode20Fips": "docker build --progress plain -f docker/node20fips -t npm-cass20fips . & docker run -e CASS_LOOPBACK npm-cass20fips",
"testNode18": "docker build --progress plain -f docker/node18 -t npm-cass18 . & docker run -e CASS_LOOPBACK npm-cass18",
"testNode18Https": "docker build --progress plain -f docker/node18https -t npm-cass18https . & docker run -e CASS_LOOPBACK npm-cass18https",
"testNode18HttpsFips": "docker build --progress plain -f docker/node18httpsfips -t npm-cass18httpsfips . & docker run -e CASS_LOOPBACK npm-cass18httpsfips",
"testNode18Fips": "docker build --progress plain -f docker/node18fips -t npm-cass18fips . & docker run -e CASS_LOOPBACK npm-cass18fips",
"testNode16": "docker build --progress plain -f docker/node16 -t npm-cass16 . & docker run -e CASS_LOOPBACK npm-cass16",
"testNode16Https": "docker build --progress plain -f docker/node16https -t npm-cass16https . & docker run -e CASS_LOOPBACK npm-cass16https",
"testNode15": "docker build --progress plain -f docker/node15 -t npm-cass15 . & docker run -e CASS_LOOPBACK npm-cass15",
"testNode15Https": "docker build --progress plain -f docker/node15https -t npm-cass15https . & docker run -e CASS_LOOPBACK npm-cass15https",
"testNode14": "docker build --progress plain -f docker/node14 -t npm-cass14 . & docker run -e CASS_LOOPBACK npm-cass14",
"testNode14Https": "docker build --progress plain -f docker/node14https -t npm-cass14https . & docker run -e CASS_LOOPBACK npm-cass14https",
"testNode13": "docker build --progress plain -f docker/node13 -t npm-cass13 . & docker run -e CASS_LOOPBACK npm-cass13",
"testNode13Https": "docker build --progress plain -f docker/node13https -t npm-cass13https . & docker run -e CASS_LOOPBACK npm-cass13https",
"testNode12": "docker build --progress plain -f docker/node12 -t npm-cass12 . & docker run -e CASS_LOOPBACK npm-cass12",
"testNode12Https": "docker build --progress plain -f docker/node12https -t npm-cass12https . & docker run -e CASS_LOOPBACK npm-cass12https",
"testCypress": "docker build --progress plain -f docker/cypress -t npm-casscypress . & docker run -e CASS_LOOPBACK --rm npm-casscypress",
"testCypressHttps": "docker build --progress plain -f docker/cypressHttps -t npm-casscypresshttps . & docker run -e CASS_LOOPBACK --rm npm-casscypresshttps",
"testkill": "docker kill cass-test | exit 0 && docker rm cass-test | exit 0 && docker network create cass-net | exit 0",
"testNode21Https": "docker build --progress plain -f docker/node21https -t npm-cass21https . & docker run --network cass-net -e CASS_LOOPBACK --rm npm-cass21https",
"testNode20": "docker build --progress plain -f docker/node20 -t npm-cass20 . & docker run --network cass-net -e CASS_LOOPBACK --rm npm-cass20",
"testNode20Https": "docker build --progress plain -f docker/node20https -t npm-cass20https . & docker run --network cass-net -e CASS_LOOPBACK --rm npm-cass20https",
"testNode20HttpsFips": "docker build --progress plain -f docker/node20httpsfips -t npm-cass20httpsfips . & docker run --network cass-net -e CASS_LOOPBACK --rm npm-cass20httpsfips",
"testNode20HttpsForceFips": "docker build --progress plain -f docker/node20httpsforcefips -t npm-cass20httpsforcefips . & docker run --network cass-net -e CASS_LOOPBACK npm-cass20httpsforcefips",
"testNode20ForceFips": "docker build --progress plain -f docker/node20forcefips -t npm-cass20forcefips . & docker run --network cass-net -e CASS_LOOPBACK npm-cass20forcefips",
"testNode20Fips": "docker build --progress plain -f docker/node20fips -t npm-cass20fips . & docker run --network cass-net -e CASS_LOOPBACK npm-cass20fips",
"testNode18": "docker build --progress plain -f docker/node18 -t npm-cass18 . & docker run --network cass-net -e CASS_LOOPBACK npm-cass18",
"testNode18Https": "docker build --progress plain -f docker/node18https -t npm-cass18https . & docker run --network cass-net -e CASS_LOOPBACK npm-cass18https",
"testNode18HttpsFips": "docker build --progress plain -f docker/node18httpsfips -t npm-cass18httpsfips . & docker run --network cass-net -e CASS_LOOPBACK npm-cass18httpsfips",
"testNode18Fips": "docker build --progress plain -f docker/node18fips -t npm-cass18fips . & docker run --network cass-net -e CASS_LOOPBACK npm-cass18fips",
"testNode16": "docker build --progress plain -f docker/node16 -t npm-cass16 . & docker run --network cass-net -e CASS_LOOPBACK npm-cass16",
"testNode16Https": "docker build --progress plain -f docker/node16https -t npm-cass16https . & docker run --network cass-net -e CASS_LOOPBACK npm-cass16https",
"testNode15": "docker build --progress plain -f docker/node15 -t npm-cass15 . & docker run --network cass-net -e CASS_LOOPBACK npm-cass15",
"testNode15Https": "docker build --progress plain -f docker/node15https -t npm-cass15https . & docker run --network cass-net -e CASS_LOOPBACK npm-cass15https",
"testNode14": "docker build --progress plain -f docker/node14 -t npm-cass14 . & docker run --network cass-net -e CASS_LOOPBACK npm-cass14",
"testNode14Https": "docker build --progress plain -f docker/node14https -t npm-cass14https . & docker run --network cass-net -e CASS_LOOPBACK npm-cass14https",
"testNode13": "docker build --progress plain -f docker/node13 -t npm-cass13 . & docker run --network cass-net -e CASS_LOOPBACK npm-cass13",
"testNode13Https": "docker build --progress plain -f docker/node13https -t npm-cass13https . & docker run --network cass-net -e CASS_LOOPBACK npm-cass13https",
"testNode12": "docker build --progress plain -f docker/node12 -t npm-cass12 . & docker run --network cass-net -e CASS_LOOPBACK npm-cass12",
"testNode12Https": "docker build --progress plain -f docker/node12https -t npm-cass12https . & docker run --network cass-net -e CASS_LOOPBACK npm-cass12https",
"testCypress": "docker build --progress plain -f docker/cypress -t npm-casscypress . & docker run --network cass-net -e CASS_LOOPBACK --rm npm-casscypress",
"testCypressHttps": "docker build --progress plain -f docker/cypressHttps -t npm-casscypresshttps . & docker run --network cass-net -e CASS_LOOPBACK --rm npm-casscypresshttps",
"autotest": "nodemon test.js",
"autoindex": "nodemon index.js",
"mocha": "mocha --timeout 30000 -b src/**/*.test.js",
"mochaFips": "mocha -n 'force-fips' --timeout 30000 -b src/**/*.test.js",
"mocha:httpsNoHttp2": "export HTTP2=false|| set HTTP2=false&& mocha --timeout 30000 -b src/**/*.test.js",
"mocha:https": "mocha --timeout 30000 -b src/**/*.test.js",
"mocha:clientSideCertificates": "export NODE_EXTRA_CA_CERTS=ca.crt|| set NODE_EXTRA_CA_CERTS=ca.crt&&export CASS_LOOPBACK=https://localhost/api/|| set CASS_LOOPBACK=https://localhost/api/&&export HTTP2=false|| set HTTP2=false&& mocha --timeout 30000 -b src/**/*.test.js",
"mocha:clientSideCertificatesDangerMouse": "export NODE_EXTRA_CA_CERTS=ca.crt|| set NODE_EXTRA_CA_CERTS=ca.crt&&export CASS_LOOPBACK=https://localhost/api/|| set CASS_LOOPBACK=https://localhost/api/&&export HTTP2=false|| set HTTP2=false&& mocha --timeout 30000 -b src/**/*.test.js",
"mocha:clientSideCertificates": "export NODE_EXTRA_CA_CERTS=ca.crt|| set NODE_EXTRA_CA_CERTS=ca.crt&&export HTTP2=false|| set HTTP2=false&& mocha --timeout 30000 -b src/**/*.test.js",
"mocha:clientSideCertificatesDangerMouse": "export NODE_EXTRA_CA_CERTS=ca.crt|| set NODE_EXTRA_CA_CERTS=ca.crt&&export HTTP2=false|| set HTTP2=false&& mocha --timeout 30000 -b src/**/*.test.js",
"mocha:custom": "export CASS_LOOPBACK=https://tides.eduworks.us/api/|| set CASS_LOOPBACK=https://tides.eduworks.us/api/&& export HTTP2=false|| set HTTP2=false&& mocha --timeout 300000 -b src/**/*.test.js",
"mocha:dev": "export CASS_LOOPBACK=https://dev.cassproject.org/api/|| set CASS_LOOPBACK=https://dev.cassproject.org/api/&& export HTTP2=false|| set HTTP2=false&& mocha --timeout 300000 -b src/**/*.test.js",
"mocha:demo": "export CASS_LOOPBACK=https://demo.cassproject.org/api/|| set CASS_LOOPBACK=https://demo.cassproject.org/api/&& export HTTP2=false|| set HTTP2=false&& mocha --timeout 300000 -b src/**/*.test.js",
Expand Down

0 comments on commit cd98b6d

Please sign in to comment.