Docker container for interacting with the xbt-ai Gitlab plugin.
2.5K
This a container to use the Gilab AI Service plugin.
To run the container and execute the script, use the following command:
docker run --rm \
-e API_KEY=${API_KEY} \
-e API_URL=${API_URL} \
-e ACTION=${ACTION} \
-e STEPS_TO_ANALYZE=${STEPS_TO_ANALYZE} \
-e CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME} \
-e CI_PROJECT_ID=${CI_PROJECT_ID} \
-e CI_PIPELINE_ID=${CI_PIPELINE_ID} \
-e CI_COMMIT_SHA=${CI_COMMIT_SHA} \
-e LANGUAGE_FOCUS=${LANGUAGE_FOCUS} \
xibitdigital/xbt-ai-gitlab-plugin:v.1.2.2
Replace the values after each -e flag with your actual data. Here's what each environment variable means:
API_KEY: Your API key for authenticationAPI_URL: The URL of the API you're interacting with (use this for beta testers only)ACTION: The action to be performed (as required by your API)STEPS_TO_ANALYZE: The name of the previous job step (comma separated Ex: plan_dev,deploy_dev)CI_COMMIT_REF_NAME: The name of the Git branchCI_PROJECT_ID: The ID of your projectCI_PIPELINE_ID: The ID of the current pipelineCI_COMMIT_SHA: The SHA of the commitLANGUAGE_FOCUS: (Optional) Specifies languages or area to focus on during analysis or review. Leave empty if not applicable.The following languages and their associated file extensions are supported by the script:
.py, .pyc, .pyo, .pyd, .pyw, .pyz, .pyx, .pxd, .pxi, .pyp.c, .h, .o, .a, .so.cpp, .hpp, .cc, .cxx, .hxx, .hh, .o, .a, .so.java, .class, .jar.js, .mjs, .cjs, .jsx.ts, .tsx.html, .htm.css, .scss, .sass, .less.rb, .erb, .rake, .gemspec.php, .php3, .php4, .php5, .phtml.swift.go.kt, .kts.rs, .rlib.md, .markdown.yaml, .yml.tf, .tf.json, .hcl.hcl, .hcl.jsonIf you encounter any issues:
For any persistent issues, please contact [email protected]
Content type
Image
Digest
sha256:d124d2184…
Size
8.1 MB
Last updated
about 2 years ago
docker pull xibitdigital/xbt-ai-gitlab-plugin