Skip to main content

Version control

Argonaut currently supports connecting to the following:

  • GitHub
  • GitLab (SaaS and self-hosted)

GitHub

To connect Argonaut to your GitHub repository:

  1. Click on the Settings icon ⚙ on the top right of the top nav.
  2. Click Version Control on the left pane.
  3. Scroll to GitHub.
  4. Click +.
  5. Click on the GitHub account you’d like to connect with Argonaut. You’ll host your sample application on this account.
  6. Click on Install to install ArgonautBot on your chosen GitHub account.
  7. Enter your password, and click on Confirm Password.
  8. On successfully connecting your GitHub account, you’ll be redirected to the Version Control page that shows your GitHub account.

Connect your GitHub account

You can now deploy any code that is a part of the connected repository using Argonaut.

GitLab SaaS

To connect Argonaut to your GitLab project:

  1. Click on the Settings icon ⚙ on the top right of the top nav.
  2. Click Version Control on the left pane.
  3. Scroll to GitLab.
  4. Click +.
  5. Click on the GitLab account you’d like to connect with Argonaut. Your application repo is on this account.
  6. Enter your password, and click on Confirm Password.
  7. On successfully connecting your GitLab account, you’ll be redirected to the Version Control page that shows the accessible GitLab projects.
  8. The permissions granted to Argonaut will be the same as the connected user's permissions.

GitLab self-hosted

For self-hosted GitLab, connect to Argonaut by doing this:

  1. Navigate to the Applications tab on the left sidebar.
  2. Click on Add Application and create an oauth application. This is for Argonaut to get OAuth access to GitLab.
    1. Name the application ArgonautBot.
    2. The application can be made confidential.
    3. Grant scope of api
    4. Redirect URI must be https://ship.argonaut.dev/auth/gitlab/callback.
    5. Save application Create GitLab OAuth app
  3. Note the GitLab application ID, GitLab application secret. GitLab app ID and secret
  4. Go to the Argonaut UI and click on the Settings icon ⚙ on the top right of the top nav.
  5. Select Version Control on the left pane.
  6. Scroll to GitLab.
  7. Click +.
  8. Connect GitLab and enter the application ID and secret noted from the earlier step in the advanced section.
  9. Enter your password, and click on Confirm Password.
  10. On successfully connecting your GitLab account, you’ll be redirected to the Version Control page that shows the accessible GitLab projects.

Connect your GitLab account

You can now deploy any code that is a part of the connected repository using Argonaut.