Skip to content
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

update Jenkinsfile to use Fuji style #26

Merged
merged 2 commits into from
Oct 17, 2019

Conversation

ernestojeda
Copy link
Contributor

Signed-off-by: Ernesto Ojeda [email protected]

Copy link

@jamesrgregg jamesrgregg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major refactor of Jenkinsfile - thanks @ernestojeda

@ernestojeda
Copy link
Contributor Author

ernestojeda commented Oct 16, 2019

Signed-off-by: Ernesto Ojeda <[email protected]>
@jamesrgregg
Copy link

@iain-anderson please review

Copy link
Member

@iain-anderson iain-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version should be 1.0.0 at the moment

@jamesrgregg
Copy link

@lranjbar please weigh in here as this service although versioned independently was slated for FUJI, not EDINBURGH release so I"m not following the need to version as 1.0.0 as @iain-anderson suggests.

@iain-anderson
Copy link
Member

The service as it stands builds against the Edinburgh version of the SDK and advertises itself as version 1.0.0.
So we could either
Release as is with 1.0.0, make an edinburgh branch, then move everything to 1.1.0
or
If we are ok waiting another few weeks, forget about 1.0 and move the codebase forward now

If we are doing the latter, this PR is fine

Signed-off-by: Ernesto Ojeda <[email protected]>
@tonyespy
Copy link
Member

As Fuji is just a minor release of the 1.x, there's no need to align the version of this service with Fuji's version. The rules for application and device service is that the major version needs to align with the compatible major version of EdgeX, but that minor and/or patch releases aren't tied to specific minor or patch releases of EdgeX.

One other question, it looks like the build environment has been changed from Alpine to CentOS, are we sure that there aren't any libc compatibility issues building the artifacts on CentOS and running in an Alpine-based container?

@lranjbar
Copy link

I talked to Iain on slack and to verify for device-bacnet-c we are going to release a 1.0.0 version for Edinburgh first. After this PR is merged we need to cut the edinburgh branch. Changes after this release will be to verify the service is compatible with the Fuji release. Due to timing this will happen after the main Fuji release.

@iain-anderson
Copy link
Member

Isn't it that we are building in an Alpine container running on a Centos host?

@jamesrgregg
Copy link

@iain-anderson that's correct. this builds two images but uses two different hosts (VMs) - one Centos x-86 and the other Ubuntu-ARM64

@ernestojeda
Copy link
Contributor Author

Isn't it that we are building in an Alpine container running on a Centos host?

Yes, we are actually building an x86_64 image and an arm64 image like we do for all the other projects.

Here are the agent declarations:
https://github.com/edgexfoundry/device-bacnet-c/pull/26/files#diff-58231b16fdee45a03a4ee3cf94a9f2c3R42
https://github.com/edgexfoundry/device-bacnet-c/pull/26/files#diff-58231b16fdee45a03a4ee3cf94a9f2c3R71

@iain-anderson iain-anderson merged commit 6d38e58 into edgexfoundry:master Oct 17, 2019
@ernestojeda ernestojeda deleted the jenkins-pipeline branch December 5, 2019 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants