-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (27 loc) · 906 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.DEFAULT_GOAL := run
up:
docker-compose pull && docker-compose up -d
.PHONY:up
down:
docker-compose down
.PHONY:down
restart:
docker-compose restart
.PHONY:restart
run:
docker run --rm -ti \
--network=renovate-test_gitea \
--platform=linux/x86_64 \
-e RENOVATE_PLATFORM=gitea \
-e RENOVATE_GIT_AUTHOR="Joe Roberts <[email protected]>" \
-e RENOVATE_ENDPOINT="http://server:3000/api/v1" \
-e RENOVATE_TOKEN=change-me \
-e RENOVATE_AUTODISCOVER='true' \
registry1.dso.mil/ironbank/container-hardening-tools/renovate/renovate:latest
.PHONY:run
test:
curl -X POST "http://localhost:3000/api/v1/repos/jroberts/google-distroless-cc/issues" \
-H "accept: application/json" \
-H "Authorization: token change-me" \
-H "Content-Type: application/json" -d "{ \"body\": \"testing\", \"title\": \"test 20\"}" -i
.PHONE:test