Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
67b96255
Commit
67b96255
authored
Oct 19, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep around commits only on pipeline create
parent
a9675600
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
app/models/ci/pipeline.rb
app/models/ci/pipeline.rb
+1
-1
No files found.
CHANGELOG.md
View file @
67b96255
...
...
@@ -16,6 +16,7 @@ Please view this file on the master branch, on stable branches it's out of date.
-
Ability to resolve merge request conflicts with editor !6374
-
Add
`/projects/visible`
API endpoint (Ben Boeckel)
-
Fix centering of custom header logos (Ashley Dumaine)
-
Keep around commits only pipeline creation as pipeline data doesn't change over time
-
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
-
Add an example for testing a phoenix application with Gitlab CI in the docs (Manthan Mallikarjun)
-
Cancelled pipelines could be retried. !6927
...
...
app/models/ci/pipeline.rb
View file @
67b96255
...
...
@@ -19,7 +19,7 @@ module Ci
validates_presence_of
:status
,
unless: :importing?
validate
:valid_commit_sha
,
unless: :importing?
after_
sav
e
:keep_around_commits
,
unless: :importing?
after_
creat
e
:keep_around_commits
,
unless: :importing?
delegate
:stages
,
to: :statuses
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment