forked from typedb/typedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distribution (Assembly and Deployment) Tests (typedb#5036)
## What is the goal of this PR? Added test assembly and test deployments. These tests are designed to verify whether Grakn distributions which comes in various formats (Zip, Tar, Deb, RPM and Docker Image) works on the following target operating systems: Mac, Windows, Ubuntu, CentOS and Docker. ## What are the changes implemented in this PR? 1. `test-assembly-windows-zip` (currently disabled due to [this particular error](https://circleci.com/gh/lolski/grakn/3869?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link) from `build-tools`: `error: invalid command 'bdist_wheel'` 2. `test-assembly-mac-zip` 3. `test-assembly-linux-targz` 4. `test-assembly-linux-apt` and `test-deployment-linux-apt` 5. `test-assembly-linux-rpm` and `test-deployment-linux-rpm` 6. `test-assembly-docker` ## Remaining Issues 1. test-deployment-linux-rpm - The yum install command needs to specify the exact Grakn version typedb#5037 2. test-deployment-linux-rpm - fix infinite symlink expansion issue in CentOS and enable Bazel test typedb#5038 3. test-assembly-windows-zip - enable the test after fixing the python issue regarding missing bdist_wheel typedb#5039 4. test-assembly-windows-zip - need to verify that Grakn can be started from within a directory of which the name contains whitespace typedb#5040 5. test-deployment-linux-apt - figure out why repo.grakn.ai only keeps the latest deb package typedb#5041 6. test-assembly-docker - needs to add timeout typedb#5042 7. Move test-end-to-end and test-integration to //test package for consistency typedb#5043
- Loading branch information
1 parent
3382c06
commit 5f96749
Showing
15 changed files
with
665 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.circleci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ assemble_targz( | |
) | ||
|
||
assemble_apt( | ||
name = "assemble-apt", | ||
name = "assemble-linux-apt", | ||
package_name = "grakn-core-bin", | ||
maintainer = "Grakn Labs <[email protected]>", | ||
description = "Grakn Core (binaries)", | ||
|
@@ -67,12 +67,12 @@ assemble_apt( | |
|
||
deploy_apt( | ||
name = "deploy-apt", | ||
target = ":assemble-apt", | ||
target = ":assemble-linux-apt", | ||
deployment_properties = "@graknlabs_build_tools//:deployment.properties", | ||
) | ||
|
||
assemble_rpm( | ||
name = "assemble-rpm", | ||
name = "assemble-linux-rpm", | ||
package_name = "grakn-core-bin", | ||
installation_dir = "/opt/grakn/core/", | ||
version_file = "//:VERSION", | ||
|
@@ -92,6 +92,6 @@ assemble_rpm( | |
|
||
deploy_rpm( | ||
name = "deploy-rpm", | ||
target = ":assemble-rpm", | ||
target = ":assemble-linux-rpm", | ||
deployment_properties = "@graknlabs_build_tools//:deployment.properties", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.