Add a test endpoint that allows us to manually create builds. Add access tokens to the build data.
This commit is contained in:
parent
c5ff08e57d
commit
78d2d6cad0
7 changed files with 99 additions and 14 deletions
|
@ -569,5 +569,6 @@ def list_repository_builds(namespace_name, repository_name):
|
|||
return fetched
|
||||
|
||||
|
||||
def create_repository_build(repo, resource_key):
|
||||
return RepositoryBuild.create(repository=repo, resource_key=resource_key)
|
||||
def create_repository_build(repo, access_token, resource_key, tag):
|
||||
return RepositoryBuild.create(repository=repo, access_token=access_token,
|
||||
resource_key=resource_key, tag=tag)
|
||||
|
|
Reference in a new issue