From 69dfe43ffc865bfa9c7a81375752d064a0013df3 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Tue, 12 Sep 2017 07:51:12 +0200 Subject: [PATCH] Fix some tests : make coverage -> test (#2492) * Fix test : make coverage -> test * Refactor integration tests to be able to run them in parallel * Add custom local repository temp path --- .drone.yml | 2 +- .gitignore | 4 ++- Makefile | 25 ++++++++++-------- .../user2/repo1.git/HEAD | 0 .../user2/repo1.git/config | 0 .../user2/repo1.git/description | 0 .../repo1.git/hooks/applypatch-msg.sample | 0 .../user2/repo1.git/hooks/commit-msg.sample | 0 .../user2/repo1.git/hooks/post-receive | 0 .../repo1.git/hooks/post-receive.d/gitea | 0 .../user2/repo1.git/hooks/post-update.sample | 0 .../repo1.git/hooks/pre-applypatch.sample | 0 .../user2/repo1.git/hooks/pre-commit.sample | 0 .../user2/repo1.git/hooks/pre-push.sample | 0 .../user2/repo1.git/hooks/pre-rebase.sample | 0 .../user2/repo1.git/hooks/pre-receive | 0 .../user2/repo1.git/hooks/pre-receive.d/gitea | 0 .../repo1.git/hooks/prepare-commit-msg.sample | 0 .../user2/repo1.git/hooks/update | 0 .../user2/repo1.git/hooks/update.d/gitea | 0 .../user2/repo1.git/hooks/update.sample | 0 .../user2/repo1.git/info/exclude | 0 .../user2/repo1.git/info/refs | 0 .../2a/2f1d4670728a2e10049e345bd7a276468beab6 | Bin .../4b/4851ad51df6a7d9f25c979345979eaeb5b349f | Bin .../65/f1bf27bc3bf70f64657658635e66094edbcb4d | Bin .../user2/repo1.git/objects/info/packs | 0 .../user2/repo1.git/refs/heads/DefaultBranch | 0 .../user2/repo1.git/refs/heads/develop | 0 .../user2/repo1.git/refs/heads/feature/1 | 0 .../user2/repo1.git/refs/heads/master | 0 .../user2/repo15.git/HEAD | 0 .../user2/repo15.git/config | 0 .../user2/repo15.git/description | 0 .../repo15.git/hooks/applypatch-msg.sample | 0 .../user2/repo15.git/hooks/commit-msg.sample | 0 .../user2/repo15.git/hooks/post-receive | 0 .../repo15.git/hooks/post-receive.d/gitea | 0 .../user2/repo15.git/hooks/post-update.sample | 0 .../repo15.git/hooks/pre-applypatch.sample | 0 .../user2/repo15.git/hooks/pre-commit.sample | 0 .../user2/repo15.git/hooks/pre-push.sample | 0 .../user2/repo15.git/hooks/pre-rebase.sample | 0 .../user2/repo15.git/hooks/pre-receive | 0 .../repo15.git/hooks/pre-receive.d/gitea | 0 .../hooks/prepare-commit-msg.sample | 0 .../user2/repo15.git/hooks/update | 0 .../user2/repo15.git/hooks/update.d/gitea | 0 .../user2/repo15.git/hooks/update.sample | 0 .../user2/repo15.git/info/exclude | 0 .../user2/repo16.git/HEAD | 0 .../user2/repo16.git/config | 0 .../user2/repo16.git/description | 0 .../repo16.git/hooks/applypatch-msg.sample | 0 .../user2/repo16.git/hooks/commit-msg.sample | 0 .../user2/repo16.git/hooks/post-update.sample | 0 .../repo16.git/hooks/pre-applypatch.sample | 0 .../user2/repo16.git/hooks/pre-commit.sample | 0 .../user2/repo16.git/hooks/pre-push.sample | 0 .../user2/repo16.git/hooks/pre-rebase.sample | 0 .../user2/repo16.git/hooks/pre-receive.sample | 0 .../hooks/prepare-commit-msg.sample | 0 .../user2/repo16.git/hooks/update.sample | 0 .../user2/repo16.git/info/exclude | 0 .../0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 | Bin .../24/f83a471f77579fea57bac7255d6e64e70fce1c | Bin .../27/566bd5738fc8b4e3fef3c5e72cce608537bd95 | Bin .../3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f | 0 .../45/8121ce9a6b855c9733bae62093caf3f39685de | Bin .../50/99b81332712fe655e34e8dd63574f503f61811 | 0 .../69/554a64c1e6030f051e5c3f94bfbd773cd6a324 | Bin .../a4/3476a501516e065c5a82f05fd58fd319598bc1 | Bin .../e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac | Bin .../f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 | Bin .../f9/0451c72ef61a7645293d17b47be7a8e983da57 | Bin .../user2/repo16.git/refs/heads/good-sign | 0 .../refs/heads/good-sign-not-yet-validated | 0 .../user2/repo16.git/refs/heads/master | 0 .../user2/repo16.git/refs/heads/not-signed | 0 .../user3/repo3.git/HEAD | 0 .../user3/repo3.git/config | 0 .../user3/repo3.git/description | 0 .../repo3.git/hooks/applypatch-msg.sample | 0 .../user3/repo3.git/hooks/commit-msg.sample | 0 .../user3/repo3.git/hooks/post-receive | 0 .../repo3.git/hooks/post-receive.d/gitea | 0 .../user3/repo3.git/hooks/post-update.sample | 0 .../repo3.git/hooks/pre-applypatch.sample | 0 .../user3/repo3.git/hooks/pre-commit.sample | 0 .../user3/repo3.git/hooks/pre-push.sample | 0 .../user3/repo3.git/hooks/pre-rebase.sample | 0 .../user3/repo3.git/hooks/pre-receive | 0 .../user3/repo3.git/hooks/pre-receive.d/gitea | 0 .../user3/repo3.git/hooks/pre-receive.sample | 0 .../repo3.git/hooks/prepare-commit-msg.sample | 0 .../user3/repo3.git/hooks/update | 0 .../user3/repo3.git/hooks/update.d/gitea | 0 .../user3/repo3.git/hooks/update.sample | 0 .../user3/repo3.git/info/exclude | 0 .../20/ade30d25e0ecaeec84e7f542a8456900858240 | Bin .../27/74debeea6dc742cc4971a92db0e08b95b60588 | Bin .../2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 | Bin .../2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f | Bin .../d5/6a3073c1dbb7b15963110a049d50cdb5db99fc | Bin .../user3/repo3.git/refs/heads/master | 0 integrations/integration_test.go | 4 +-- integrations/mysql.ini | 9 ++++--- integrations/pgsql.ini | 9 ++++--- integrations/sqlite.ini | 9 ++++--- 109 files changed, 38 insertions(+), 24 deletions(-) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/HEAD (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/config (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/description (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/applypatch-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/post-receive (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/post-receive.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/post-update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/pre-applypatch.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/pre-commit.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/pre-push.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/pre-rebase.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/pre-receive (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/pre-receive.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/prepare-commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/update (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/update.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/hooks/update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/info/exclude (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/info/refs (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/objects/info/packs (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/refs/heads/DefaultBranch (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/refs/heads/develop (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/refs/heads/feature/1 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo1.git/refs/heads/master (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/HEAD (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/config (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/description (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/applypatch-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/post-receive (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/post-receive.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/post-update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/pre-applypatch.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/pre-commit.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/pre-push.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/pre-rebase.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/pre-receive (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/pre-receive.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/prepare-commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/update (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/update.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/hooks/update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo15.git/info/exclude (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/HEAD (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/config (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/description (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/applypatch-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/post-update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/pre-applypatch.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/pre-commit.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/pre-push.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/pre-rebase.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/pre-receive.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/prepare-commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/hooks/update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/info/exclude (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/24/f83a471f77579fea57bac7255d6e64e70fce1c (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/27/566bd5738fc8b4e3fef3c5e72cce608537bd95 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/45/8121ce9a6b855c9733bae62093caf3f39685de (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/50/99b81332712fe655e34e8dd63574f503f61811 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/69/554a64c1e6030f051e5c3f94bfbd773cd6a324 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/a4/3476a501516e065c5a82f05fd58fd319598bc1 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/objects/f9/0451c72ef61a7645293d17b47be7a8e983da57 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/refs/heads/good-sign (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/refs/heads/good-sign-not-yet-validated (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/refs/heads/master (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user2/repo16.git/refs/heads/not-signed (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/HEAD (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/config (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/description (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/applypatch-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/post-receive (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/post-receive.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/post-update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-applypatch.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-commit.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-push.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-rebase.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-receive (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-receive.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/pre-receive.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/prepare-commit-msg.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/update (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/update.d/gitea (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/hooks/update.sample (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/info/exclude (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc (100%) rename integrations/{gitea-integration-meta/gitea-repositories => gitea-repositories-meta}/user3/repo3.git/refs/heads/master (100%) diff --git a/.drone.yml b/.drone.yml index 7bb3e9e13..81283d0bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,7 +35,7 @@ pipeline: TAGS: bindata sqlite GOPATH: /srv/app commands: - - make coverage + - make test when: event: [ push, tag, pull_request ] diff --git a/.gitignore b/.gitignore index 87d5327ae..e3274c505 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,6 @@ _testmain.go /indexers /log /public/img/avatar -/integrations/gitea-integration +/integrations/gitea-integration-mysql +/integrations/gitea-integration-pgsql +/integrations/gitea-integration-sqlite diff --git a/Makefile b/Makefile index a67aa0c04..76cb85fdb 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ all: build .PHONY: clean clean: $(GO) clean -i ./... - rm -rf $(EXECUTABLE) $(DIST) $(BINDATA) integrations*.test + rm -rf $(EXECUTABLE) $(DIST) $(BINDATA) integrations*.test integrations/gitea-integration-pgsql/ integrations/gitea-integration-mysql/ integrations/gitea-integration-sqlite/ required-gofmt-version: @$(GO) version | grep -q '\(1.7\|1.8\)' || { echo "We require go version 1.7 or 1.8 to format code" >&2 && exit 1; } @@ -160,12 +160,12 @@ test-sqlite: integrations.sqlite.test GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test .PHONY: test-mysql -test-mysql: integrations.test - GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.test +test-mysql: integrations.mysql.test + GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.mysql.test .PHONY: test-pgsql -test-pgsql: integrations.test - GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test +test-pgsql: integrations.pgsql.test + GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.pgsql.test .PHONY: bench-sqlite @@ -173,20 +173,23 @@ bench-sqlite: integrations.sqlite.test GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.bench . .PHONY: bench-mysql -bench-mysql: integrations.test - GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.test -test.bench . +bench-mysql: integrations.mysql.test + GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.mysql.test -test.bench . .PHONY: bench-pgsql -bench-pgsql: integrations.test - GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.test -test.bench . +bench-pgsql: integrations.pgsql.test + GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.pgsql.test -test.bench . .PHONY: integration-test-coverage integration-test-coverage: integrations.cover.test GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.cover.test -test.coverprofile=integration.coverage.out -integrations.test: $(SOURCES) - $(GO) test -c code.gitea.io/gitea/integrations +integrations.mysql.test: $(SOURCES) + $(GO) test -c code.gitea.io/gitea/integrations -o integrations.mysql.test + +integrations.pgsql.test: $(SOURCES) + $(GO) test -c code.gitea.io/gitea/integrations -o integrations.pgsql.test integrations.sqlite.test: $(SOURCES) $(GO) test -c code.gitea.io/gitea/integrations -o integrations.sqlite.test -tags 'sqlite' diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/HEAD b/integrations/gitea-repositories-meta/user2/repo1.git/HEAD similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/HEAD rename to integrations/gitea-repositories-meta/user2/repo1.git/HEAD diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/config b/integrations/gitea-repositories-meta/user2/repo1.git/config similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/config rename to integrations/gitea-repositories-meta/user2/repo1.git/config diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/description b/integrations/gitea-repositories-meta/user2/repo1.git/description similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/description rename to integrations/gitea-repositories-meta/user2/repo1.git/description diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/applypatch-msg.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/applypatch-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/applypatch-msg.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/applypatch-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/commit-msg.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/commit-msg.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/post-receive b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/post-receive similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/post-receive rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/post-receive diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/post-receive.d/gitea b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/post-receive.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/post-receive.d/gitea rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/post-receive.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/post-update.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/post-update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/post-update.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/post-update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-applypatch.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-applypatch.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-applypatch.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-applypatch.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-commit.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-commit.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-commit.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-commit.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-push.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-push.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-push.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-push.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-rebase.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-rebase.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-rebase.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-rebase.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-receive b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-receive similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-receive rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-receive diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-receive.d/gitea b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-receive.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/pre-receive.d/gitea rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/pre-receive.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/prepare-commit-msg.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/prepare-commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/prepare-commit-msg.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/prepare-commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/update b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/update similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/update rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/update diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/update.d/gitea b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/update.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/update.d/gitea rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/update.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/update.sample b/integrations/gitea-repositories-meta/user2/repo1.git/hooks/update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/hooks/update.sample rename to integrations/gitea-repositories-meta/user2/repo1.git/hooks/update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/info/exclude b/integrations/gitea-repositories-meta/user2/repo1.git/info/exclude similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/info/exclude rename to integrations/gitea-repositories-meta/user2/repo1.git/info/exclude diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/info/refs b/integrations/gitea-repositories-meta/user2/repo1.git/info/refs similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/info/refs rename to integrations/gitea-repositories-meta/user2/repo1.git/info/refs diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 b/integrations/gitea-repositories-meta/user2/repo1.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 rename to integrations/gitea-repositories-meta/user2/repo1.git/objects/2a/2f1d4670728a2e10049e345bd7a276468beab6 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f b/integrations/gitea-repositories-meta/user2/repo1.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f rename to integrations/gitea-repositories-meta/user2/repo1.git/objects/4b/4851ad51df6a7d9f25c979345979eaeb5b349f diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d b/integrations/gitea-repositories-meta/user2/repo1.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d rename to integrations/gitea-repositories-meta/user2/repo1.git/objects/65/f1bf27bc3bf70f64657658635e66094edbcb4d diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/info/packs b/integrations/gitea-repositories-meta/user2/repo1.git/objects/info/packs similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/objects/info/packs rename to integrations/gitea-repositories-meta/user2/repo1.git/objects/info/packs diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/DefaultBranch b/integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/DefaultBranch similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/DefaultBranch rename to integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/DefaultBranch diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/develop b/integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/develop similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/develop rename to integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/develop diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/feature/1 b/integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/feature/1 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/feature/1 rename to integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/feature/1 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/master b/integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/master similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/master rename to integrations/gitea-repositories-meta/user2/repo1.git/refs/heads/master diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/HEAD b/integrations/gitea-repositories-meta/user2/repo15.git/HEAD similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/HEAD rename to integrations/gitea-repositories-meta/user2/repo15.git/HEAD diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/config b/integrations/gitea-repositories-meta/user2/repo15.git/config similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/config rename to integrations/gitea-repositories-meta/user2/repo15.git/config diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/description b/integrations/gitea-repositories-meta/user2/repo15.git/description similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/description rename to integrations/gitea-repositories-meta/user2/repo15.git/description diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/applypatch-msg.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/applypatch-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/applypatch-msg.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/applypatch-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/commit-msg.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/commit-msg.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/post-receive b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/post-receive similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/post-receive rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/post-receive diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/post-receive.d/gitea b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/post-receive.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/post-receive.d/gitea rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/post-receive.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/post-update.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/post-update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/post-update.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/post-update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-applypatch.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-applypatch.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-applypatch.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-applypatch.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-commit.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-commit.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-commit.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-commit.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-push.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-push.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-push.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-push.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-rebase.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-rebase.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-rebase.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-rebase.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-receive b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-receive similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-receive rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-receive diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-receive.d/gitea b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-receive.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/pre-receive.d/gitea rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/pre-receive.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/prepare-commit-msg.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/prepare-commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/prepare-commit-msg.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/prepare-commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/update b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/update similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/update rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/update diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/update.d/gitea b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/update.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/update.d/gitea rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/update.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/update.sample b/integrations/gitea-repositories-meta/user2/repo15.git/hooks/update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/hooks/update.sample rename to integrations/gitea-repositories-meta/user2/repo15.git/hooks/update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/info/exclude b/integrations/gitea-repositories-meta/user2/repo15.git/info/exclude similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo15.git/info/exclude rename to integrations/gitea-repositories-meta/user2/repo15.git/info/exclude diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/HEAD b/integrations/gitea-repositories-meta/user2/repo16.git/HEAD similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/HEAD rename to integrations/gitea-repositories-meta/user2/repo16.git/HEAD diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/config b/integrations/gitea-repositories-meta/user2/repo16.git/config similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/config rename to integrations/gitea-repositories-meta/user2/repo16.git/config diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/description b/integrations/gitea-repositories-meta/user2/repo16.git/description similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/description rename to integrations/gitea-repositories-meta/user2/repo16.git/description diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/applypatch-msg.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/applypatch-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/applypatch-msg.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/applypatch-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/commit-msg.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/commit-msg.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/post-update.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/post-update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/post-update.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/post-update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-applypatch.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-applypatch.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-applypatch.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-applypatch.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-commit.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-commit.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-commit.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-commit.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-push.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-push.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-push.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-push.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-rebase.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-rebase.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-rebase.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-rebase.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-receive.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-receive.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/pre-receive.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/pre-receive.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/prepare-commit-msg.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/prepare-commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/prepare-commit-msg.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/prepare-commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/update.sample b/integrations/gitea-repositories-meta/user2/repo16.git/hooks/update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/hooks/update.sample rename to integrations/gitea-repositories-meta/user2/repo16.git/hooks/update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/info/exclude b/integrations/gitea-repositories-meta/user2/repo16.git/info/exclude similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/info/exclude rename to integrations/gitea-repositories-meta/user2/repo16.git/info/exclude diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/0c/3d59dea27b97aa3cb66072745d7a2c51a7a8b1 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/24/f83a471f77579fea57bac7255d6e64e70fce1c b/integrations/gitea-repositories-meta/user2/repo16.git/objects/24/f83a471f77579fea57bac7255d6e64e70fce1c similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/24/f83a471f77579fea57bac7255d6e64e70fce1c rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/24/f83a471f77579fea57bac7255d6e64e70fce1c diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/27/566bd5738fc8b4e3fef3c5e72cce608537bd95 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/27/566bd5738fc8b4e3fef3c5e72cce608537bd95 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/27/566bd5738fc8b4e3fef3c5e72cce608537bd95 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/27/566bd5738fc8b4e3fef3c5e72cce608537bd95 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f b/integrations/gitea-repositories-meta/user2/repo16.git/objects/3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/3b/2b54fe3d9a8279d5b926124dccdf279b8eff2f diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/45/8121ce9a6b855c9733bae62093caf3f39685de b/integrations/gitea-repositories-meta/user2/repo16.git/objects/45/8121ce9a6b855c9733bae62093caf3f39685de similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/45/8121ce9a6b855c9733bae62093caf3f39685de rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/45/8121ce9a6b855c9733bae62093caf3f39685de diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/50/99b81332712fe655e34e8dd63574f503f61811 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/50/99b81332712fe655e34e8dd63574f503f61811 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/50/99b81332712fe655e34e8dd63574f503f61811 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/50/99b81332712fe655e34e8dd63574f503f61811 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/69/554a64c1e6030f051e5c3f94bfbd773cd6a324 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/69/554a64c1e6030f051e5c3f94bfbd773cd6a324 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/69/554a64c1e6030f051e5c3f94bfbd773cd6a324 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/69/554a64c1e6030f051e5c3f94bfbd773cd6a324 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/a4/3476a501516e065c5a82f05fd58fd319598bc1 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/a4/3476a501516e065c5a82f05fd58fd319598bc1 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/a4/3476a501516e065c5a82f05fd58fd319598bc1 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/a4/3476a501516e065c5a82f05fd58fd319598bc1 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac b/integrations/gitea-repositories-meta/user2/repo16.git/objects/e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/e9/4083fcdf1f10c545e9253a23c5e44a2ff68aac diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/f2/7c2b2b03dcab38beaf89b0ab4ff61f6de63441 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/f9/0451c72ef61a7645293d17b47be7a8e983da57 b/integrations/gitea-repositories-meta/user2/repo16.git/objects/f9/0451c72ef61a7645293d17b47be7a8e983da57 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/objects/f9/0451c72ef61a7645293d17b47be7a8e983da57 rename to integrations/gitea-repositories-meta/user2/repo16.git/objects/f9/0451c72ef61a7645293d17b47be7a8e983da57 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/good-sign b/integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/good-sign similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/good-sign rename to integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/good-sign diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/good-sign-not-yet-validated b/integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/good-sign-not-yet-validated similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/good-sign-not-yet-validated rename to integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/good-sign-not-yet-validated diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/master b/integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/master similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/master rename to integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/master diff --git a/integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/not-signed b/integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/not-signed similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user2/repo16.git/refs/heads/not-signed rename to integrations/gitea-repositories-meta/user2/repo16.git/refs/heads/not-signed diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/HEAD b/integrations/gitea-repositories-meta/user3/repo3.git/HEAD similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/HEAD rename to integrations/gitea-repositories-meta/user3/repo3.git/HEAD diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/config b/integrations/gitea-repositories-meta/user3/repo3.git/config similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/config rename to integrations/gitea-repositories-meta/user3/repo3.git/config diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/description b/integrations/gitea-repositories-meta/user3/repo3.git/description similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/description rename to integrations/gitea-repositories-meta/user3/repo3.git/description diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/applypatch-msg.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/applypatch-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/applypatch-msg.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/applypatch-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/commit-msg.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/commit-msg.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/post-receive b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/post-receive similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/post-receive rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/post-receive diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/post-receive.d/gitea b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/post-receive.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/post-receive.d/gitea rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/post-receive.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/post-update.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/post-update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/post-update.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/post-update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-applypatch.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-applypatch.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-applypatch.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-applypatch.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-commit.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-commit.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-commit.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-commit.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-push.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-push.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-push.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-push.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-rebase.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-rebase.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-rebase.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-rebase.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-receive b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-receive similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-receive rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-receive diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-receive.d/gitea b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-receive.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-receive.d/gitea rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-receive.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-receive.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-receive.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/pre-receive.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/pre-receive.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/prepare-commit-msg.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/prepare-commit-msg.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/prepare-commit-msg.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/prepare-commit-msg.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/update b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/update similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/update rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/update diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/update.d/gitea b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/update.d/gitea similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/update.d/gitea rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/update.d/gitea diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/update.sample b/integrations/gitea-repositories-meta/user3/repo3.git/hooks/update.sample similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/hooks/update.sample rename to integrations/gitea-repositories-meta/user3/repo3.git/hooks/update.sample diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/info/exclude b/integrations/gitea-repositories-meta/user3/repo3.git/info/exclude similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/info/exclude rename to integrations/gitea-repositories-meta/user3/repo3.git/info/exclude diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 b/integrations/gitea-repositories-meta/user3/repo3.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 rename to integrations/gitea-repositories-meta/user3/repo3.git/objects/20/ade30d25e0ecaeec84e7f542a8456900858240 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 b/integrations/gitea-repositories-meta/user3/repo3.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 rename to integrations/gitea-repositories-meta/user3/repo3.git/objects/27/74debeea6dc742cc4971a92db0e08b95b60588 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 b/integrations/gitea-repositories-meta/user3/repo3.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 rename to integrations/gitea-repositories-meta/user3/repo3.git/objects/2a/47ca4b614a9f5a43abbd5ad851a54a616ffee6 diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f b/integrations/gitea-repositories-meta/user3/repo3.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f rename to integrations/gitea-repositories-meta/user3/repo3.git/objects/2f/9b22fd3159a43b7b4e5dd806fcd544edf8716f diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc b/integrations/gitea-repositories-meta/user3/repo3.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc rename to integrations/gitea-repositories-meta/user3/repo3.git/objects/d5/6a3073c1dbb7b15963110a049d50cdb5db99fc diff --git a/integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/refs/heads/master b/integrations/gitea-repositories-meta/user3/repo3.git/refs/heads/master similarity index 100% rename from integrations/gitea-integration-meta/gitea-repositories/user3/repo3.git/refs/heads/master rename to integrations/gitea-repositories-meta/user3/repo3.git/refs/heads/master diff --git a/integrations/integration_test.go b/integrations/integration_test.go index 4953eb280..d43f3977b 100644 --- a/integrations/integration_test.go +++ b/integrations/integration_test.go @@ -118,8 +118,8 @@ func initIntegrationTest() { func prepareTestEnv(t testing.TB) { assert.NoError(t, models.LoadFixtures()) - assert.NoError(t, os.RemoveAll("integrations/gitea-integration")) - assert.NoError(t, com.CopyDir("integrations/gitea-integration-meta", "integrations/gitea-integration")) + assert.NoError(t, os.RemoveAll(setting.RepoRootPath)) + assert.NoError(t, com.CopyDir("integrations/gitea-repositories-meta", setting.RepoRootPath)) } type TestSession struct { diff --git a/integrations/mysql.ini b/integrations/mysql.ini index 82acc2443..9d3d6dfce 100644 --- a/integrations/mysql.ini +++ b/integrations/mysql.ini @@ -11,12 +11,15 @@ SSL_MODE = disable PATH = data/gitea.db [repository] -ROOT = integrations/gitea-integration/gitea-repositories +ROOT = integrations/gitea-integration-mysql/gitea-repositories + +[repository.local] +LOCAL_COPY_PATH = tmp/local-repo-mysql [server] SSH_DOMAIN = localhost -HTTP_PORT = 3000 -ROOT_URL = http://localhost:3000/ +HTTP_PORT = 3001 +ROOT_URL = http://localhost:3001/ DISABLE_SSH = false SSH_PORT = 22 LFS_START_SERVER = false diff --git a/integrations/pgsql.ini b/integrations/pgsql.ini index fe979a653..859e3250c 100644 --- a/integrations/pgsql.ini +++ b/integrations/pgsql.ini @@ -11,12 +11,15 @@ SSL_MODE = disable PATH = data/gitea.db [repository] -ROOT = integrations/gitea-integration/gitea-repositories +ROOT = integrations/gitea-integration-pgsql/gitea-repositories + +[repository.local] +LOCAL_COPY_PATH = tmp/local-repo-pgsql [server] SSH_DOMAIN = localhost -HTTP_PORT = 3000 -ROOT_URL = http://localhost:3000/ +HTTP_PORT = 3002 +ROOT_URL = http://localhost:3002/ DISABLE_SSH = false SSH_PORT = 22 LFS_START_SERVER = false diff --git a/integrations/sqlite.ini b/integrations/sqlite.ini index 799a44b47..ae431a0ac 100644 --- a/integrations/sqlite.ini +++ b/integrations/sqlite.ini @@ -6,12 +6,15 @@ DB_TYPE = sqlite3 PATH = :memory: [repository] -ROOT = integrations/gitea-integration/gitea-repositories +ROOT = integrations/gitea-integration-sqlite/gitea-repositories + +[repository.local] +LOCAL_COPY_PATH = tmp/local-repo-sqlite [server] SSH_DOMAIN = localhost -HTTP_PORT = 3000 -ROOT_URL = http://localhost:3000/ +HTTP_PORT = 3003 +ROOT_URL = http://localhost:3003/ DISABLE_SSH = false SSH_PORT = 22 LFS_START_SERVER = false