Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
leximpact-server
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur dotations aux communes
leximpact-server
Commits
1382e752
Commit
1382e752
authored
4 years ago
by
benoit-cty
Browse files
Options
Downloads
Patches
Plain Diff
Try ssh
parent
d92c804c
No related branches found
Tags
integ
No related merge requests found
Pipeline
#50
failed
4 years ago
Stage: init
Stage: check
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-1
17 additions, 1 deletion
.gitlab-ci.yml
with
17 additions
and
1 deletion
.gitlab-ci.yml
+
17
−
1
View file @
1382e752
...
...
@@ -6,6 +6,7 @@ stages:
-
init
-
check
-
test
-
deploy
cache
:
untracked
:
true
...
...
@@ -81,4 +82,19 @@ compare_with_dgcl:
#- python3 ./tests/dotations/compare_with_dgcl.py
-
make test-dgcl
# TODO : deploy
deploy-integ
:
stage
:
deploy
script
:
#- 'which ssh-agent || ( apt-get install -qq openssh-client )'
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
-
mkdir -p ~/.ssh
#- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
-
ssh leximpact@$INTEGRATION_IP "ls && exit"
deploy-prod
:
stage
:
deploy
script
:
-
ls
# TODO: Deploy to prod
only
:
-
master
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