From c781a7ccd3147f750faeda631db15d06de455949 Mon Sep 17 00:00:00 2001 From: Tuomo Ala-Vannesluoma Date: Thu, 26 Sep 2019 13:35:28 +0000 Subject: Add support for previewing artifacts that are not public Remove some duplicate logic on Auth module Separate handling artifact to own handlers package Unit test handlers by mocking auth and artifact modules Add generate-mock step to Makefile Use additional handler func to simplify TryMakeRequest return type Always try with token if exists Do not log RequestURI, log path only Remove not used logRequest func --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4c44be0a..6dd8662b 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ IMPORT_PATH := gitlab.com/gitlab-org/gitlab-pages V := 1 # Space separated patterns of packages to skip in list, test, fmt. -IGNORED_PACKAGES := /vendor/ /internal/httputil/ +IGNORED_PACKAGES := /vendor/ /internal/httputil/ /internal/mocks/ # GitLab Pages is statically compiled without CGO to help it in chroot mode export CGO_ENABLED := 0 -- cgit v1.2.3