Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16913

Fix incorrect UI bundle URL in content Dockerfile

    XMLWordPrintableJSON

Details

    • Operability
    • Low Hanging Fruit
    • All
    • None
    • Hide

      This patch can be tested unmodified only in trunk. To test this prior to merging the following steps need to be carried out:

      Step 1. Update the site-content Dockerfile

      Line 101 in site-content/Dockerfile will need to be changed as follows.

      ENV ANTORA_UI_BUNDLE_URL="https://github.com/ossarga/cassandra-website/raw/CASSANDRA-16913_fix_ui_bundle_url/site-ui/build/ui-bundle.zip"

       

      Step 2. Delete local container and build cache

      Run the following commands to delete the container from Docker on the local machine and reset the build cache.

      $ docker rmi apache/cassandra-website
      $ docker builder prune 

       

      Step 3. Build the website

      Run the following command to build the Apache Cassandra website. This will cause a new site-content Docker container to be built prior to building the website.

       $ ./run.sh website build

      This will render the website and place the generated HTML into site-content/build/html/.

      Show
      This patch can be tested unmodified only in trunk. To test this prior to merging the following steps need to be carried out: Step 1. Update the site-content Dockerfile Line 101 in site-content/Dockerfile will need to be changed as follows. ENV ANTORA_UI_BUNDLE_URL= "https: //github.com/ossarga/cassandra-website/raw/CASSANDRA-16913_fix_ui_bundle_url/site-ui/build/ui-bundle.zip"   Step 2. Delete local container and build cache Run the following commands to delete the container from Docker on the local machine and reset the build cache. $ docker rmi apache/cassandra-website $ docker builder prune   Step 3. Build the website Run the following command to build the Apache Cassandra website. This will cause a new site-content Docker container to be built prior to building the website. $ ./run.sh website build This will render the website and place the generated HTML into site-content/build/html/ .

    Description

      We need to change the UI bundle URL in the content container Dockerfile to point to a UI bundle that contains the correct site styling.

      The URL to the bundle can be updated only after an initial version of the UI bundle is tagged and released on the cassandra-website.

      Attachments

        Issue Links

          Activity

            People

              mck Michael Semb Wever
              Anthony Grasso Anthony Grasso
              Michael Semb Wever
              Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: