Skip to content

RedHatInsights/insights-frontend-builder-common

This branch is 1 commit ahead of, 1 commit behind master.

Folders and files

NameName
Last commit message
Last commit date
Nov 27, 2024
Jan 18, 2025
Nov 27, 2024
Dec 12, 2024
Sep 26, 2024
Sep 16, 2019
Nov 27, 2024
Dec 13, 2024
Sep 25, 2024
Sep 25, 2024
Nov 27, 2024
Nov 27, 2024

Repository files navigation

Frontend Builder Common

The repo responsible for building all of the frontends on cloud.redhat.com.

Akamai Cache Buster

This script is run automatically from Jenkins each time a frontend is deployed to Prod. It clears out all of the old cached versions of the application to make sure users are served up-to-date content.

To Run

python bustCache.py /path/to/your/.edgerc appName

Some Notes and Requirements

  • Your edgerc needs read/write permission for the eccu API on akamai (not open CCU)
  • The script only works on production akamai (no way to clear the cache on staging)
  • Requests take about 30 minutes to finish
  • Will not work on apps that don't have paths listed in the source of truth