Skip to content

Commit

Permalink
Merge pull request #56 from Cray-HPE/rename
Browse files Browse the repository at this point in the history
renamed repo
  • Loading branch information
nieuwsma authored Jan 12, 2023
2 parents 1fb4e57 + 0d89466 commit d6cd923
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18.0
1.18.1
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

These are changes to charts in support of:

## [1.18.1] - 2023-01-12

### Changed

- Renamed the repo to hms-hmnfd, made some build changes to support M1 Mac (ARM).

## [1.18.0] - 2022-07-19

### Changed
Expand Down Expand Up @@ -194,7 +200,7 @@ These are changes to charts in support of:

## [1.4.2] - 2020-08-12

- CASMHMS-2957 - Updated hms-hmi-nfd to use the latest trusted baseOS images.
- CASMHMS-2957 - Updated hms-hmnfd to use the latest trusted baseOS images.

## [1.4.1] - 2020-06-30

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ FROM build-base AS base
RUN go env -w GO111MODULE=auto

# Copy all the necessary files to the image.
COPY cmd $GOPATH/src/github.com/Cray-HPE/hms-hmi-nfd/cmd
COPY vendor $GOPATH/src/github.com/Cray-HPE/hms-hmi-nfd/vendor
COPY cmd $GOPATH/src/github.com/Cray-HPE/hms-hmnfd/cmd
COPY vendor $GOPATH/src/github.com/Cray-HPE/hms-hmnfd/vendor


### Build Stage ###
FROM base AS builder

RUN set -ex && go build -v -tags musl -i -o /usr/local/bin/hmnfd github.com/Cray-HPE/hms-hmi-nfd/cmd/hmi-nfd
RUN set -ex && go build -v -tags musl -i -o /usr/local/bin/hmnfd github.com/Cray-HPE/hms-hmnfd/cmd/hmi-nfd


### Final Stage ###
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.testing.unit.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ FROM build-base AS base
RUN go env -w GO111MODULE=auto

# Copy all the necessary files to the image.
COPY cmd $GOPATH/src/github.com/Cray-HPE/hms-hmi-nfd/cmd
COPY vendor $GOPATH/src/github.com/Cray-HPE/hms-hmi-nfd/vendor
COPY cmd $GOPATH/src/github.com/Cray-HPE/hms-hmnfd/cmd
COPY vendor $GOPATH/src/github.com/Cray-HPE/hms-hmnfd/vendor


### Unit test Stage ###
Expand All @@ -50,4 +50,4 @@ WORKDIR /go
# tags -musl ::: It's for the confluent kafka Go package, which uses some funky library that is required to explicitly be linked in.
# if you take this out, it will break!
# Run unit tests.
CMD ["sh", "-c", "go test -cover -tags musl -v github.com/Cray-HPE/hms-hmi-nfd/..."]
CMD ["sh", "-c", "go test -cover -tags musl -v github.com/Cray-HPE/hms-hmnfd/..."]
2 changes: 1 addition & 1 deletion HMNFD_Design.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ This will build a Docker container image tagged with the current version
#### Building An HMNFD binary

```
$ cd cmd/hms-hmi-nfd
$ cd cmd/hms-hmnfd
$ go build -mod=vendor -o hmnfd
```

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ DOCKER_IMAGE ?= ${NAME}:${VERSION}
all: image unittest integration snyk ct ct_image

image:
docker build ${NO_CACHE} --pull ${DOCKER_ARGS} --tag '${DOCKER_IMAGE}' .
docker buildx build --platform linux/amd64 ${NO_CACHE} --pull ${DOCKER_ARGS} --tag '${NAME}:${VERSION}' .

unittest:
./runUnitTest.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ This will build a Docker container image tagged with the current version
#### Building An HMNFD binary

```
$ cd cmd/hms-hmi-nfd
$ cd cmd/hms-hmnfd
$ go build -mod=vendor -o hmnfd
```

Expand Down
1 change: 1 addition & 0 deletions docker-compose.test.ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ services:
# - hmnfd
cray-hmnfd:
hostname: cray-hmnfd
platform: linux/amd64
build:
context: .
dockerfile: Dockerfile
Expand Down
1 change: 1 addition & 0 deletions docker-compose.test.unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ services:
build:
context: .
dockerfile: Dockerfile.testing.unit.Dockerfile
platform: linux/amd64
networks:
- hmnfd
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Cray-HPE/hms-hmi-nfd
module github.com/Cray-HPE/hms-hmnfd

go 1.16

Expand Down
1 change: 1 addition & 0 deletions test/integration/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ services:
build:
context: ../../
dockerfile: Dockerfile
platform: linux/amd64
environment:
- DEBUG=3
- SM_URL=http://cray-smd:27779/hsm/v2
Expand Down

0 comments on commit d6cd923

Please sign in to comment.