https://github.com/ironcore864/git-pre-receive-hook-pep8-check
https://github.com/ironcore864/git-pre-receive-hook-pep8-check
ci devops githook pep8 python
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ironcore864/git-pre-receive-hook-pep8-check
- Owner: IronCore864
- Created: 2018-08-20T11:12:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-20T11:12:24.000Z (about 7 years ago)
- Last Synced: 2025-02-01T18:44:32.178Z (9 months ago)
- Topics: ci, devops, githook, pep8, python
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Pre-Receive Hook for PEP8 Environment
## Build
```
docker build -f Dockerfile.alpine-3.3 -t pre-receive.alpine-3.3 .
docker create --name pre-receive.alpine-3.3 pre-receive.alpine-3.3 /bin/true
docker export pre-receive.alpine-3.3 | gzip > alpine-3.3.tar.gz
```## Upload
`scp -P 122 ./alpine-3.3.tar.gz admin@github.kigroup.de:~/`
## Create Env
`ghe-hook-env-create AlpineTestEnv ./alpine-3.3.tar.gz`
## More Info
See [HERE](https://help.github.com/enterprise/2.13/admin/guides/developer-workflow/creating-a-pre-receive-hook-environment/)
## Local Test
See [HERE](https://help.github.com/enterprise/2.13/admin/guides/developer-workflow/creating-a-pre-receive-hook-script/#testing-pre-receive-scripts-locally)