Open Smithx10 opened 3 years ago
make check
is looking green here. If I understand the file https://github.com/joyent/sdc-docker/blob/master/tools/check-docs.sh correctly, it only checks in the docs/
directory, where no changes were made - or did you mean missing docs?
@teutat3s It's a bit confusing, because the target is check::
. The double colon means there are multiple targets with the same name and running make check
executes all of them. The other checks are defined in deps/eng/tools/mk/Makefile.targ
(which is a submodule).
Specifically, the following sub-checks fail:
@bahamat thanks for clarifying, I'll see what I can do to contribute and fix these failing sub-checks.
@Smithx10 I tried addressing the make check
errors in https://github.com/Smithx10/sdc-docker/pull/1
Feedback welcome!
@bahamat make check
should be all green now.
EDIT: probably this is required before merging this? https://github.com/joyent/node-triton-tags/pull/5
Ok, this is looking good so far.
I'd like to see at least some integration tests created, and the test run to see the results.
The following tests should be created:
In order to do this, you'll need an image built that includes joyent/node-triton-tags#5. The easiest way to do that is to change package.json in this commit to point triton-tags at https://github.com/Smithx10/node-triton-tags#e4c543ffad2e36e180e7446b5527223cb413c39f
and our Jenkins will build an image for you and put it in the experimental channel.
@bahamat should the image already be built or does it take a bit?
[root@headnode (dc-1) ~]# sdcadm avail -C experimental docker
SERVICE IMAGE VERSION
docker 5f7af963-c87c-432a-b04f-be2784298487 docker@PR-158-20211119T162303Z-gf1a5a92
@teutat3s I think automatic builds only happen when they come from joyent owned repos (otherwise it could be dangerous). I've kicked off a build so you should see it in a few minutes.
Something seems to be broken in that image:
EDIT: Maybe a sync with joyent/node-triton-tags
's master
branch is necessary?
@bahamat would you be so kind and trigger another build? Or do you have an idea what else could have gone wrong with that image?
Build started. Should be ready in about 5 minutes from now.
Same result. Could there be a step missing in the build process? It seems the .pegjs
files are not rendered?
[root@88e4c263-658f-4b02-a698-d5637a256f81 (dc-1:docker0) ~]# ls /opt/smartdc/docker/node_modules/triton-tags/lib
cmon-groups-tag.pegjs cns-svc-tag.pegjs index.js
EDIT: It seems those files are only rendered when cutting a new release, is there a workaround to get those into the experimental image? https://github.com/joyent/node-triton-tags/blob/6d78099450aae993bededf03bf71f085ac700d55/Makefile#L33-L41
Addresses #157