Skip to content

Commit

Permalink
prepare for v0.7.1 release and fix arm binaries (#225)
Browse files Browse the repository at this point in the history
* prepare for v0.7.1 release and fix arm binaries

* typo in dist-agentctl
  • Loading branch information
rfratto authored Oct 23, 2020
1 parent 6a85093 commit c298962
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 21 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ NOTE: FreeBSD builds will not be included for this release. There is a bug in an
upstream library preventing cross-compilation of the Grafana Cloud Agent for
this platform. FreeBSD builds will return in a future release.

# v0.7.1 (2020-10-23)

NOTE: FreeBSD builds will not be included for this release. There is a bug in an
upstream library preventing cross-compilation of the Grafana Cloud Agent for
this platform. FreeBSD builds will return in a future release.

- [BUGFIX] Fix issue where ARM binaries were not published with the GitHub
release.

# v0.7.0 (2020-10-23)

NOTE: FreeBSD builds will not be included for this release. There is a bug in an
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ dist: dist-agent dist-agentctl
pushd dist && sha256sum * > SHA256SUMS && popd
.PHONY: dist

dist-agent: dist/agent-linux-amd64 dist/agent-darwin-amd64 dist/agent-windows-amd64.exe
dist-agent: dist/agent-linux-amd64 dist/agent-linux-arm64 dist/agent-linux-armv7 dist/agent-darwin-amd64 dist/agent-windows-amd64.exe
dist/agent-linux-amd64:
@CGO_ENABLED=1 GOOS=linux GOARCH=amd64; $(seego) build $(CGO_FLAGS) -o $@ ./cmd/agent
dist/agent-linux-arm64:
Expand All @@ -212,7 +212,7 @@ dist/agent-darwin-amd64:
dist/agent-windows-amd64.exe:
@CGO_ENABLED=1 GOOS=windows GOARCH=amd64; $(seego) build $(CGO_FLAGS) -o $@ ./cmd/agent

dist-agentctl: dist/agentctl-linux-amd64 dist/agentctl-darwin-amd64 dist/agentctl-windows-amd64.exe
dist-agentctl: dist/agentctl-linux-amd64 dist/agentctl-linux-arm64 dist/agentctl-linux-armv7 dist/agentctl-darwin-amd64 dist/agentctl-windows-amd64.exe
dist/agentctl-linux-amd64:
@CGO_ENABLED=1 GOOS=linux GOARCH=amd64; $(seego) build $(CGO_FLAGS) -o $@ ./cmd/agentctl
dist/agentctl-linux-arm64:
Expand Down
8 changes: 4 additions & 4 deletions docs/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ docker run \
-v "/proc:/host/proc:ro,rslave" \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.7.0 \
grafana/agent:v0.7.1 \
--config.file=/etc/agent-config/agent.yaml
```

Expand Down Expand Up @@ -1641,7 +1641,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.7.0
- image: grafana/agent:v0.7.1
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down Expand Up @@ -1907,7 +1907,7 @@ docker run \
-v "/proc:/proc:ro" \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.7.0 \
grafana/agent:v0.7.1 \
--config.file=/etc/agent-config/agent.yaml
```

Expand All @@ -1924,7 +1924,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.7.0
- image: grafana/agent:v0.7.1
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Currently, there are five ways to install the agent:
### Docker Container

```
docker pull grafana/agent:v0.7.0
docker pull grafana/agent:v0.7.1
```

### Kubernetes Install Script
Expand Down Expand Up @@ -269,7 +269,7 @@ path of your Agent's YAML configuration file.
docker run \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.7.0
grafana/agent:v0.7.1
```
### Locally
Expand Down
2 changes: 1 addition & 1 deletion production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ docker run \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
--entrypoint "/bin/agent -config.file=/etc/agent-config/agent.yaml -prometheus.wal-directory=/etc/agent/data"
grafana/agent:v0.7.0
grafana/agent:v0.7.1
```

## Running the Agent locally
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-bare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.7.0
image: grafana/agent:v0.7.1
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.7.0
image: grafana/agent:v0.7.1
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-tempo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.7.0
image: grafana/agent:v0.7.1
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
4 changes: 2 additions & 2 deletions production/kubernetes/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.7.0
image: grafana/agent:v0.7.1
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down Expand Up @@ -357,7 +357,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.7.0
image: grafana/agent:v0.7.1
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/build/lib/version.libsonnet
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'grafana/agent:v0.7.0'
'grafana/agent:v0.7.1'
2 changes: 1 addition & 1 deletion production/kubernetes/install-bare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ check_installed() {
check_installed curl
check_installed envsubst

MANIFEST_BRANCH=v0.7.0
MANIFEST_BRANCH=v0.7.1
MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml}

curl -fsSL $MANIFEST_URL | envsubst
2 changes: 1 addition & 1 deletion production/kubernetes/install-loki.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ check_installed() {
check_installed curl
check_installed envsubst

MANIFEST_BRANCH=v0.7.0
MANIFEST_BRANCH=v0.7.1
MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-loki.yaml}

LOKI_USERNAME_SET=0
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/install-tempo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ check_installed() {
check_installed curl
check_installed envsubst

MANIFEST_BRANCH=v0.7.0
MANIFEST_BRANCH=v0.7.1
MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-tempo.yaml}

TEMPO_USERNAME_SET=0
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ check_installed() {
check_installed curl
check_installed envsubst

MANIFEST_BRANCH=v0.7.0
MANIFEST_BRANCH=v0.7.1
MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml}

REMOTE_WRITE_USERNAME_SET=0
Expand Down
4 changes: 2 additions & 2 deletions production/tanka/grafana-agent/v1/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ local configMap = k.core.v1.configMap;
(import './lib/tempo.libsonnet') +
{
_images:: {
agent: 'grafana/agent:v0.7.0',
agentctl: 'grafana/agentctl:v0.7.0',
agent: 'grafana/agent:v0.7.1',
agentctl: 'grafana/agentctl:v0.7.1',
},

// new creates a new DaemonSet deployment of the grafana-agent. By default,
Expand Down

0 comments on commit c298962

Please sign in to comment.