artifacts icon indicating copy to clipboard operation
artifacts copied to clipboard

Unable to set ARTIFACTS_MAX_SIZE in the environment of a repo

Open mfarid opened this issue 9 years ago • 1 comments

Hi Team

I am trying to raise the current limit of 1 GB for artifacts max size. However, I am getting a 500 error while trying to set it.

I try to set it using the following request: API ENDPOINT URL: https://api.travis-ci.org/repos/settings/env_vars?repository_id=XXX

BODY: {"env_var": {"name": "ARTIFACTS_MAX_SIZE", "value": 5048576000, "public": false}}

But the response I get is this: Response [500]

Please suggest if I am missing something.

Thank you Mohd Farid

mfarid avatar Aug 07 '16 06:08 mfarid

Sorry for the long delay here. Is this still happening? This is strictly speaking an API issue; API for whatever reason crashed and responded with a 500. Either there was a bug, and/or your payload is incorrect (and api didn't respond correctly).

Using the CLI works for me.

$ travis env list
# environment variables for BanzaiMan/travis_production_test
BAR=[secure]
$ travis env set ARTIFACTS_MAX_SIZE 5048576000
[+] setting environment variable $ARTIFACTS_MAX_SIZE

BanzaiMan avatar Jun 21 '19 16:06 BanzaiMan