Skip to content

Commit 402741b

Browse files
authored
make cache action unix compatible and update test agent (#5464)
* use tar for everything * update test-agent to 1.21.1
1 parent fc756ab commit 402741b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/actions/install/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ runs:
1111
- id: yarn-cache
1212
uses: actions/cache@v4
1313
with:
14-
key: yarn-cache-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('yarn.lock') }}
14+
key: yarn-cache-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('yarn.lock') }}-v2
1515
path: node_modules.tar
1616
if: inputs.cache == 'true'
17-
- run: 7z x -y node_modules.tar
17+
- run: tar -xf node_modules.tar
1818
shell: bash
1919
if: inputs.cache == 'true' && steps.yarn-cache.outputs.cache-hit == 'true'
2020
# Retry in case of server error from registry.
2121
- run: yarn install --frozen-lockfile --ignore-engines || yarn install --frozen-lockfile --ignore-engines
2222
shell: bash
23-
- run: 7z -mx0 a node_modules.tar node_modules
23+
- run: tar -cf node_modules.tar node_modules
2424
shell: bash
2525
if: inputs.cache == 'true' && steps.yarn-cache.outputs.cache-hit != 'true'

.github/workflows/plugins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ jobs:
853853
- 1521:1521
854854
- 5500:5500
855855
testagent:
856-
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.16.0
856+
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.21.1
857857
env:
858858
LOG_LEVEL: DEBUG
859859
TRACE_LANGUAGE: javascript

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ services:
155155
- LDAP_PASSWORDS=password1,password2
156156

157157
testagent:
158-
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.16.0
158+
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.21.1
159159
ports:
160160
- "127.0.0.1:9126:9126"
161161
environment:

0 commit comments

Comments
 (0)