-
Notifications
You must be signed in to change notification settings - Fork 260
Add build and publish image capabilities for cns #471
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
Makefile
Outdated
| docker push $(AZURE_VNET_TELEMETRY_IMAGE):$(VERSION) | ||
|
|
||
| # Build the Azure CNS image. | ||
| .PHONY: azure-npm-image |
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.
is this azure-cns-image or npm?
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.
cns
cns/Dockerfile
Outdated
| RUN apt-get update | ||
|
|
||
| # Install plugin | ||
| COPY $CNS_BUILD_DIR/azure-cns /usr/bin |
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 do it in another location instead of /usr/bin because im adding config file and it should be in same directory as that of azure-cns. Can we copy this to /usr/local dir?
also we have to copy gz file and extract that. If tomorrow we have more than 1 file then we have to edit this docker file everytime
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.
moved
c9c2b66 to
8c95d6b
Compare
8c95d6b to
385442d
Compare
tamilmani1989
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.
left a minor comment. lgtm
| docker save $(AZURE_CNS_IMAGE):$(VERSION) | gzip -c > $(CNS_BUILD_DIR)/$(CNS_IMAGE_ARCHIVE_NAME) | ||
| endif | ||
|
|
||
| # Publish the Azure NPM image to a Docker registry |
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.
Azure CNS image
What this PR does / why we need it:
This is just for testing purposes; (runners)
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: