@qawolf/cli 0.9.3-alpha.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +93 -0
- package/dist/cli.js +182181 -0
- package/package.json +80 -38
- package/skills/.gitkeep +0 -0
- package/skills/qawolf-cli/SKILL.md +67 -0
- package/LICENSE.md +0 -12
- package/lib/CreateCodeCLI.d.ts +0 -32
- package/lib/CreateCodeCLI.js +0 -112
- package/lib/CreateCodeCLI.js.map +0 -1
- package/lib/ci.d.ts +0 -3
- package/lib/ci.js +0 -47
- package/lib/ci.js.map +0 -1
- package/lib/howl.d.ts +0 -1
- package/lib/howl.js +0 -19
- package/lib/howl.js.map +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -137
- package/lib/index.js.map +0 -1
- package/lib/runJest.d.ts +0 -9
- package/lib/runJest.js +0 -46
- package/lib/runJest.js.map +0 -1
- package/lib/utils.d.ts +0 -3
- package/lib/utils.js +0 -17
- package/lib/utils.js.map +0 -1
- package/src/CreateCodeCLI.ts +0 -143
- package/src/ci.ts +0 -48
- package/src/howl.ts +0 -17
- package/src/index.ts +0 -145
- package/src/runJest.ts +0 -74
- package/src/utils.ts +0 -20
- package/static/azure.hbs +0 -35
- package/static/bitbucket.hbs +0 -14
- package/static/circleci.hbs +0 -51
- package/static/github.hbs +0 -53
- package/static/gitlab.hbs +0 -26
- package/static/jenkins.hbs +0 -32
package/static/gitlab.hbs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
qawolf:
|
|
2
|
-
image: qawolf/qawolf:v{{{version}}}
|
|
3
|
-
|
|
4
|
-
cache:
|
|
5
|
-
paths:
|
|
6
|
-
- node_modules/
|
|
7
|
-
|
|
8
|
-
script:
|
|
9
|
-
- npm install
|
|
10
|
-
# # Start local server
|
|
11
|
-
# - npm run start & npx wait-on http://localhost:3000
|
|
12
|
-
- npx qawolf test
|
|
13
|
-
|
|
14
|
-
variables:
|
|
15
|
-
QAW_ARTIFACT_PATH: $CI_PROJECT_DIR/artifacts
|
|
16
|
-
## configure tests with environment variables
|
|
17
|
-
# QAW_SLEEP_MS: 0
|
|
18
|
-
## you can also use GitLab protected environment variables
|
|
19
|
-
## https://docs.gitlab.com/ee/ci/variables/#protected-environment-variables
|
|
20
|
-
# LOGIN_PASSWORD: $SECRET_PASSWORD
|
|
21
|
-
|
|
22
|
-
artifacts:
|
|
23
|
-
when: always
|
|
24
|
-
paths:
|
|
25
|
-
- $CI_PROJECT_DIR/artifacts
|
|
26
|
-
expire_in: 1 week
|
package/static/jenkins.hbs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
pipeline {
|
|
2
|
-
agent {
|
|
3
|
-
docker {
|
|
4
|
-
image 'qawolf/qawolf:v{{{version}}}'
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
stages {
|
|
8
|
-
stage('Build') {
|
|
9
|
-
steps {
|
|
10
|
-
sh 'npm install'
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
stage('Test') {
|
|
14
|
-
environment {
|
|
15
|
-
QAW_ARTIFACT_PATH = './artifacts'
|
|
16
|
-
// configure tests with environment variables
|
|
17
|
-
// QAW_SLEEP_MS: 0
|
|
18
|
-
}
|
|
19
|
-
steps {
|
|
20
|
-
sh 'rm -rf ./artifacts' // delete old artifacts
|
|
21
|
-
// // Start local server
|
|
22
|
-
// sh 'npm run start & npx wait-on http://localhost:3000'
|
|
23
|
-
sh 'npx qawolf test'
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
post {
|
|
28
|
-
always {
|
|
29
|
-
archiveArtifacts(artifacts: 'artifacts/**/*.*', fingerprint: true)
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|