Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changing integration test database connection using env variables #2484

Merged

Conversation

lafriks
Copy link
Member

@lafriks lafriks commented Sep 10, 2017

Allows to run integration tests without docker and with custom connection parameters, example TEST_PGSQL_HOST=localhost:5432 make test-pgsql or TEST_MYSQL_HOST=localhost:3306 make test-mysql

@lafriks lafriks added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Sep 10, 2017
@lafriks lafriks added this to the 1.3.0 milestone Sep 10, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Sep 10, 2017

Unrelated build-failure

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Sep 10, 2017
@ethantkoenig
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Sep 11, 2017
@lafriks lafriks force-pushed the feat/allow_configurable_test_conn branch from c15bb99 to 105140b Compare September 11, 2017 07:28
@lafriks
Copy link
Member Author

lafriks commented Sep 11, 2017

Rebased upstream/master (and make LG-TM work again)

@lunny
Copy link
Member

lunny commented Sep 13, 2017

@lafriks need rebase

@lafriks lafriks force-pushed the feat/allow_configurable_test_conn branch from 105140b to 0786071 Compare September 13, 2017 05:41
@lafriks
Copy link
Member Author

lafriks commented Sep 13, 2017

@lunny rebased & fixed conflicts

@lunny lunny merged commit 377cd1a into go-gitea:master Sep 13, 2017
@lafriks lafriks deleted the feat/allow_configurable_test_conn branch September 13, 2017 06:12
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants