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

Refactor: GA Pack Download and Update Mechanism in the GitHub Action Environment #16541

Open
wants to merge 17 commits into
base: migration-automation-workflow
Choose a base branch
from

Commits on Aug 28, 2023

  1. Chore: Creation of download-GA-pack.sh Script for Secure GA Pack Down…

    …loads
    
    Created a new shell script named download-GA-pack.sh. This script has been designed to facilitate the secure downloading of GA packs directly into the GitHub environment.
    JayanaGunaweera01 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    127388b View commit details
    Browse the repository at this point in the history
  2. Refactor: GA Pack Download Mechanism in the GitHub Environment

    Incorporated the newly created download-GA-pack.sh to handle the wso2IS zip downloading process within the existing script.
    
    Streamlined the process by leveraging the download-GA-pack.sh script, leading to cleaner code and enhanced maintainability.
    JayanaGunaweera01 committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    1f47eed View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    ae886dd View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2023

  1. Configuration menu
    Copy the full SHA
    871c20e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08e0fcc View commit details
    Browse the repository at this point in the history
  3. Create update-GA-pack-mac.sh

    $Subject
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    b07bb9f View commit details
    Browse the repository at this point in the history
  4. Update download-GA-pack.sh

    $Subject
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    8615e63 View commit details
    Browse the repository at this point in the history
  5. Update migration-script-ubuntu.sh

    $Subject
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    1721745 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f9451e2 View commit details
    Browse the repository at this point in the history
  7. Update migration-script-mac.sh

    $Subject
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    dbc11c9 View commit details
    Browse the repository at this point in the history
  8. Remove: .github/migration-tester/migration-automation/ubuntu-os/updat…

    …e-pack.sh
    
    Remove redundant file after fixes in update-GA-pack-ubuntu.sh
    
    The contents of the file have been addressed and fixed in update-GA-pack-ubuntu.sh, making this file obsolete.
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    0ad024f View commit details
    Browse the repository at this point in the history
  9. Remove: .github/migration-tester/migration-automation/update-pack-5-9.sh

    The contents of the file have been addressed and fixed in update-GA-pack-ubuntu.sh and update-GA-pack-mac.sh, making this file obsolete.
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    75b8c4d View commit details
    Browse the repository at this point in the history
  10. Update update-GA-pack-ubuntu.sh

    $Subject
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    e261d12 View commit details
    Browse the repository at this point in the history
  11. Update update-GA-pack-mac.sh

    $Subject
    JayanaGunaweera01 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    45f5b9b View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Update download-GA-pack.sh

    Changes focus on refining the way the script accesses and uses the JSON credentials, with an emphasis on security and efficiency.
    
    Previously, the value for keyJsonFile was derived from the first positional argument ($1) which was written for a file in the workflow.
    In the new code, it is derived from the environment variable MIGRATION_JSON_ENCODED. After fetching the data from the variable, it gets base64-decoded to retrieve the JSON contents. This is a significant change as the way credentials are passed to the script has been altered for added security.
    JayanaGunaweera01 committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    860aa43 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. docs: Added user guide

    Added Notion User Guide of the feature.
    JayanaGunaweera01 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    bc76816 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    425b772 View commit details
    Browse the repository at this point in the history