Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ML_Security_ORAM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mahyar Vahabi
ML_Security_ORAM
Commits
3fe093f0
Commit
3fe093f0
authored
1 month ago
by
Mahyar Vahabi
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
d5ac9b3a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#617383
failed
1 month ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+56
-17
56 additions, 17 deletions
.gitlab-ci.yml
with
56 additions
and
17 deletions
.gitlab-ci.yml
+
56
−
17
View file @
3fe093f0
...
...
@@ -6,21 +6,60 @@
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages
:
-
build
-
test
-
deploy
-
review
-
dast
-
staging
-
canary
-
production
-
incremental rollout 10%
-
incremental rollout 25%
-
incremental rollout 50%
-
incremental rollout 100%
-
performance
-
cleanup
sast
:
-
build
-
test
-
deploy
-
review
-
dast
-
staging
-
canary
-
production
-
incremental rollout 10%
-
incremental rollout 25%
-
incremental rollout 50%
-
incremental rollout 100%
-
performance
-
cleanup
# Services
services
:
-
docker:dind
# Docker-in-Docker service for the CI jobs
variables
:
DOCKER_DRIVER
:
overlay2
before_script
:
-
docker info
# Confirm Docker is working
# Test Stage (replace Herokuish with pytest)
test
:
stage
:
test
include
:
-
template
:
Auto-DevOps.gitlab-ci.yml
image
:
python:3.8
# Python image
before_script
:
-
pip install -r requirements.txt
# Install dependencies
script
:
-
pytest
# Run tests with pytest
artifacts
:
paths
:
-
gl-code-quality-report.json
# Ensure this path matches your generated file
# Code Quality Job (Ensure Docker can pull image)
code_quality
:
stage
:
test
script
:
-
if [ -n "$CODECLIMATE_REGISTRY_USERNAME" ] && [ -n "$CODECLIMATE_REGISTRY_PASSWORD" ] && [ -n "$CODECLIMATE_PREFIX" ]; then
docker login -u "$CODECLIMATE_REGISTRY_USERNAME" -p "$CODECLIMATE_REGISTRY_PASSWORD" "$CODECLIMATE_PREFIX";
docker pull --quiet "$CODE_QUALITY_IMAGE";
fi
artifacts
:
paths
:
-
gl-code-quality-report.json
# Build Stage
build
:
stage
:
build
script
:
-
/build/build.sh
# Modify to match your actual build script
# Other stages...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment