File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 11TEST? =./gitea
22GOFMT_FILES? =$$(find . -name '*.go' |grep -v vendor )
33GOFMT ?= gofmt -s
4+ ARCH? =$$(uname -m | sed 's/x86_64/amd64/g' )
5+ KERNEL? =$$(uname -s | tr '[:upper:]' '[:lower:]' )
46
57VERSION = 0.2.0
68
3335 go build -ldflags=" -X 'main.Version=${VERSION} '" -o terraform-provider-gitea_${VERSION}
3436doc :
3537 tfplugindocs
38+ install : build
39+ @echo installing to
40+ @echo ~ /.terraform.d/plugins/terraform.local/go-gitea/gitea/${VERSION} /${KERNEL} _${ARCH} /terraform-provider-gitea_${VERSION}
41+ @mkdir -p ~ /.terraform.d/plugins/terraform.local/go-gitea/gitea/${VERSION} /${KERNEL} _${ARCH}
42+ @mv terraform-provider-gitea_${VERSION} ~ /.terraform.d/plugins/terraform.local/go-gitea/gitea/${VERSION} /${KERNEL} _${ARCH} /terraform-provider-gitea_${VERSION}
Original file line number Diff line number Diff line change 1+ version : " 3"
2+
3+ networks :
4+ gitea :
5+ external : false
6+
7+ services :
8+ server :
9+ image : gitea/gitea:1.19.3
10+ container_name : gitea
11+ environment :
12+ - USER_UID=1000
13+ - USER_GID=1000
14+ - DISABLE_GIT_HOOKS=false
15+ restart : always
16+ networks :
17+ - gitea
18+ volumes :
19+ - /etc/timezone:/etc/timezone:ro
20+ - /etc/localtime:/etc/localtime:ro
21+ ports :
22+ - " 3000:3000"
23+ - " 222:22"
You can’t perform that action at this time.
0 commit comments