question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Load configuration from object in S3

See original GitHub issue

It would be useful if CASC_JENKINS_CONFIG could point to an s3:// URL and load configuration from there. While you could use a signed S3 URL, the expiration date for such has a maximum of a week. It would be trivial to point to an S3 URL when using an instance or service role; in other cases, additional configuration for AWS credentials would be needed.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
timjacommented, Mar 27, 2019

Might be good for this to be a separate plugin? Changes in here could be made if that doesn’t work very well currently

1reaction
kmcquadecommented, Apr 5, 2019

@jbouse you might want to check out https://github.com/odavid/my-bloody-jenkins#environment-variables. See his note on the environment variable JENKINS_ENV_CONFIG_YML_URL.

We just use that and assign an IAM role to the ECS task. Using my-bloody-jenkins, our Jenkins instances just grab the config.yml file at boot and polls for changes every 30 seconds 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating, configuring, and working with Amazon S3 buckets
To store an object in Amazon S3, you create a bucket and then upload the object to a bucket. When the object is...
Read more >
S3 — Boto3 Docs 1.26.29 documentation - Amazon AWS
You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your object up to 5...
Read more >
Working with data in Amazon S3 | Databricks on AWS
See Configure S3 access with instance profiles. Access S3 buckets with URIs and AWS keys. This method allows Spark workers to access an...
Read more >
Option 2: Configuring an AWS IAM Role to Access Amazon S3
Step 1: Configure S3 Bucket Access Permissions. Step 2: Create an AWS IAM Role. Step 3: Create an External Stage. Step 4: Configure...
Read more >
S3 Object Store - Vertica
For AWS, specify the region in the AWSRegion configuration parameter, not the URI. If the region is not correct, you might experience a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found