Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dashboard
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
Container Registry
Model registry
Operate
Environments
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
AURA
dashboard
Commits
301ab4eb
Verified
Commit
301ab4eb
authored
1 year ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
ci: remove reload-service job
parent
1d1cdc75
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5588
failed
1 year ago
Stage: test
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-23
0 additions, 23 deletions
.gitlab-ci.yml
with
0 additions
and
23 deletions
.gitlab-ci.yml
+
0
−
23
View file @
301ab4eb
...
@@ -245,29 +245,6 @@ dashboard-docker-push:
...
@@ -245,29 +245,6 @@ dashboard-docker-push:
exists
:
exists
:
-
Dockerfile
-
Dockerfile
reload-service
:
image
:
alpine:latest
stage
:
release
needs
:
-
dashboard-docker-push
variables
:
SERVICE_NAME
:
dashboard
before_script
:
-
apk update
-
apk add openssh
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
script
:
-
ssh $SSH_AURA_RADIO_USER@$SSH_AURA_RADIO_HOST "cd $DOCKER_COMPOSE; docker compose stop $SERVICE_NAME && docker compose pull --quiet $SERVICE_NAME && docker compose up --build --detach $SERVICE_NAME"
rules
:
# every commit on master/main branch should trigger reload-service
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
release_job
:
release_job
:
stage
:
release
stage
:
release
needs
:
needs
:
...
...
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