Skip to content

Commit

Permalink
#98 Prepare for versioned release
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Aug 21, 2024
1 parent 91bcd24 commit 31347e1
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 41 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

-

## [0.3.0] - 2024-08-21

### Changed in 0.3.0

- Change from `g2` to `sz`/`er`

## [0.2.2] - 2024-06-12

### Changed in 0.2.2
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN make build
# Copy binaries to /output.

RUN mkdir -p /output \
&& cp -R ${GOPATH}/src/observe/target/* /output/
&& cp -R ${GOPATH}/src/observe/target/* /output/

# -----------------------------------------------------------------------------
# Stage: final
Expand All @@ -69,7 +69,7 @@ COPY ./rootfs /

# Copy files from prior stage.

COPY --from=go_builder "/output/linux-amd64/observe" "/app/observe"
COPY --from=builder "/output/linux-amd64/observe" "/app/observe"

# Run as non-root container

Expand Down
6 changes: 6 additions & 0 deletions docker-compose.test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: '3'
services:
sut:
build: .
entrypoint: [""]
command: ["/app/container-test.sh"]
2 changes: 1 addition & 1 deletion makefiles/darwin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ clean-osarch-specific:
@rm -fr $(TARGET_DIRECTORY) || true
@rm -fr /tmp/sqlite || true
@pkill godoc || true
@docker-compose -f docker-compose.test.yaml down 2> /dev/null
@docker-compose -f docker-compose.test.yaml down 2> /dev/null || true


.PHONY: coverage-osarch-specific
Expand Down
2 changes: 1 addition & 1 deletion makefiles/linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ clean-osarch-specific:
@rm -fr $(TARGET_DIRECTORY) || true
@rm -fr /tmp/sqlite || true
@pkill godoc || true
@docker-compose -f docker-compose.test.yaml down 2> /dev/null
@docker-compose -f docker-compose.test.yaml down 2> /dev/null || true


.PHONY: coverage-osarch-specific
Expand Down
38 changes: 1 addition & 37 deletions observer/doc.go
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
/*
One or two sentence synopsis of the package...
# Overview
One or two paragraph overview of the package...
(This page describes the nature of the individual package.)
More information at https://github.com/senzing-garage/observe
# Another Header
Details of the package...
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
# Examples
The examples given here should be specific to the package.
Examples of use can be seen in the examplepackage_test.go files.
package main
import (
fmt
"github.com/senzing-garage/observe/examplepackage"
)
func main() {
ctx := context.TODO()
testObject := &ExamplePackageImpl{
Something: "I'm here",
}
err := testObject.SaySomething(ctx)
if err != nil {
fmt.Println("whoops")
}
}
Package observer is the implementation of the observe command.
*/
package observer
Empty file modified rootfs/app/container-test.sh
100644 → 100755
Empty file.
Empty file modified rootfs/app/healthcheck.sh
100644 → 100755
Empty file.

0 comments on commit 31347e1

Please sign in to comment.