Comments (1)
@rhysawilliams2010 howdy! Yeah it's a little hidden t the moment since teams is still in BETA. Adding teams to a pipeline is possible via REST - but it's a little tricky unfortunately...
The first step is to get the Team UUID's that you wanna add. The best way to do this is via the GraphQL API: http://graphql.buildkite.com - here's a guide on how to get started with it: https://building.buildkite.com/tutorial-getting-started-with-graphql-queries-and-mutations-11211dfe5d64
The query you wanna run is this:
query {
organization(slug: "my-org-slug") {
teams(first: 100) {
edges {
node {
name
uuid
}
}
}
}
}
This will give you a list of teams and their UUID's.
Once you've got them, you can send team_ids
as an array within the "create-a-pipelie" REST API call. So something like this:
{
"name": "My Awesome Pipeline",
"repository": "[email protected]:my/repo.git",
"steps": [ ... ],
"team_ids": [ "568f2f97-0c81-4fb2-a915-dba5d0bddd3f", "88ce2d96-36d6-4ffd-8060-18698a8a718c" ]
}
Lemme know how you go! Will close for now. Feel free to comment on here again if you need a hand :)
from docs.
Related Issues (20)
- inconsistent examples on conditional build notifications
- New UI - Can't tell easily if the pipeline failed
- AOTVUNLEEVONG HOT 1
- Fail fast example doesn't show how to fail fast!
- The `agent lifecycle hooks` link under `Creating job lifecycle hooks` points to `Job lifecycle hooks` HOT 1
- “Running multiple agents” documentation should use --spawn HOT 2
- Glob pattern dist/**/* doesn't discover top level (within dist/) files
- Artifacts doc page should mention `--include-retried-jobs` flag HOT 2
- How can we get the value of user input HOT 1
- Documentation does not work for github merge queue
- Block step is always active, would be nice to be inactive until depends_on is complete HOT 1
- Conditional queue assignment HOT 6
- Block and wait behaving unexpectedly HOT 1
- There is no documentation for the allowed-repositories configuration setting HOT 2
- Confusing wording about SSO Organisations
- Permissions to delete a pipeline HOT 2
- bkua_1b3d70714487ab03c5281a2cdc9c9ef18e71e6e8
- Mr HOT 2
- API documentation HOT 1
- Incorrect description of BUILDKITE_REBUILT_FROM_BUILD_NUMBER HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.