-
Notifications
You must be signed in to change notification settings - Fork 6
Switch aws cli installation for cron job #661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| - type: replace | ||
| path: /instance_groups/name=bosh/jobs/- | ||
| value: | ||
| name: pre-start-script | ||
| release: os-conf | ||
| properties: | ||
| script: | | ||
| #!/bin/bash | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a pretty standard way to do things in BOSH?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is a workaround for now, if we get time to make a full bosh release for this, or can find another donor release, we can do that. We use os-conf release for a number of odds-n-ends installs |
||
| mkdir /var/vcap/data/aws-cli-v2 | ||
| chown root:vcap /var/vcap/data/aws-cli-v2 | ||
| curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
| unzip awscliv2.zip | ||
| ./aws/install --install-dir /var/vcap/data/aws-cli-v2 | ||
| - type: replace | ||
| path: /releases/- | ||
| value: | ||
| name: os-conf | ||
| version: latest | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we can delete
tooling-bosh-awslogsthen?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, once this gets tested out in dev, I'll make another PR to pull the temporary ops file.