Skip to content

Commit

Permalink
Improved folder structure in line with NGINX OAuth Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
gary.archer committed Sep 4, 2024
1 parent 8eeaaeb commit 5ba55e5
Show file tree
Hide file tree
Showing 31 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ nginx-*/
t/servroot
response.txt
valgrind-results.txt
log.txt
log.txt
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ clean:
rm -rf .build.info nginx-$(NGINX_VERSION) nginx-$(NGINX_VERSION).tar.gz* t/servroot

test: all
@bash -c 'NGINX_SRC_DIR="$(NGINX_SRC_DIR)" ./resources/test/run.sh'
@bash -c 'NGINX_SRC_DIR="$(NGINX_SRC_DIR)" ./testing/test/run.sh'

memorytest:
@bash -c './resources/memorytest/run.sh'
integration:
@bash -c './testing/integration/run.sh'

.build.info $(NGINX_SRC_DIR)/Makefile:
$(error You need to run the configure script in the root of this directory before building the source)
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ docker build --no-cache -t nginx-module-builder \
--build-arg NGINX_VERSION="$NGINX_VERSION" \
--build-arg NGINX_DEBUG=n \
--build-arg DYNAMIC_MODULE=Y \
-f dockerfiles/$LINUX_DISTRO.Dockerfile .
-f builders/$LINUX_DISTRO.Dockerfile .
if [ $? -ne 0 ]; then
echo "Docker build problem encountered for OS $LINUX_DISTRO and NGINX $NGINX_VERSION"
exit 1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/test/run.sh → testing/test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ PATH="$NGINX_SRC_DIR/objs:$PATH" prove -v -f t/
#
# Free resources
#
cd resources/test
cd testing/test
docker-compose down

0 comments on commit 5ba55e5

Please sign in to comment.