Skip to content

Instantly share code, notes, and snippets.

@int128 int128/README.md
Last active Jun 28, 2018

Embed
What would you like to do?
AWS CodeBuild, GitBucket and GitLab

AWS CodeBuild to GitBucket access

GET /USER/REPO/info/refs?service=git-upload-pack HTTP/1.1" 301
GET /git/USER/REPO/info/refs?service=git-upload-pack HTTP/1.1" 200
POST /git/USER/REPO/git-upload-pack HTTP/1.1" 200
GET /USER/REPO/info/refs?service=git-upload-pack HTTP/1.1" 301
GET /git/USER/REPO/info/refs?service=git-upload-pack HTTP/1.1" 200
POST /api/v3/repos/USER/REPO/statuses/1c99b9292c2bec3f31fa67456797b10ec8405ef5 HTTP/1.1" 401
POST /api/v3/repos/USER/REPO/statuses/1c99b9292c2bec3f31fa67456797b10ec8405ef5 HTTP/1.1" 401
  • GET /USER/REPO/info/refs?service=git-upload-pack
  • POST /USER/REPO/git-upload-pack
  • POST /api/v3/repos/USER/REPO/statuses/SHA

API differences

Webhook (push)

Webhook (pull request)

Status

GitLab GitHub
id user%2Frepo
sha sha
state (pending, running, success, failed, canceled) state (error, failure, pending, success)
target_url target_url
description description
context context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.