Skip to content

Comments

WIP: [Fly] Multi-team-scoped fly commands can display results by team name#4324

Closed
zoetian wants to merge 1 commit intomasterfrom
4196-fly-cmd-team-name
Closed

WIP: [Fly] Multi-team-scoped fly commands can display results by team name#4324
zoetian wants to merge 1 commit intomasterfrom
4196-fly-cmd-team-name

Conversation

@zoetian
Copy link
Contributor

@zoetian zoetian commented Aug 28, 2019

fixes: #4196

This PR is for

fly -t TARGET containers (global api endpoints needed)

Any team-scoped commands should accept a -n or --team parameter.

@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch from b43d784 to 2588033 Compare September 5, 2019 15:07
@pivotal-bin-ju pivotal-bin-ju force-pushed the 4196-fly-cmd-team-name branch 2 times, most recently from e8b3784 to 9d833c7 Compare September 9, 2019 20:39
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 2 times, most recently from 4b37a28 to c5df7ee Compare September 10, 2019 16:19
@zoetian zoetian requested review from a team and xtremerui September 10, 2019 16:20
@zoetian zoetian marked this pull request as ready for review September 10, 2019 22:10
@zoetian zoetian requested review from a team and removed request for a team September 10, 2019 22:10
@clarafu clarafu self-assigned this Sep 13, 2019
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch from c5df7ee to c5c74e3 Compare September 13, 2019 23:32
@cirocosta cirocosta changed the title [fly] team-scoped fly commands can display results by team name [fly] multi-team-scoped fly commands can display results by team name Sep 16, 2019
@zoetian zoetian changed the title [fly] multi-team-scoped fly commands can display results by team name [Fly] Multi-team-scoped fly commands can display results by team name Sep 16, 2019
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 4 times, most recently from 74a0c6b to 770340d Compare September 17, 2019 02:17
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 6 times, most recently from 2028e86 to 96cdbe1 Compare September 23, 2019 12:10
@zoetian zoetian requested a review from a team September 25, 2019 21:25
@ddadlani
Copy link
Contributor

Can we squash the WIP commits (or remove the WIP if we would like the commit message to stay on master)?

@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 2 times, most recently from 55ac3e1 to 9fd3f0a Compare September 29, 2019 02:58
@taylorsilva taylorsilva force-pushed the 4196-fly-cmd-team-name branch 3 times, most recently from 552eb43 to 262eb81 Compare September 30, 2019 19:32
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 2 times, most recently from cee1a18 to 73fc436 Compare October 3, 2019 20:49
Copy link
Contributor Author

@zoetian zoetian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes that needs to be done

@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 4 times, most recently from 0bcca99 to 0f5ea99 Compare October 7, 2019 14:01
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch from 0f5ea99 to 2d4f715 Compare October 16, 2019 14:07
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch 3 times, most recently from cc002da to b000e37 Compare October 31, 2019 13:52
  - Adds `--team-name` flag to `fly containers`
  - Adds `--all-teams` flag to `fly containers`
  - Adds new api endpoint `/api/v1/containers` that returns all the
  containers based on the teams assigned to the user (all deployment
  containers in case of super-admin).
  - refactors atc/db/team.go to use `getContainersByTeamIds` function
  from the container_repository.go
  - Adds tests for various contianer parts (api, fly, db)

Signed-off-by: Zoe Tian <[email protected]>
Co-authored-by: Bin Ju <[email protected]>
Co-authored-by: Bishoy Youssef <[email protected]>
Co-authored-by: Taylor Silva <[email protected]>
Co-authored-by: Mike Hoskins <[email protected]>
@zoetian zoetian force-pushed the 4196-fly-cmd-team-name branch from b000e37 to 9387838 Compare October 31, 2019 13:54
@xtremerui
Copy link
Contributor

@taylorsilva this PR is part of an EPIC. What is the status atm? Do you still need this PR? Thx!

@taylorsilva taylorsilva changed the title [Fly] Multi-team-scoped fly commands can display results by team name WIP: [Fly] Multi-team-scoped fly commands can display results by team name Feb 10, 2020
@taylorsilva
Copy link
Member

Changed title to WIP. I need to review this PR again, fix the conflicts, and potentially make changes to it as well before it's ready to merge.

@taylorsilva
Copy link
Member

Closing this PR. We'll think about how we want to implement these features later.

@taylorsilva taylorsilva deleted the 4196-fly-cmd-team-name branch May 13, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fly] Add --team-name for all Fly commands

8 participants