-
Notifications
You must be signed in to change notification settings - Fork 20
Pipeline triggers and releases #5
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
Conversation
|
/azp list |
|
CI/CD Pipelines for this repository: |
azure-pipelines.yml
Outdated
| tagSource: 'auto' | ||
| gitHubConnection: Github | ||
| repositoryName: Optum/dce-cli | ||
| isDraft: 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.
@joshmarsh -- go ahead and disable the draft behavior, so we can test this out.
No one is using this tool yet, so feel free to create/destroy tags and releases as needed to test it out. Let's just make sure it's all cleaned up when we merge the PR
azure-pipelines.yml
Outdated
| - script: | | ||
| set -x | ||
| apt-get update | ||
| apt-get install zip -y |
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.
ubuntu doesn't have zip installed?
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.
Whoops, leftover from when I was debugging dependency issues in a container.
internal/util/aws_test.go
Outdated
|
|
||
| func TestAWSUtil(t *testing.T) { | ||
|
|
||
| t.Run("UploadDirectoryToS3 should upload an entire directory to S3", func(t *testing.T) { |
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.
Can we get rid of this test file? Looks like it doesn't really do anything
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'd prefer to have at least one test file in this PR, as it's part of validating that the module can be built and tested. I can rename it to be generic if you'd like, though I'm just going to fill it in with actual tests for the AWSUtil in my next PR.
|
@joshmarsh -- this looks good. I'd just like to see this working end-to-end before we merge (ie, create a tagged release in Github) |
https://github.com/Optum/dce-cli/releases/tag/v0.0.0 |
eschwartz
left a comment
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.
nice work!

Added an azure devops pipeline that runs tests and creates github draft releases when you push a git tag.