Commit Graph

35 Commits (dev)

Author SHA1 Message Date
Kris Gesling 0dadc9ba07
Switch CLA Checker to new credentials (#3077) 2022-02-23 14:47:03 +09:30
Åke Forslund faf101bfcd Increase Jenkins timeout 2021-08-05 10:04:45 +02:00
Åke Forslund ff9f8e898d Update identity location for VK test
Moved from .mycroft to XDG folder
2021-08-05 10:04:45 +02:00
Kris Gesling c996008478
Merge pull request #2944 from MycroftAI/bugfix/ci-unique-temp-paths
Use unique paths for temp file storage
2021-08-04 12:05:13 +09:30
Kris Gesling d14e6b65d7 Use unique paths for temp file storage
When transferring the Allure report and the Mycroft logs to the
report host, the zip files were being written to a common
directory. In the event that multiple jobs were writing to or
reading from this directory at the same time, conflicts could
occur.

This ensures that both zip files are written to unique paths
and cleaned up afterward.
2021-07-06 12:41:35 +09:30
Åke Forslund e0489a8488 Add update comment logic to Jenkins 2021-01-17 22:21:56 +01:00
Kris Gesling a6dc99c1f5 add -f for file removal to ensure no prompt in CI 2020-12-09 14:35:02 +09:30
Kris Gesling a7702e09a3 Run CLA check on all branches 2020-12-09 14:13:17 +09:30
Kris Gesling 5c04fe309d Restructure Jenkins directories
Move all outputs of a CI job into the same directory
2020-11-14 09:47:44 +09:30
Kris Gesling e461f9e692 Remove created Docker images on CI success
This does not include the Major release Docker image as it is
intentionally built for re-use.
2020-11-13 16:08:31 +09:30
Kris Gesling 7564263d26 Lock CI jobs per PR
As the Docker images now store Allure and log files in unique
directories, multiple CI jobs from the same repository can now run
simultaneously.
2020-11-13 15:55:13 +09:30
Kris Gesling 8c6daf5385 extract log files from VK test runs 2020-11-13 15:53:00 +09:30
Kris Gesling 301b230d2f store allure results in unique directory 2020-11-13 15:42:24 +09:30
Åke Forslund ff1f07288e Rename Dockerfile.test to Dockerfile 2020-07-01 07:22:50 +02:00
Åke Forslund 1c4e5aca23 Use the docker -f flag instead of copying the Dockerfile 2020-07-01 07:22:50 +02:00
Kris Gesling 3651bdcca9
Merge pull request #2537 from forslund/feature/jenkinsfile-cla
CI: Add CLA Check stage
2020-06-02 11:50:15 +09:30
Åke Forslund 7e1a16bee5 Launch snap build on push to dev and release tag
This will trigger the Job for the Mycroft-snap sending the branch/tag  as a
parameter.
2020-05-27 14:11:49 +02:00
Åke Forslund 489669601e Add CLA Check stage 2020-04-15 18:58:32 +02:00
Åke Forslund a24e1ea70e Send report to pull request through PR comment 2020-04-10 17:59:22 +02:00
Chris Veilleux 53f2195023 Add email on failure or success. 2020-04-10 17:58:33 +02:00
Chris Veilleux b848a1c741 move allure reports from tests running in mycroft-core repo to a subdirectory to differentiate from tests run on the skill repository. 2020-04-10 17:58:03 +02:00
Chris Veilleux 000c353316 minor refactor 2020-04-10 17:58:03 +02:00
Åke Forslund 5f71d32885 Add lock to avoid multiple concurrent builds 2020-03-30 18:16:33 +02:00
Chris Veilleux 5801a6af09 added stage to build major release docker image for skill testing 2020-03-24 10:42:07 +01:00
Chris Veilleux 71b2c3549e changed naming of docker image and added platform variable 2020-03-24 10:42:07 +01:00
Åke Forslund ce1952fcfc Increase Jenkins job Timeout to 60 minutes 2020-03-23 11:41:13 +01:00
Åke Forslund 7bc0e7a855 Remove allure temporary files 2020-03-23 11:41:13 +01:00
Åke Forslund 12f2e63cc3 Share only identity and allure in separate volume
- Sharing only the identity file removes the need for clearing the skill
sandbox dir and padatious cache
- Make things a bit cleaner with separate Allure volume
2020-03-23 11:41:13 +01:00
Åke Forslund 5bcc533583 Don't run scenarios marked with @xfail 2020-03-23 11:41:13 +01:00
Åke Forslund 38d43f2bb7 Move Jenkins specific commands into Jenkinsfile
Allure commandline and chown command are now run through the Jenkinsfile
instead of through the run_test_suite.sh
2020-03-23 11:41:13 +01:00
Chris Veilleux 7c038f19d9 fixed spelling of voight-kampff for consistency 2020-03-23 11:41:13 +01:00
Chris Veilleux 00acf2b10c Update docker build
Docker build will now perform most actions of the dev-setup making it
possible to use caches in a greater extent speeding up the build
2020-03-23 11:41:13 +01:00
Chris Veilleux b436e5575a Add allure test reports
Behave will generate test results in the allure format, this will be
picked up by Jenkins and sent of to a standalone webserver.
2020-03-23 11:41:13 +01:00
Åke Forslund 51f03fc0ce Add Branch alias
Some branches have a "/" in their name (e.g. feature/new-and-cool)
Some commands, such as those tha deal with directories, don't
play nice with this naming convention. Define an alias for the
branch name that can be used in these scenarios.
2020-03-23 11:41:13 +01:00
Åke Forslund 5bfe869424 Jenkinsfile 2020-03-23 11:41:13 +01:00