gitlab-test
is used to seed your local gdk GitLab application and is also used in rspec tests.
Because of this, when building and testing features that require a specific type of file, you can
add them to the gitlab-test
repo in order to access that blob during development or testing.
- Push a new file on a new branch to gitlab-org/gitlab-test.
- Execute
rm -rf tmp/tests
in your gitlab repo. - Add your branch and its head commit to the
BRANCH_SHA
hash intest_env.rb
. In rspec, you can usecreate(:project)
to create an instance ofgitlab-test
that has apath
ofgitlabhq
.