Skip to content

Commit

Permalink
fixed host name for promtail config
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnath.poologanathan authored and krishnath.poologanathan committed Sep 13, 2024
1 parent be1ad50 commit 5cc391b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ jobs:
target_label: 'logstream'
- source_labels: ['__meta_docker_container_label_logging_jobname']
target_label: 'job'
- replacement: ${HOSTNAME}
- replacement: ${{ matrix.host_id }}-${{ github.event.inputs.testnet_type }}-${{ GITHUB.RUN_NUMBER }}
target_label: node_name
" > /home/obscuro/promtail/promtail-config.yaml \
&& docker run -d --name promtail \
--network ten_node \
-e HOSTNAME=${HOSTNAME} \
-e HOSTNAME=${{ matrix.host_id }}-${{ github.event.inputs.testnet_type }}-${{ GITHUB.RUN_NUMBER }} \
-v /var/log:/var/log \
-v /home/obscuro/promtail:/etc/promtail \
-v /var/lib/docker/containers:/var/lib/docker/containers:ro \
Expand Down

0 comments on commit 5cc391b

Please sign in to comment.