Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Linux presentation
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
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
Wirker Dávid Zoltán
Linux presentation
Commits
63e82e8f
Verified
Commit
63e82e8f
authored
4 years ago
by
Tóth Miklós Tibor
Browse files
Options
Downloads
Patches
Plain Diff
ci/cd fix
parent
d0b39a3f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-5
3 additions, 5 deletions
.gitlab-ci.yml
with
3 additions
and
5 deletions
.gitlab-ci.yml
+
3
−
5
View file @
63e82e8f
...
@@ -6,7 +6,6 @@ stages:
...
@@ -6,7 +6,6 @@ stages:
home
:
home
:
stage
:
deploy
stage
:
deploy
before_script
:
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
eval $(ssh-agent -s)
-
echo "$SSH" | tr -d '\r' | ssh-add -
-
echo "$SSH" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh/socket
-
mkdir -p ~/.ssh/socket
...
@@ -14,14 +13,13 @@ home:
...
@@ -14,14 +13,13 @@ home:
-
cp .magic_ssh_config ~/.ssh/config
-
cp .magic_ssh_config ~/.ssh/config
script
:
script
:
# AFS magic incoming
# AFS magic incoming
-
ssh mikewashere@centaur.sch.bme.hu cp /afs/sch.bme.hu/home/mikewashere/.system/mikewashere.keytab /tmp/
-
ssh mikewashere@centaur.sch.bme.hu cp /afs/sch.bme.hu/home/mikewashere/.system/mikewashere.keytab /tmp/
mikewashere.keytab
-
ssh mikewashere@centaur.sch.bme.hu kinit -k -t /tmp/mikewashere.keytab mikewashere
-
ssh mikewashere@centaur.sch.bme.hu kinit -k -t /tmp/mikewashere.keytab mikewashere
-
ssh mikewashere@centaur.sch.bme.hu rm /tmp/mikewashere.keytab
-
ssh mikewashere@centaur.sch.bme.hu rm /tmp/mikewashere.keytab
-
ssh mikewashere@centaur.sch.bme.hu aklog sch.bme.hu -k SCH.BME.HU
-
ssh mikewashere@centaur.sch.bme.hu aklog sch.bme.hu -k SCH.BME.HU
-
ssh mikewashere@centaur.sch.bme.hu mkdir -p ~/public_html/linux
-
ssh mikewashere@centaur.sch.bme.hu mkdir -p /home/mikewashere/public_html/linux
-
ls ~/.ssh/socket
# actual work
# actual work
-
scp -R . mikewashere@centaur.sch.bme.hu:
~
/public_html/linux/.
-
scp -R . mikewashere@centaur.sch.bme.hu:
/home/mikewashere
/public_html/linux/.
only
:
only
:
refs
:
refs
:
-
master
-
master
\ No newline at end of file
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