Skip to content
Snippets Groups Projects
Select Git revision
  • check-tag-rules-when-deleting-container-images
  • gems_checksum_lock
  • 521041/aslota-rename-custom-status-widget-to-status-widget
  • master default protected
  • alvin-master-patch-446b
  • overdue-finalize-background-migration--backfill-protected-environment-deploy-access-levels-protected-environment-group-id
  • rails-next protected
  • ruby-next protected
  • 511232-add-severity-override-metadata-to-mr-widget-calls
  • 515996-add-immutable-to-tag-rules
  • cherryhan-master-patch-bd7d
  • issue_419332
  • graphql-security-dashboard
  • gkatz_add_vulnerability_namespace_stats_table
  • ysiev-vulnerability-namespace-statistics-update-service
  • 509046-unauthorized-access-to-reading-branch
  • gkatz_add_namespace_statistics_adjustment_service
  • 521039/aslota-rename-status-widget-to-verification-status-widget
  • 515035-add-ability-to-manage-admin-custom-roles
  • tachyons_service_account_update
  • v17.7.6-ee protected
  • v17.8.4-ee protected
  • v17.9.1-ee protected
  • v17.8.3-ee protected
  • v17.7.5-ee protected
  • v17.9.0-ee protected
  • v17.9.0-rc42-ee protected
  • v17.6.5-ee protected
  • v17.7.4-ee protected
  • v17.8.2-ee protected
  • v17.6.4-ee protected
  • v17.7.3-ee protected
  • v17.8.1-ee protected
  • v17.8.0-ee protected
  • v17.7.2-ee protected
  • v17.8.0-rc42-ee protected
  • v17.5.5-ee protected
  • v17.6.3-ee protected
  • v17.7.1-ee protected
  • v17.7.0-ee protected
40 results

ci_cd_controller.rb

  • lexicalunit's avatar
    3572bfb7
    Create new deploy tokens via ajax · 3572bfb7
    lexicalunit authored
    Resolves the backend half of
    #22794
    by changing the POST to an ajax request. This means that a reload of the
    page will no longer trigger the creation of a new deploy token.
    
    These changes are behind a feature flag named `:ajax_new_deploy_token`.
    The flag exists at the group and project level.
    
    When enabled:
    
    - Makes create_deploy_token actions of ci_cd controllers ajax
    - The JSON response matches the existing API schema
    
    API Schema: https://docs.gitlab.com/ee/api/deploy_tokens.html
    3572bfb7
    History
    Create new deploy tokens via ajax
    lexicalunit authored
    Resolves the backend half of
    #22794
    by changing the POST to an ajax request. This means that a reload of the
    page will no longer trigger the creation of a new deploy token.
    
    These changes are behind a feature flag named `:ajax_new_deploy_token`.
    The flag exists at the group and project level.
    
    When enabled:
    
    - Makes create_deploy_token actions of ci_cd controllers ajax
    - The JSON response matches the existing API schema
    
    API Schema: https://docs.gitlab.com/ee/api/deploy_tokens.html
Code owners
Assign users and groups as approvers for specific file changes. Learn more.