Skip to content

Conversation

@xrmx
Copy link
Member

@xrmx xrmx commented May 17, 2024

What does this pull request do?

Hopefully fix:

The lambda layer can be published as follows for dev work:
    aws lambda --output json publish-layer-version --layer-name 'runner-dev-elastic-apm-python' --description 'runner dev Elastic APM Python agent lambda layer' --zip-file 'fileb://build/dist/elastic-apm-python-lambda-layer.zip'
Run actions/upload-artifact@v4
  with:
    name: build-distribution
    path: ./build/
    if-no-files-found: error
    compression-level: 6
    overwrite: false
  env:
    ...
With the provided path, there will be 636 files uploaded Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Related issues

None

Hopefully fix:
The lambda layer can be published as follows for dev work:
    aws lambda --output json publish-layer-version --layer-name 'runner-dev-elastic-apm-python' --description 'runner dev Elastic APM Python agent lambda layer' --zip-file 'fileb://build/dist/elastic-apm-python-lambda-layer.zip'
Run actions/upload-artifact@v4
  with:
    name: build-distribution
    path: ./build/
    if-no-files-found: error
    compression-level: 6
    overwrite: false
  env:
    ...
With the provided path, there will be 636 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
@xrmx xrmx requested a review from a team May 17, 2024 14:30
@xrmx xrmx enabled auto-merge (squash) May 17, 2024 14:34
@xrmx xrmx merged commit a69528b into elastic:main May 17, 2024
xrmx added a commit to xrmx/apm-agent-python that referenced this pull request May 20, 2024
Hopefully fix:
The lambda layer can be published as follows for dev work:
    aws lambda --output json publish-layer-version --layer-name 'runner-dev-elastic-apm-python' --description 'runner dev Elastic APM Python agent lambda layer' --zip-file 'fileb://build/dist/elastic-apm-python-lambda-layer.zip'
Run actions/upload-artifact@v4
  with:
    name: build-distribution
    path: ./build/
    if-no-files-found: error
    compression-level: 6
    overwrite: false
  env:
    ...
With the provided path, there will be 636 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
xrmx added a commit that referenced this pull request May 24, 2024
Hopefully fix:
The lambda layer can be published as follows for dev work:
    aws lambda --output json publish-layer-version --layer-name 'runner-dev-elastic-apm-python' --description 'runner dev Elastic APM Python agent lambda layer' --zip-file 'fileb://build/dist/elastic-apm-python-lambda-layer.zip'
Run actions/upload-artifact@v4
  with:
    name: build-distribution
    path: ./build/
    if-no-files-found: error
    compression-level: 6
    overwrite: false
  env:
    ...
With the provided path, there will be 636 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
xrmx added a commit to xrmx/apm-agent-python that referenced this pull request Jun 10, 2024
Hopefully fix:
The lambda layer can be published as follows for dev work:
    aws lambda --output json publish-layer-version --layer-name 'runner-dev-elastic-apm-python' --description 'runner dev Elastic APM Python agent lambda layer' --zip-file 'fileb://build/dist/elastic-apm-python-lambda-layer.zip'
Run actions/upload-artifact@v4
  with:
    name: build-distribution
    path: ./build/
    if-no-files-found: error
    compression-level: 6
    overwrite: false
  env:
    ...
With the provided path, there will be 636 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants