Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
customer-recall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tools
customer-recall
Commits
74deb2b5
Commit
74deb2b5
authored
Aug 15, 2025
by
yiling.shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add working GitLab CI configuration - basic deploy and test stages with SSH setup
parent
c52295cf
Pipeline
#3184
passed with stages
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
8 deletions
+31
-8
.gitlab-ci.yml
+31
-8
No files found.
.gitlab-ci.yml
View file @
74deb2b5
stages
:
# .gitlab-ci.yml
-
build
stages
:
-
deploy
-
test
-
test
build
:
deploy_to_production
:
stage
:
build
stage
:
deploy
image
:
alpine:latest
tags
:
-
jarvis
before_script
:
-
'
which
ssh-agent
||
(
apk
add
--update
--no-cache
openssh-client
)'
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$SSH_PRIVATE_KEY" > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
script
:
script
:
-
echo "Building project"
-
echo "Starting production deployment"
-
echo "Connecting to server"
-
echo "Deployment completed"
only
:
-
master
test
:
simple_
test
:
stage
:
test
stage
:
test
image
:
alpine:latest
tags
:
-
jarvis
script
:
script
:
-
echo "Running tests"
-
echo "Starting test"
\ No newline at end of file
-
echo "Test completed"
only
:
-
master
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment