Skip to content

ona-SE/gitlabci-to-githubactions-migration

Repository files navigation

Gitlab CI to GitHub Action migration demo

Setup

GitHub Authentication

This project requires a valid GitHub Personal Access Token to interact with GitHub.

  1. Create a GitHub Personal Access Token:

  2. Configure the token:

    ./setup-github-auth.sh <your_token_here>
  3. Persist the token (optional, for workspace restarts):

    gp env ONA_GITHUB=<your_token_here>

Ona Prompt

I want to migrate a GitLab CI pipeline to GitHub. 

Please do the following: Migrate the GitLab pipeline to GitHub actions, push the changes to a feature branch and create a new draft PR. Do not use the remote version of an existing branch. Run the GitHub actions workflow on the feature branch you created and iterate until it succeeds.

Migration instructions:
* Follow the best practices: https://docs.github.com/en/actions/tutorials/migrate-to-github-actions/manual-migrations/migrate-from-gitlab-cicd
* Make intelligent decisions on whether GitLab jobs should be migrated to GitHub Action "steps" or GitHub Action "jobs":
If the Gitlab Job's purpose is to make preparations for dependent jobs, make it a GitHub Action "step".
Otherwise, make it a GitHub Action "Job".

About

Mirror of GitLab fastapi-sample-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors