Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Checks Interface Setup #2217

Closed
wants to merge 166 commits into from
Closed

Github Checks Interface Setup #2217

wants to merge 166 commits into from

Commits on Sep 27, 2021

  1. Filter out sq readiness from mergeability.

    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    529951d View commit details
    Browse the repository at this point in the history
  2. Add github action for running tests.

    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    92e2811 View commit details
    Browse the repository at this point in the history
  3. Remove build step from circleci config.

    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    85341d9 View commit details
    Browse the repository at this point in the history
  4. Filter out atlantis apply status during mergeability check.

    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    7ef39e1 View commit details
    Browse the repository at this point in the history
  5. Fix gh action yaml.

    Add fmt and lint checks.
    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    f5adf87 View commit details
    Browse the repository at this point in the history
  6. Update image used for action.

    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    fceb800 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5561dc1 View commit details
    Browse the repository at this point in the history
  8. [ORCA-393] Add basic stats. (#26)

    * [ORCA-393] Add basic stats.
    
    * Fmt.
    nishkrishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    378fc59 View commit details
    Browse the repository at this point in the history
  9. Adding parallel plan execution logic per project. (#31)

    To allow for parallel plans per project we will clone the repository per
    project. Another optimisation we can perform is to copy the default
    repository that is cloned regardless of the execution type. Default
    workspace is required to be cloned to setup the project configs.
    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    e680cc8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3f1de3f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    68078dc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e0df50a View commit details
    Browse the repository at this point in the history
  13. Fix-up test failures after cherry-pick

    * Remove mod=vendor from action.
    * Update workflow to use latest testing env.
    Nish Krishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    c455b26 View commit details
    Browse the repository at this point in the history
  14. Fix failure stats emission. (#52)

    nishkrishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    b9fcca9 View commit details
    Browse the repository at this point in the history
  15. Orca 679 global atlantis lock new release branch (#49)

    * Adding CommandLocker to boltDB and exposing it through locker interface
    
    * Apply lock ui and apply command lock controller
    
    * Minor comments
    
    * Adding more tests and refactorinng
    
    * Linting fixes
    
    * creating applyLockingClient variable to fix interface error
    
    * nullsink for stats
    
    * Addressing PR comments
    
    * fixing e2e tests
    
    * linting fix fml
    
    * Update outdated function descriptions
    
    Address PR comments
    
    * revert stats sink changes
    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    481004f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b64f42f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e2104f0 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    92bf380 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    456a906 View commit details
    Browse the repository at this point in the history
  20. [ORCA-782] Add pull closed metrics (#74)

    * Add pull closed metrics.
    
    * Fix image.
    nishkrishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    82eb6aa View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1e79880 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    867d20e View commit details
    Browse the repository at this point in the history
  23. Remove all unnecessary actions. (#83)

    * Remove all unnecessary actions.
    
    * Fix test env.
    nishkrishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1ecca76 View commit details
    Browse the repository at this point in the history
  24. Add rate limit publisher. (#84)

    nishkrishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    299ad5b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    1300ecb View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    cc435ed View commit details
    Browse the repository at this point in the history
  27. Current progress (#86)

    * Current progress
    
    * Websocket implementation
    
    * Fixing routes
    
    * Adding url
    
    * Fixed websocket connection
    
    * Progress 7/9
    
    * UI Fixes
    
    * Fixed test
    
    * Fixing failed tests
    
    * Update server/controllers/templates/web_templates.go
    
    Co-authored-by: Sarvar Muminov <[email protected]>
    
    * Update server/events/models/models.go
    
    Co-authored-by: Sarvar Muminov <[email protected]>
    
    Co-authored-by: Isata Sankoh <[email protected]>
    Co-authored-by: Isata Sankoh <[email protected]>
    3 people committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    55ebc82 View commit details
    Browse the repository at this point in the history
  28. Orca 845 (#89)

    * Current progress
    
    * Websocket implementation
    
    * Fixing routes
    
    * Adding url
    
    * Fixed websocket connection
    
    * Progress 7/9
    
    * Added some channel logic
    
    * Changes to models.go
    
    * Working on log streaming for plan
    
    * Beginning tests/Having errors
    
    * Log Streaming Logic
    
    * fixed test
    
    * Added Testing
    
    * Fixed websocket connection
    
    * Async implementation and test error fixes
    
    * Changes to variables in tests
    
    * Debugging
    
    * Fixed UI in webpage terminal
    
    * Fixing Run make-test coverage
    
    * Fixing tests
    
    * Testing
    
    * Deleted txt.act files
    
    * Fixing broken tests
    
    * Changes to terraform_client testing
    
    * Fixed tests in terraform_client_internal_test.go
    
    * Fixed failing test
    
    * Deleted lines causing test to fail
    
    * Reformating
    
    * More Reformatting
    
    * Run make check-lint corrections
    
    * Added error check
    
    * Fixing check-lint test
    
    * Suggested changes prior to merge
    
    Co-authored-by: Isata Sankoh <[email protected]>
    msarvar and isatasan committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    d633159 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    970a670 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    352923e View commit details
    Browse the repository at this point in the history
  31. Channel Refactoring (#91)

    * Began channel refactoring
    
    * Fixing refactoring logic
    
    * Replacing terraformOutputChan
    
    * Making suggested changes
    
    * Changing attribute declarations
    
    * Fixed channel logic
    
    * Formatting
    
    * Changing tests to utilize mocks
    
    * Adding go files
    
    * Adding suggested changes
    
    * Suggested changes before merging
    
    * Reformatting
    
    * Deleting unnecesary lines
    
    * Buffer cleanup logic
    
    * Buffer cleanup & Testing
    
    * Trying to make test pass
    
    * Suggested changes
    
    * Fixing test
    
    * Fixing failing test
    
    * Error checking
    
    * Comment improvements
    
    * Adding buffer clearing for apply workflow
    
    * Removing clearing for apply workflow
    isatasan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    3f0c6eb View commit details
    Browse the repository at this point in the history
  32. Add feature allocator and wrap log streaming logic. (#96)

    * Add Feature Flag for log-streaming workflow.
    
    * Add feature allocator and wrap log streaming logic.
    
    * Fix lint.
    
    * Add logger to struct - oops
    
    * go mod tidy
    nishkrishnan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    37dcd4b View commit details
    Browse the repository at this point in the history
  33. PR Locks for atlantis apply (#95)

    Added support for using 🔒/🔓 to stop atlantis apply.
    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    6a45d80 View commit details
    Browse the repository at this point in the history
  34. Updating docs. (#100)

    Added missing pieces for local development in the docs.
    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    c01c0ec View commit details
    Browse the repository at this point in the history
  35. Update the PR with a log streaming URL (#98)

    * Adding URLs to PR
    
    * Changes for rebasing
    
    * Minor changes in comments
    
    * Removing unnecessary comments
    
    * Fixing bug in PR
    
    * Minor changes in comments
    
    * Removing unnecessary comments
    
    * Removing extra character
    
    * Allocating comments created in PR
    
    * Adding feature allocator to structs
    isatasan authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    000ca0c View commit details
    Browse the repository at this point in the history
  36. Log Streaming Bug Fix and Refactor (#101)

    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1cfeb2e View commit details
    Browse the repository at this point in the history
  37. Orca 935 move log streaming url to status metadata (#106)

    * renaming log-streaming to jobs
    
    * Create a status per running project
    
    * Add SetJobUrlWithStatus to ProjectCommandOutputHandler
    
    It implements updating the PR with a new project status and adds URL to
    a project jobs page where customer can view the progress of their
    terraform command execution in realtime.
    
    * Added feature allocator into the project command output handler
    
    * Remove PullRequestJobs objects and structs
    
    * remove print statement
    
    * remove print
    
    * Adding feature allocator mocks to tests
    
    * fix tests
    
    * Fixing linting
    
    * fix linting
    
    * Add decorator with feature allocator
    
    * use different variable name
    
    * Moved logic into a decorator
    
    * fix e2e test
    
    * Address PR comments
    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    3680c14 View commit details
    Browse the repository at this point in the history
  38. Log streaming resource cleanup (#102)

    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    2a3c948 View commit details
    Browse the repository at this point in the history
  39. rebase fixes

    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    29a6837 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    3e672ad View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    1f247f9 View commit details
    Browse the repository at this point in the history
  42. Do not display non essential tf commands (#108)

    * Do not display non essential tf commands
    
    * Add title with correct tabbing
    
    * fix ui issues
    
    * more fixes
    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    0f2f590 View commit details
    Browse the repository at this point in the history
  43. Add tab to log stream (#109)

    * adding tabs
    
    * add tabs to tf command output only
    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    69c4dd4 View commit details
    Browse the repository at this point in the history
  44. Metrics for Log-Streaming (#111)

    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1d792df View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    21802b1 View commit details
    Browse the repository at this point in the history
  46. Removed feature flag for PR locks (#110)

    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    cdfc4a7 View commit details
    Browse the repository at this point in the history
  47. Bypass Apply Requirements with --f (#107)

    * Parse force flag from apply comment
    
    * Add force variable to the project command context
    
    * Bypass apply requirement if --force enabled
    
    * Add messaging to user
    
    * Fix rebase issue
    
    * add Feature flagging
    
    * Fix some unit tests
    
    * Public feature allocator
    
    * Add actual public field
    
    * Add correct mocks
    
    * Add test for force case
    
    * Fix e2e tests
    
    * Remove feature allocator:
    
    * Remove the feature allocator tests
    
    * Feature aware wrapper.
    
    * Update error message
    
    * Return correct error and update server.go
    
    * Remove unnecessary mock
    
    * Rename force variable
    
    * Consolidate context flags to struct
    
    * Separate warning comment
    
    * Fix test
    
    * Add tests for decorator
    
    * Move comment back to use feature flag
    
    * Add unit tests for commenter
    
    * Fix typos
    Paul Calley authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    dd5af64 View commit details
    Browse the repository at this point in the history
  48. Orca 873 write to sns topics (#112)

    * Add lyft-apply-audit-sns-topic-arn flag
    
    * Add aws wrapper for aws sns
    
    * Implement project command runner decorator for auditing
    
    * Add ForceApply to ProjectCommandContext
    
    This is temporary until -f is merged
    
    * Use decorator to emit audit events
    
    * fixing tests
    
    * test fix
    
    * fix variable name
    
    * linting fixes
    
    * Address comments
    
    * fix linting and convert time to epoch and then to string
    
    * remove unnecessary metric
    
    * Track sns metrics separately
    
    * exit the apply workflow when sns write fails
    
    * addressing pr comments
    
    * remove duplicate force apply
    
    * comment fix
    
    * fix log messages
    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    362c766 View commit details
    Browse the repository at this point in the history
  49. Log Streaming Metrics Refactor (#114)

    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    df78401 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    0d3d8b6 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    d44d796 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    39d7c76 View commit details
    Browse the repository at this point in the history
  53. Adding approval metadata to project command context [Pulling from ups…

    …tream] (#116)
    
    * Pulling [#1827-Updating client interface and adding ApprovalStatus model] from master
    
    * Fix failing test
    Aayyush authored and msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    7375de8 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    7205170 View commit details
    Browse the repository at this point in the history
  55. fix syntax error

    msarvar committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    dd0a3e6 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    c9a3f17 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. Configuration menu
    Copy the full SHA
    4380243 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2f13fd View commit details
    Browse the repository at this point in the history
  3. Use sha in branch name (#126)

    nishkrishnan authored and msarvar committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    24d6e58 View commit details
    Browse the repository at this point in the history
  4. Revert env syntax change (#128)

    nishkrishnan authored and msarvar committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    9aae834 View commit details
    Browse the repository at this point in the history
  5. Update update_parent.yaml

    nishkrishnan authored and msarvar committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    d774068 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d4c8599 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aeaab43 View commit details
    Browse the repository at this point in the history
  8. Use communication channel to notify about the websocket closed (#131)

    * So for whatever reason tf show with big plan doesn't work in async
    
    * rename isValidCommand to isAsyncEligibleCommand
    msarvar committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    a69f2f1 View commit details
    Browse the repository at this point in the history
  9. Do not raise error when SQ status doesn't have tags defined (#132)

    * Do not raise error when SQ status doesn't have tags defined
    
    * comment update
    msarvar committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    bf8fc68 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    09ef6b5 View commit details
    Browse the repository at this point in the history
  11. fix missing env and project tags (#135)

    * Create tags struct instead of map[string]
    
    * Missing field
    
    * Fix tests
    
    * Json tagging
    
    * json to yaml
    
    * Pass tags to project context"
    
    * Revert using struct
    
    * Fix typo
    Paul Calley authored and msarvar committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    1876635 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    c20e6a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    170fad8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed1118d View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Configuration menu
    Copy the full SHA
    277dae1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83a56a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16460fb View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Ensure std.out and std.err are printed to console for correct logging…

    … ingestion.
    Nish Krishnan committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    59c01de View commit details
    Browse the repository at this point in the history
  2. Revert "Ensure std.out and std.err are printed to console for correct…

    … logging ingestion."
    
    This reverts commit 59c01de.
    Nish Krishnan committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    e8a34df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be4f31d View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Ensure std.in channel is passed in and closed by the sender. (#143)

    * Ensure std.in channel is passed in and closed by the sender.
    
    * Defer channel close.
    nishkrishnan authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    50057b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Configuration menu
    Copy the full SHA
    2faffa6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5720395 View commit details
    Browse the repository at this point in the history
  3. Removing unnecessary actions (#146)

    * Remove unnecessary test action.
    
    * Remove testing env image action.
    nishkrishnan authored Nov 10, 2021
    Configuration menu
    Copy the full SHA
    2f7cfad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27f746c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2021

  1. Configuration menu
    Copy the full SHA
    a9f3f72 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Fix pointer bug. (#149)

    nishkrishnan authored Nov 12, 2021
    Configuration menu
    Copy the full SHA
    ce121dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5777d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Add skip dir. (#152)

    nishkrishnan authored Nov 13, 2021
    Configuration menu
    Copy the full SHA
    a191dc3 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. Configuration menu
    Copy the full SHA
    27e880b View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2021

  1. feat: filter out atlantis/apply from mergeability clause (#1856) (#156)

    Filter out atlantis apply status during mergeability check.
    nishkrishnan authored Nov 18, 2021
    Configuration menu
    Copy the full SHA
    e491790 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb67651 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8511c35 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Configuration menu
    Copy the full SHA
    9fd8043 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Configuration menu
    Copy the full SHA
    8a79e1b View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    b36920d View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. sync: conform to PullStatusFetcher interface. (#157)

    * sync: conform to PullStatusFetcher interface.
    
    * chore: savepoint
    
    * refactor lyft specific mergeability in separate package.
    nishkrishnan authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    5a86426 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2021

  1. Refactor Terraform Client into digestible parts (#154)

    This does the following:
    
    * Offloads version management to version cache used for conftest client
    * Moves all async work to a separate AsyncClient which is embedded
    * Moves command building into its own struct
    * Reduce test responsibilities by leveraging mocks where needed
    * Moves TFC config generation to its own package
    nishkrishnan authored Dec 28, 2021
    Configuration menu
    Copy the full SHA
    f03d8f5 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. Configuration menu
    Copy the full SHA
    c23b9cc View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Configuration menu
    Copy the full SHA
    5cf9ccf View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Add stats to global config. (#166)

    * Add stats to global config.
    
    * Remove requied from stats field.
    nishkrishnan authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    cd71dab View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Remove force apply feature flag (#155)

    * Remove force apply feature flag
    
    * Fix tests for force apply flag removal
    
    * Fix tests
    Paul Calley authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    b0377ca View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Run terraform plan -destroy when destroy flag is enabled (#168)

    * destroy plan
    
    * destroy plan
    
    * nit
    
    * nit2
    
    * remove unneeded decorator
    
    * nit
    samrabelachew authored Jan 27, 2022
    Configuration menu
    Copy the full SHA
    3a95031 View commit details
    Browse the repository at this point in the history
  2. Add Support for Custom Template Definition (#164)

    * Add Template Override variable to repo_config.yaml
    
    * Add remaining templates
    
    * Update tests
    
    * In Progress moving templates to external
    
    * Move more to templates
    
    * Finish moving templates to files
    
    * Simplify the template passing logic
    
    * consolidate logic and renaming
    
    * Remove TemplateOverride from command context
    
    * Add tests for custom templates.
    
    * Add template for test cases
    
    * Add docs
    Paul Calley authored Jan 27, 2022
    Configuration menu
    Copy the full SHA
    f921e5f View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Configuration menu
    Copy the full SHA
    7f2d9bf View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Configuration menu
    Copy the full SHA
    233ca5d View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Fix approve_policies comment formatting error (#174)

    * Embedded variable refers to wrong template
    
    * Add regression test for policy approval
    Paul Calley authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    23b8a11 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Moving config files to core/config (#2036) (#176)

    * Moving config files to core/config
    
    * fix package names
    
    * fix package dependencies
    
    * linting fixes
    
    * more linting fixes
    
    * ran golangci-lint run --fix
    msarvar authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    5e86742 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    316147d View commit details
    Browse the repository at this point in the history
  3. Orca 4414 create default platform mode workflows (#169)

    * remove unused constants
    
    * remove unused functions in global_cfg.go
    
    * Adding default workflows for platform mode
    
    * refactor global_cfg.go
    
    * Adding tests
    
    * Merging server config to project
    
    * moving config from events/yaml to core/config
    
    * move PR and deployment workflows into their own maps
    
    * use correct method
    msarvar authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    fa3ebfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e9bda2 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Configuration menu
    Copy the full SHA
    ae35ab3 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    251f7c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Modify persistence layer to store timestamps (#185)

    * timestamps
    
    * tests
    
    * test nit
    
    * respond to comments
    
    * gh times
    
    * follow up
    
    * undo nil check removal
    samrabelachew authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    6ef3407 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Configuration menu
    Copy the full SHA
    59ae206 View commit details
    Browse the repository at this point in the history
  2. Add SQS polling infrastructure (#187)

    * sqs
    
    * mark false
    
    * remove unneeded import
    
    * first pass comments
    
    * remove header
    
    * no-op
    
    * move interface
    samrabelachew authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    688a360 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Orca 4416 add server config (#179)

    * Add platform mode flag to GlobalCfg
    
    * Added server side config support for platform mode
    
    * Adding flag to enable platform mode
    
    * fix tests
    
    * remove version
    msarvar authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    7caee98 View commit details
    Browse the repository at this point in the history
  2. Orca 4417 refactor merge config (#183)

    * Add platform mode flag to GlobalCfg
    
    * Added server side config support for platform mode
    
    * Adding flag to enable platform mode
    
    * fix tests
    
    * Moved some of the project level validations to project struct
    
    Added platform mode config support for project level workflow overrides.
    We do not support custom platform mode workflows on repo configs
    
    * fix broken test
    
    * moved validations to repo_cfg
    
    * moved some repetitive code to helper functino
    
    * remove platform mode changes
    
    * clean up for loop
    
    * remove platform mode values from project
    msarvar authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    78eea78 View commit details
    Browse the repository at this point in the history
  3. adding platform mode support to repo config (#184)

    * Add platform mode flag to GlobalCfg
    
    * Added server side config support for platform mode
    
    * Adding flag to enable platform mode
    
    * fix tests
    
    * Moved some of the project level validations to project struct
    
    Added platform mode config support for project level workflow overrides.
    We do not support custom platform mode workflows on repo configs
    
    * fix broken test
    
    * moved validations to repo_cfg
    
    * moved some repetitive code to helper functino
    
    * remove platform mode changes
    
    * clean up for loop
    
    * remove platform mode values from project
    
    * adding platform mode support to repo config
    msarvar authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    7e2e205 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Add temporal prototype and readme. (#190)

    * Add temporal prototype and readme.
    
    * Delete unnecessary file.
    
    * Add support for sessions and configurable data dirs.
    nishkrishnan authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    a6b6443 View commit details
    Browse the repository at this point in the history
  2. Remove unused dependency (#192)

    * remove DB from apply cmd runner
    
    * fix unnecessary dependency
    msarvar authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    b0c26a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Configuration menu
    Copy the full SHA
    2f81128 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    149dcf3 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Moved CommandContext and CommandResult to models (#193)

    * Moved CommandContext and CommandResult to models
    
    * move from models to command
    
    rename CommandContext -> Context
    rename CommandResult -> Result
    
    * moved command related helpers into command package
    
    * move ProjectCommandContext and ProjectResult to command/project package
    
    * move project command context and project result
    
    * revert unrelated code
    
    * move tests
    msarvar authored Feb 28, 2022
    Configuration menu
    Copy the full SHA
    d10ec3f View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2022

  1. Configuration menu
    Copy the full SHA
    65ba62c View commit details
    Browse the repository at this point in the history
  2. Use logs job id for auditing purposes. (#199)

    * Use logs job id for auditing purposes.
    
    * Update server/lyft/decorators/audit_project_commands_wrapper.go
    
    Co-authored-by: Sarvar Muminov <[email protected]>
    
    Co-authored-by: Sarvar Muminov <[email protected]>
    nishkrishnan and msarvar authored Mar 1, 2022
    Configuration menu
    Copy the full SHA
    02a5566 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    3607105 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ccd1fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ff637a View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Post implementation for gateway (#201)

    * post implementation for gateway
    
    * comments
    
    * comments
    
    * nit
    samrabelachew authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    70ffa5f View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Create proxy command runner to toggle between platform mode worklow (#…

    …197)
    
    * Create proxy command runner to toggle between platform mode worklow
    based on a feature flag
    
    * remove unused argument
    
    * use correct interface
    
    * revert to use decorator struct
    msarvar authored Mar 5, 2022
    Configuration menu
    Copy the full SHA
    413f776 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Create server modes (#203)

    * Resolved merge conflict
    
    * stats scope
    
    * swap default and gateway
    samrabelachew authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    2fa0186 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Configuration menu
    Copy the full SHA
    ec2835d View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Marshal gateway + more logging (#209)

    * test copying http request
    
    * pass payload
    
    * nit
    
    * test sqs
    
    * obs
    
    * separate context
    
    * rename
    
    * safely cancel
    
    * undo
    
    * spin up routine
    
    * logging comment
    
    * change log to warning level
    samrabelachew authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    d5d3b23 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Delete temporarily generated clone by gateway (#210)

    * delete clone
    
    * clean in error case too
    samrabelachew authored Mar 14, 2022
    Configuration menu
    Copy the full SHA
    5a69d13 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. move handlers (#213)

    samrabelachew authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    b05a52e View commit details
    Browse the repository at this point in the history
  2. moving runSteps to an interface (#212)

    * moving runSteps to an interface
    
    * fix tests
    
    * fix imports
    
    * fix more imports
    
    * move step initialization outside of steps runner
    
    * remove unused struct
    
    * fix test
    msarvar authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    ff9e62f View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. deleting unused object (#216)

    * deleting unused object
    
    * fix tests
    msarvar authored Mar 22, 2022
    Configuration menu
    Copy the full SHA
    5fb8bdb View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. moving things to command package (#218)

    * moving things to command package
    
    * remove unnecessary change
    msarvar authored Mar 23, 2022
    Configuration menu
    Copy the full SHA
    8d6c504 View commit details
    Browse the repository at this point in the history
  2. sns scope (#214)

    samrabelachew authored Mar 23, 2022
    Configuration menu
    Copy the full SHA
    5de3318 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Export autoplan vars (#219)

    * export autoplan vars
    
    * fix
    samrabelachew authored Mar 25, 2022
    Configuration menu
    Copy the full SHA
    2eff368 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e422e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d9be0e View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Configuration menu
    Copy the full SHA
    055e01d View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Configuration menu
    Copy the full SHA
    8b57ca2 View commit details
    Browse the repository at this point in the history
  2. Add context object to update status structs. (#224)

    * Add context object to update status structs.
    
    * Fix merging error.
    nishkrishnan authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    56d841d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5487e17 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Configuration menu
    Copy the full SHA
    45efed6 View commit details
    Browse the repository at this point in the history
  2. Add new Logger interface and update vcs client. (#227)

    * Add new Logger interface and update vcs client.
    
    * Rename sha -> shakey.
    
    * Actually pass new logger into server and close.
    nishkrishnan authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    18a5b75 View commit details
    Browse the repository at this point in the history
  3. Implement platform mode pull requests (#217)

    * Enhance project command runner and project context builder to be
    platform mode aware
    
    * refactor project context builder to not rely on command context
    
    * move project context building to initializers
    
    * conditional policy check
    
    * policy check errors should be failures
    
    * remove unnecessary constants
    
    * improve disabled apply text
    
    * fix tests and rename initializers to wrappers
    
    * add e2e tests
    
    * add unit tests
    
    * fix text
    
    * remove reldir check in project context init
    
    * fix e2e tests
    
    * revert unnecessary shuffle
    
    * fix
    
    * fix tests
    msarvar authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    3b96c98 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Configuration menu
    Copy the full SHA
    d9615eb View commit details
    Browse the repository at this point in the history
  2. [ORCA-4531] Improve pre workflow hook error handling (#228)

    * add instrumentation to pre workflow hooks
    
    * add error handling and failure
    
    * use interface instead of struct
    
    * minor fix
    
    * add error messaging to pre workflow hooks
    
    * use underscores
    
    * fail pr status check instead of commenting
    
    * pass in context and use new logger
    
    * fix test
    
    * address feedback
    
    * rename logging/helpers to logging/fields
    
    use our NoopLogger instead of logur.NoopLogger
    msarvar authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    048001d View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Remove all unnecessary silence flags. (#230)

    * Remove all unnecessary silence flags.
    
    * Fix tests.
    
    * Fix more tests.
    
    * Fix more tests.
    nishkrishnan authored Apr 4, 2022
    Configuration menu
    Copy the full SHA
    36dc978 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. [ORCA-4532] Fix pre-workflow hook logging (#232)

    * sharing stdout and stderr
    
    * fix test
    msarvar authored Apr 5, 2022
    Configuration menu
    Copy the full SHA
    2a4a0e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. [ORCA-4573] Remove automerger (#233)

    * remove automerger feature
    
    * MergePull was being used by only automerger
    
    * remove more stuff
    
    * fix tests
    msarvar authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    b86595b View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. removing verbose flag (#235)

    remove all mention of verbose, adjust templates
    
    fix tests
    msarvar authored Apr 7, 2022
    Configuration menu
    Copy the full SHA
    77ef568 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Configuration menu
    Copy the full SHA
    cf60ab9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffba99f View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Thread ctx through to the command runner. (#239)

    * Thread ctx through to the command runner.
    
    * Pass in logger to asyncautoplanner.
    nishkrishnan authored Apr 12, 2022
    Configuration menu
    Copy the full SHA
    539941f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6989c17 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Orca 4578 audit flags (#236)

    * remove TFE flags
    
    * Remove `Flag` from EnablePolicyChecks
    
    * remove skip-no-clone-changes flag
    
    * remove disable-repo-locking flag
    
    also addressed e2e tests
    
    * removed deprecated flags
    
    flags are --require-approval, --require-megreable and other apply
    requirements flags that should be defined in the server side repo config
    
    * Remove GlobalCfgArgs
    
    * remove DeleteSourceBranchOnMerge flag
    
    * remove --enable-policy-checks flag
    
    Instead of using the flag, config will dynamically enable policy checks
    when it detects policy sets in the server config
    msarvar authored Apr 18, 2022
    Configuration menu
    Copy the full SHA
    16c0034 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98965e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    96a3891 View commit details
    Browse the repository at this point in the history
  2. go mod tidy (#244)

    samrabelachew authored Apr 19, 2022
    Configuration menu
    Copy the full SHA
    c799e08 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. adding checks to gh client

    Aayyush committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    6aded08 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. wip

    Aayyush committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    30c814a View commit details
    Browse the repository at this point in the history
  2. fix tests

    Aayyush committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    08b4d69 View commit details
    Browse the repository at this point in the history
  3. refactor

    Aayyush committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    5857144 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. wip

    Aayyush committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    f4fb6d5 View commit details
    Browse the repository at this point in the history
  2. updating command runners

    Aayyush committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    7dc407f View commit details
    Browse the repository at this point in the history