Skip to content

Conversation

@trentm
Copy link
Member

@trentm trentm commented May 25, 2022

The BRANCH_NAME=... make -C .ci dist failed on
cp: ../build/aws/elastic-apm-node-lambda-layer-...zip: No such file or directory
because the "../build/aws" dir had not been created.
This was broken in #2627.

This fixes the failure in the release pipeline for the v3.34.0 release: https://apm-ci.elastic.co/blue/organizations/jenkins/apm-agent-nodejs%2Fapm-agent-nodejs-mbp/detail/v3.34.0/1/pipeline

[2022-05-25T17:36:24.008Z] The lambda layer can be published as follows for dev work:
[2022-05-25T17:36:24.008Z]     aws lambda --output json publish-layer-version --layer-name '-dev-elastic-apm-node' --description ' dev Elastic APM Node.js agent lambda layer' --zip-file 'fileb://build/lambda-layer-zip/elastic-apm-node-lambda-layer.zip'
[2022-05-25T17:36:24.008Z] cp ../build/lambda-layer-zip/elastic-apm-node-lambda-layer.zip ../build/aws/elastic-apm-node-lambda-layer-v3.34.0.zip
[2022-05-25T17:36:24.008Z] cp: cannot create regular file '../build/aws/elastic-apm-node-lambda-layer-v3.34.0.zip': No such file or directory
[2022-05-25T17:36:24.008Z] Makefile:10: recipe for target 'dist' failed

The `BRANCH_NAME=... make -C .ci dist` failed on
    cp: ../build/aws/elastic-apm-node-lambda-layer-...zip: No such file or directory
because the "../build/aws" dir had not been created.
This was broken in #2627.
@trentm trentm self-assigned this May 25, 2022
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label May 25, 2022
@ghost
Copy link

ghost commented May 25, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-05-25T17:53:14.234+0000

  • Duration: 20 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 254251
Skipped 0
Total 254251

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run module tests for <modules> : Run TAV tests for one or more modules, where <modules> can be either a comma separated list of modules (e.g. memcached,redis) or the string literal ALL to test all modules

  • run benchmark tests : Run the benchmark test only.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@trentm trentm merged commit dcc85f3 into main May 25, 2022
@trentm trentm deleted the trentm/fix-lambda-layer-ci-build branch May 25, 2022 21:14
@trentm trentm mentioned this pull request May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-nodejs Make available for APM Agents project planning.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants