Skip to content

Commit

Permalink
prepare for 0.7.2 (#233)
Browse files Browse the repository at this point in the history
* prepare for 0.7.2

* double lint timeout to make it less flaky
  • Loading branch information
rfratto authored Oct 29, 2020
1 parent 58c8511 commit 53bd829
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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.2 (2020-10-29)

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.

- [ENHANCEMENT] Bump Prometheus dependency to 2.21. (@rfratto)

- [ENHANCEMENT] Bump OpenTelemetry-collector dependency to 0.13.0 (@rfratto)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ install:
#######################

lint:
GO111MODULE=on GOGC=10 golangci-lint run -v $(GOLANGCI_ARG)
GO111MODULE=on GOGC=10 golangci-lint run -v --timeout=10m $(GOLANGCI_ARG)

# We have to run test twice: once for all packages with -race and then once more without -race
# for packages that have known race detection issues
Expand Down
8 changes: 4 additions & 4 deletions docs/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,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.1 \
grafana/agent:v0.7.2 \
--config.file=/etc/agent-config/agent.yaml
```

Expand Down Expand Up @@ -1999,7 +1999,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.7.1
- image: grafana/agent:v0.7.2
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down Expand Up @@ -2265,7 +2265,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.1 \
grafana/agent:v0.7.2 \
--config.file=/etc/agent-config/agent.yaml
```

Expand All @@ -2282,7 +2282,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.7.1
- image: grafana/agent:v0.7.2
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.1
docker pull grafana/agent:v0.7.2
```

### 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.1
grafana/agent:v0.7.2
```
### 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.1
grafana/agent:v0.7.2
```

## 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.1
image: grafana/agent:v0.7.2
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.1
image: grafana/agent:v0.7.2
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.1
image: grafana/agent:v0.7.2
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.1
image: grafana/agent:v0.7.2
imagePullPolicy: IfNotPresent
name: agent
ports:
Expand Down Expand Up @@ -357,7 +357,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.7.1
image: grafana/agent:v0.7.2
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.1'
'grafana/agent:v0.7.2'
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.1
MANIFEST_BRANCH=v0.7.2
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.1
MANIFEST_BRANCH=v0.7.2
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.1
MANIFEST_BRANCH=v0.7.2
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.1
MANIFEST_BRANCH=v0.7.2
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.1',
agentctl: 'grafana/agentctl:v0.7.1',
agent: 'grafana/agent:v0.7.2',
agentctl: 'grafana/agentctl:v0.7.2',
},

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

0 comments on commit 53bd829

Please sign in to comment.