-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add drone build job for lambda-promtail images. #4480
Conversation
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Callum Styan <callumstyan@gmail.com>
@owen-d @JordanRushing ready for a review here. We finally have a working public ECR repo + drone plugin that can build and push to public ECR repos. |
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.
Looking good, a couple minor notes
@@ -73,6 +75,24 @@ local clients_docker(arch, app) = { | |||
}, | |||
}; | |||
|
|||
local lambda_promtail_ecr(app) = { | |||
name: '%s-image' % if $.settings.dry_run then 'build-' + app else 'publish-' + app, | |||
image: 'cstyan/ecr', |
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.
Should this not be grafana/ecr
perhaps?
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.
Yeah, we can move my fork of the ECR plugin + the docker image to grafana owned repos at any point.
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.
For context: why isn't it that way already? Just testing for now?
Signed-off-by: Callum Styan <callumstyan@gmail.com>
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.
@cstyan once you've regenerated the .drone.yml
this is good to go 👍
.drone/drone.yml
Outdated
- depends_on: | ||
- image-tag | ||
environment: | ||
DOCKER_LAUNCH_DEBUG: true |
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 think you may need to regenerate this file since this was removed.
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.
LGTM
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Lambda promtail image build and publish via drone.
Signed-off-by: Callum Styan callumstyan@gmail.com