Skip to content

Commit

Permalink
Provide fixed v1.0.0 layer for the main branch (#97)
Browse files Browse the repository at this point in the history
[#96] Provide fixed v1.0.0 layer for the main branch

Signed-off-by: Kristiyan Gostev <kristiyan.gostev@bosch.com>
  • Loading branch information
k-gostev authored Jun 10, 2024
1 parent 282dc60 commit 582a8e4
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 25 deletions.
7 changes: 5 additions & 2 deletions recipes-connectivity/aws-connector/aws-connector_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/aws-connector;protocol=https;branch=ma
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "05fcdc45e5829930ca7b32bb4f03c821eeaa1eef"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/aws-connector"
GO_INSTALL = "${GO_IMPORT}/cmd/aws-connector"
Expand Down Expand Up @@ -39,6 +39,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/aws-connector"
RPROVIDES:${PN} += "kanto/aws-connector"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SC_BIN_DD}"

Expand Down
7 changes: 5 additions & 2 deletions recipes-connectivity/azure-connector/azure-connector_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/azure-connector;protocol=https;branch=
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "c610acb7a3ea92afdde45b25bd4c197965266f95"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/azure-connector"
GO_INSTALL = "${GO_IMPORT}/cmd/azure-connector"
Expand Down Expand Up @@ -39,6 +39,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/azure-connector"
RPROVIDES:${PN} += "kanto/azure-connector"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SC_BIN_DD}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/local-digital-twins;protocol=https;bra
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "b12fba36af75174753223e63fafaf1a95f17c3f0"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/local-digital-twins"
GO_INSTALL = "${GO_IMPORT}/cmd/twins"
Expand Down Expand Up @@ -39,6 +39,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/local-digital-twins"
RPROVIDES:${PN} += "kanto/local-digital-twins"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${LDT_BIN_DD}"

Expand Down
7 changes: 5 additions & 2 deletions recipes-connectivity/suite-connector/suite-connector_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/suite-connector;protocol=https;branch=
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "938ae1560e09058463972061de2a63275fa32d46"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/suite-connector"
GO_INSTALL = "${GO_IMPORT}/cmd/connector"
Expand Down Expand Up @@ -40,6 +40,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/suite-connector"
RPROVIDES:${PN} += "kanto/suite-connector"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SC_BIN_DD}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/container-management;protocol=https;br
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "4b2cd25bd9f6f78c480677994b20ab7b6e46c39c"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/container-management"
GO_INSTALL = "${GO_IMPORT}/containerm/daemon \
Expand Down Expand Up @@ -51,11 +51,11 @@ FILES:${PN} += "${CM_BIN_DD}/container-management ${CM_BIN_DD}/kanto-cm"
# ensure all additional resources are properly packed in the resulting package if provided
FILES:${PN} += "${CM_CFG_DD}/container-management/config.json"

# VERSION_PKG = "github.com/eclipse-kanto/container-management/containerm"
# BUILD_TIME = "${@time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime())}"
# BUILD_VERSION = "0.1.0-M2"
# BUILD_REVISION = "${@'${SRCREV}'[:7]}"
# export GO_EXTRA_LDFLAGS="-X ${VERSION_PKG}/version.GitCommit=${BUILD_REVISION} -X ${VERSION_PKG}/version.ProjectVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.APIVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.BuildTime=${BUILD_TIME}"
VERSION_PKG = "github.com/eclipse-kanto/container-management/containerm"
BUILD_TIME = "${@time.strftime('%Y-%m-%dT%H:%M:%SZ',time.gmtime())}"
BUILD_VERSION = "1.0.0"
BUILD_REVISION = "${@'${SRCREV}'[:7]}"
export GO_EXTRA_LDFLAGS="-X ${VERSION_PKG}/version.GitCommit=${BUILD_REVISION} -X ${VERSION_PKG}/version.ProjectVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.APIVersion=${BUILD_VERSION} -X ${VERSION_PKG}/version.BuildTime=${BUILD_TIME}"

do_install() {
install -d ${D}/${CM_BIN_DD}
Expand Down
7 changes: 5 additions & 2 deletions recipes-management/file-backup/file-backup_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/file-backup;protocol=https;branch=main
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "4ea460c50aeba1d1706528927b1564fe37c425dc"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/file-backup"
GO_INSTALL = "${GO_IMPORT}"
Expand All @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/file-backup"
RPROVIDES:${PN} += "kanto/file-backup"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${FB_BIN_DD}"

Expand Down
7 changes: 5 additions & 2 deletions recipes-management/file-upload/file-upload_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/file-upload;protocol=https;branch=main
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "be9c7f236de2f2b64ca4fa58ceb1a95c4382b8b6"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/file-upload"
GO_INSTALL = "${GO_IMPORT}"
Expand All @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/file-upload"
RPROVIDES:${PN} += "kanto/file-upload"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${FU_BIN_DD}"

Expand Down
7 changes: 5 additions & 2 deletions recipes-management/software-update/software-update_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/software-update;protocol=https;branch=
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "74b2b454b2e66c212f450c822f9f7394a6fc30e1"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/software-update"
GO_INSTALL = "${GO_IMPORT}/cmd/software-update"
Expand All @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/software-update"
RPROVIDES:${PN} += "kanto/software-update"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SU_BIN_DD}"

Expand Down
7 changes: 5 additions & 2 deletions recipes-management/update-manager/update-manager_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/update-manager;protocol=https;branch=m
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "0b23c81367480892efd99c9fb086bad135d2e9e2"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/update-manager"
GO_INSTALL = "${GO_IMPORT}/cmd/update-manager"
Expand All @@ -37,6 +37,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/update-manager"
RPROVIDES:${PN} += "kanto/update-manager"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${UM_BIN_DD}"

Expand Down
7 changes: 5 additions & 2 deletions recipes-monitoring/system-metrics/system-metrics_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ SRC_URI = "git://github.com/eclipse-kanto/system-metrics;protocol=https;branch=m
file://service.template \
"

SRCREV = "${AUTOREV}"
SRCREV = "6be7a9b7dcd26df1687785ada267211ff7851435"

PV = "0.1.0-git${SRCPV}"
PV = "1.0.0-git${SRCPV}"

GO_IMPORT = "github.com/eclipse-kanto/system-metrics"
GO_INSTALL = "${GO_IMPORT}/cmd/metrics"
Expand Down Expand Up @@ -38,6 +38,9 @@ RDEPENDS:${PN} += "mosquitto"
PROVIDES:${PN} += "kanto/system-metrics"
RPROVIDES:${PN} += "kanto/system-metrics"

BUILD_VERSION = "1.0.0"
export GO_EXTRA_LDFLAGS="-X main.version=${BUILD_VERSION}"

do_install() {
install -d "${D}/${SM_BIN_DD}"

Expand Down

0 comments on commit 582a8e4

Please sign in to comment.