Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deployment cache invaldation #468

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Fix deployment cache invaldation #468

merged 1 commit into from
Feb 11, 2025

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Feb 11, 2025

Context

The deploy workflow invalidates the wrong path (See double slash //):

{
    "Location": "https://cloudfront.amazonaws.com/2020-05-31/distribution/EKT7LT5PM8RKS/invalidation/I1X25INZRFOX3XG00NT7HHAEES",
    "Invalidation": {
        "Id": "I1X25INZRFOX3XG00NT7HHAEES",
        "Status": "InProgress",
        "CreateTime": "2025-02-11T09:57:40.926000+00:00",
        "InvalidationBatch": {
            "Paths": {
                "Quantity": 2,
                "Items": [
                    "/elastic/docs-content/tree/main",
                    "//elastic/docs-content/tree/main/*"
                ]
            },
            "CallerReference": "cli-1739267860-138763"
        }
    }
}

Source: https://github.com/elastic/docs-content/actions/runs/13260176152/job/37014759944#step:5:24989

@reakaleek reakaleek added the automation packaging, ci/cd. label Feb 11, 2025
@reakaleek reakaleek requested a review from a team February 11, 2025 10:37
@reakaleek reakaleek self-assigned this Feb 11, 2025
@reakaleek reakaleek merged commit 263ef57 into main Feb 11, 2025
6 of 7 checks passed
@reakaleek reakaleek deleted the reakaleek-patch-1 branch February 11, 2025 11:05
@Mpdreamz
Copy link
Member

I spotted this where I would a 403 on some pages (in the redesign deploys)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation packaging, ci/cd.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants