-
Notifications
You must be signed in to change notification settings - Fork 32
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
Provide npcap distribution internally #148
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
Makefile
Outdated
# TODO: to be replaced once we validate it works as expected | ||
# TODO: version to be tagged too. | ||
#NPCAP_FILE=npcap-1.60-oem.exe | ||
NPCAP_FILE=test.txt |
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.
This will be replaced in a follow up, once we validate everything was pushed as expected
ifeq in Make with the include and variables created on the fly don't work as expected
Makefile.common
Outdated
push: | ||
echo ">> Pushing $(REPOSITORY)/$(NAME):$(VERSION)$(SUFFIX)$(TAG_EXTENSION)" | ||
@[ "$(SUFFIX)" = "$(SUFFIX_NPCAP_VERSION)" ] \ |
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 could not find the way to use ifeq
with SUFFIX and SUFFIX_NPCAP_VERSION, even though these values were the same, but the ifeq
returned false.
I guess, something should be related to where the SUFFIX is defined and the include
function.
Makefile
Outdated
# TODO: to be replaced once we validate it works as expected | ||
# TODO: version to be tagged too. | ||
NPCAP_VERSION=1.60 | ||
#NPCAP_FILE=npcap-$(NPCAP_VERSION)-oem.exe | ||
NPCAP_FILE=test.txt |
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.
TODO: to be replaced once we agree this is the way to go
# TODO: to be replaced once we validate it works as expected | |
# TODO: version to be tagged too. | |
NPCAP_VERSION=1.60 | |
#NPCAP_FILE=npcap-$(NPCAP_VERSION)-oem.exe | |
NPCAP_FILE=test.txt | |
NPCAP_VERSION=1.60 | |
NPCAP_FILE=npcap-$(NPCAP_VERSION)-oem.exe |
Otherwise the version was empty Let's see whether it works
…e specific makefile in the go1.X version folder
Makefile.common
Outdated
# TODO: to be replaced once we validate it works as expected | ||
#NPCAP_FILE := npcap-$(NPCAP_VERSION)-oem.exe | ||
NPCAP_FILE := test.txt |
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.
# TODO: to be replaced once we validate it works as expected | |
#NPCAP_FILE := npcap-$(NPCAP_VERSION)-oem.exe | |
NPCAP_FILE := test.txt | |
NPCAP_FILE := npcap-$(NPCAP_VERSION)-oem.exe |
|
||
If you'd like to bump the npcap version please follow the below steps: | ||
|
||
1) Update `NPCAP_VERSION` value in the `Makefile`. |
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.
1) Update `NPCAP_VERSION` value in the `Makefile`. | |
1) Update `NPCAP_VERSION` value in the `Makefile.common`. |
then the push can be override
b77c6e9
to
4ff4855
Compare
What
Provide the npcap distribution in an internal docker image, for such, it uses the internal docker registry, the main docker image and copy the file to
/installer
folder.Actions
npcap
version in the tag image.Test
Build
Push
Pull
Files