maidsafe-archive / safe-build-infrastructure

Houses internal build infrastructure
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Creates an S3 Bucket for safe-cli Deploy Artifacts #105

Closed jacderida closed 5 years ago

jacderida commented 5 years ago

Uses Terraform to create a bucket for safe-cli deployments for non-versioned releases. There is a deployment user who is set to have permissions to write to this bucket.

The idea is that this user will be used for all deployed artifacts. So if another deployment bucket gets created, we grant this user the permissions to write to it. This is rather than creating a user for every different project, which would be quite cumbersome to manage.

It also adds the user to the Jenkins credentials.

jacderida commented 5 years ago

Screenshot from 2019-07-04 18-32-23

Hi Stephen,

The latest commit sorts the problem. I wasn't copying the file with the new secret, which meant Jenkins couldn't start at all. You reference the secret in the docker-compose.yml and if that's missing it just won't start Jenkins.

We actually really need a better failure process and I should look into this at some point.

The screenshot here indicates that the new credentials have been added. The Windows slaves were also online.

Cheers,

Chris