After you obtained the API integration key and completed project and branch creation, next is to seamlessly integrate ArmourZero's AI-powered Code Scan into your GitLab.
Integration guide
1. Go to Code menu and click "Integrate" button.
2. Here you can also able to obtain your API Key by clicking Copy API Key.
3. Follow this video to add CI/CD Variables in your GitLab repository.
In your GitLab repository, go to "Settings" > "CI / CD" > "Variables." Add a variable named AZ_TOKEN with your ArmourZero API key.
4. Create GitLab CI/CD Configuration File
Create a new file in your repository named .gitlab-ci.yml and copy the provided configuration.
5. Commit and Push
Save the changes to the .gitlab-ci.yml file. Commit and push the changes to your GitLab repository.
6. Monitor Pipelines
Go to your GitLab repository. Click on "CI / CD" > "Pipelines." You'll see the status of your pipeline. Click on it to view details.