<p>The <code>file_store</code> field in <code>ci_job_artifacts</code> <a href="https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/uploaders/object_storage.rb#L28" rel="nofollow noreferrer">corresponds to the code in <code>app/uploaders/object_storage.rb</code></a>,</p>
<p>Currently it only has two values,</p>
<pre class="lang-ruby prettyprint-override"><code>module Store
  LOCAL = 1
  REMOTE = 2
end
</code></pre>
<p>This can be used to determine if the artifact exists in a <a href="https://docs.gitlab.com/ee/administration/object_storage.html" rel="nofollow noreferrer">Object Storage backend</a>, or local storage.</p>

CC BY-SA 4.0
2023-01-24T22:49:54.557Z
2023-01-24T22:49:54.557Z
Evan Carroll
<p>Where is this field defined and what does it mean? I can't find any information about it.</p>

CC BY-SA 4.0
2023-01-25T06:53:06.443Z
Why the down vote?
Evan Carroll
<gitlab>
What is `file_store` in the `ci_job_artifacts`?
Evan Carroll
# What is `file_store` in the `ci_job_artifacts`?

(Asked by: username_0 on 2023-01-24)

Where is this field defined and what does it mean? I can't find any information about it.

**Tags:** gitlab

> **Comments:**
> **username_0**: Why the down vote?  

---

## 1 answers

### Answer by username_0 on 2023-01-24. Score: 0 | Accepted answer

The file_store field in ci_job_artifacts corresponds to the code in app/uploaders/object_storage.rb,
Currently it only has two values,
module Store
  LOCAL = 1
  REMOTE = 2
end

This can be used to determine if the artifact exists in a Object Storage backend, or local storage.


---

