Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TDT4240 Tank Wars
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
Package 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
Snorre Skjellestad Kristiansen
TDT4240 Tank Wars
Commits
58280ac8
Commit
58280ac8
authored
1 year ago
by
Fredrik Fonn Hansen
Browse files
Options
Downloads
Plain Diff
Merge branch 'ci-environments' into 'main'
Add environment See merge request
!44
parents
c85ef436
c2670c32
No related branches found
Branches containing commit
No related tags found
1 merge request
!44
Add environment
Pipeline
#215082
passed
1 year ago
Stage: backend build
Stage: backend test
Stage: frontend test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-0
4 additions, 0 deletions
.gitlab-ci.yml
with
4 additions
and
0 deletions
.gitlab-ci.yml
+
4
−
0
View file @
58280ac8
...
...
@@ -100,6 +100,10 @@ Backend (NTNU-VM):
-
ssh-keyscan 10.212.26.72 >> ~/.ssh/known_hosts
-
ssh-keygen -p -f ~/.ssh/id_rsa
environment
:
name
:
production
url
:
http://10.212.26.72/
script
:
-
ssh -v -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ubuntu@10.212.26.72 -p 22 "bash /home/git/tdt4240-tank-wars/backend/vm.sh </dev/null >/dev/null 2>&1"
...
...
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