Cleanup of CI/CD
This MR implements an iteration on Continuous Integration and Delivery.
- Consolidate
teststage - Merged
install_test_dependenciesinto a common.test-jobwhich is shared withtest:unitandtest:end-to-end. -
build: stage will now publish an image to the container registry.BUILD_IMAGE_NAME: "$CI_REGISTRY_IMAGE/$CI_COMMIT_REF_SLUG:$CI_COMMIT_SHA" -
test:unit: now uses the Docker image provided from thebuildstage, rather than running straight from source (this is good especially making sure the Docker container "works") -
test:end-to-end: Added a migration test, which is only apassfor now.
Next iterations
- Traverse/Generate access tokens for both gitlab1 and gitlab2 instances
- In
test:end-to-end, we need to generate an appropriateconfig.jsonbased on the services provided (gitlab1, gitlab2)
This is part of the enablement for the test-framework, also lays out the skeleton.
Edited by David Smith Admin