Skip to content
Snippets Groups Projects
Select Git revision
  • mshaw1-master-patch-68287
  • andr3-master-patch-06736
  • 363356-positive-intent-first
  • russell/improve-app-security-tools-introduction
  • 361217-delete-streaming-header
  • 361641-comments-discussion-header
  • morefice/add-drop-sequence-helper
  • remove-modal-ok-and-modal-cancel-slots-usage
  • sy-do-not-set-unsupported-sort-order-from-user-preference
  • master default protected
  • pedropombeiro/363308/add-html-field
  • qa-shl-group-inheritance-auth-spec
  • nd/bulk-update-member-await-active-state
  • fix-multiple-stop-actions-n-plus-1-queries
  • 358987-cleanup-feature-flag
  • release-tools/update-gitaly
  • migrate-retry-migration-button
  • id-jwt-gitlab-shell
  • 334810-add-placeholder-assignees-query
  • 363025-fix-epics-bulk-editing
  • v15.0.0-ee
  • v14.10.3-ee
  • v15.0.0-rc44-ee
  • v15.0.0-rc43-ee
  • v15.0.0-rc42-ee
  • v14.10.2-ee
  • v14.8.6-ee
  • v14.9.4-ee
  • v14.10.1-ee
  • v14.10.0-ee
  • v14.10.0-rc42-ee
  • v14.9.3-ee
  • v14.6.7-ee
  • v14.7.7-ee
  • v14.8.5-ee
  • v14.9.2-ee
  • v14.7.6-ee
  • v14.9.1-ee
  • v14.9.0-ee
  • v14.9.0-rc42-ee
40 results

environment_spec.rb

Forked from GitLab.org / GitLab
Source project has a limited visibility.
  • Yorick Peterse's avatar
    14420903
    Validate deployment SHAs and refs · 14420903
    Yorick Peterse authored
    This prevents users from creating deployments using the API while
    providing an invalid SHA or ref name. Providing invalid data for these
    fields will break certain parts of GitLab, such as the UI used for
    displaying the deployments of an environment.
    
    These changes require that we correct a variety of tests that were using
    deployments without a valid repository, or were even testing behaviour
    that would never run due to the lack of a repository.
    
    This fixes https://gitlab.com/gitlab-org/gitlab/issues/36967
    Validate deployment SHAs and refs
    Yorick Peterse authored
    This prevents users from creating deployments using the API while
    providing an invalid SHA or ref name. Providing invalid data for these
    fields will break certain parts of GitLab, such as the UI used for
    displaying the deployments of an environment.
    
    These changes require that we correct a variety of tests that were using
    deployments without a valid repository, or were even testing behaviour
    that would never run due to the lack of a repository.
    
    This fixes https://gitlab.com/gitlab-org/gitlab/issues/36967