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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ca2c5ddb
Commit
ca2c5ddb
authored
Nov 29, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exclude encrypted build token from import/export and retries
parent
9a89ed48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
lib/gitlab/import_export/import_export.yml
lib/gitlab/import_export/import_export.yml
+1
-0
spec/services/ci/retry_build_service_spec.rb
spec/services/ci/retry_build_service_spec.rb
+3
-3
No files found.
lib/gitlab/import_export/import_export.yml
View file @
ca2c5ddb
...
@@ -142,6 +142,7 @@ excluded_attributes:
...
@@ -142,6 +142,7 @@ excluded_attributes:
statuses
:
statuses
:
-
:trace
-
:trace
-
:token
-
:token
-
:token_encrypted
-
:when
-
:when
-
:artifacts_file
-
:artifacts_file
-
:artifacts_metadata
-
:artifacts_metadata
...
...
spec/services/ci/retry_build_service_spec.rb
View file @
ca2c5ddb
...
@@ -20,9 +20,9 @@ describe Ci::RetryBuildService do
...
@@ -20,9 +20,9 @@ describe Ci::RetryBuildService do
CLONE_ACCESSORS
=
described_class
::
CLONE_ACCESSORS
CLONE_ACCESSORS
=
described_class
::
CLONE_ACCESSORS
REJECT_ACCESSORS
=
REJECT_ACCESSORS
=
%i[id status user token
coverage trace runner artifacts_expire_at
%i[id status user token
token_encrypted coverage trace runner
artifacts_
file artifacts_metadata artifacts_size created_at
artifacts_
expire_at artifacts_file artifacts_metadata artifacts_size
updated_at started_at finished_at queued_at erased_by
created_at
updated_at started_at finished_at queued_at erased_by
erased_at auto_canceled_by job_artifacts job_artifacts_archive
erased_at auto_canceled_by job_artifacts job_artifacts_archive
job_artifacts_metadata job_artifacts_trace job_artifacts_junit
job_artifacts_metadata job_artifacts_trace job_artifacts_junit
job_artifacts_sast job_artifacts_dependency_scanning
job_artifacts_sast job_artifacts_dependency_scanning
...
...
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