capistrano / capistrano/capistrano

Capistrano 3.6.1 not deploying the latest revision if using a branch

Open
#2,024 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I've posted a similar issue several days ago but I am seeing weird behavior of Capistrano again when deploying different branch.

I want to test the deploymnet of my `maintenance` branch. I will use it whenever I want to turn off my application for the time of maitenance. I pushed the branch and this is my config.

`config/staging_maintenance.rb`
```
set :user, 'apps'

set :stage, :staging

set :deploy_to, "/home/#{fetch(:user)}/app/shop-#{fetch(:application)}/production/"
set :branch, 'maintenance'

server 'XXX.XXX.XXX',
user: 'apps',
roles: %w{web app db},
ssh_options: {
forward_agent: true,
port: 6667
}

namespace :npm do
task :build do
on roles(:app) do
execute "cd #{current_path} && npm install && npm run build"
end
end

task :restart do
on roles(:app) do
execute "sv restart /home/apps/runit/service/shop-lauber-frontend-web-1"
end
end
end

before 'deploy:cleanup', 'npm:build'
after :deploy, 'npm:restart'
```

The latest commit on this branch is `ae4980a47e0fdc8067d3d46683cf3464484b90eb`
```
git log
commit ae4980a47e0fdc8067d3d46683cf3464484b90eb (HEAD -> maintenance, origin/maintenance)
Author: Jędrek Domański
Date: Tue Jul 16 11:41:01 2019 +0200

Add maintenance page
```
In `current` folder I check it:
```
cat REVISION
ae4980a47e0fdc8067d3d46683cf3464484b90eb
```
In the stacktrace I can see that `current` folder is symlinked with `20190716095633` which is the latest release so I check it in `20190716095633` folder.

```
cd 20190716095633
cat REVISION
ae4980a47e0fdc8067d3d46683cf3464484b90eb
```
Everything fine.

But in `/repo` folder I do not see this commit:
```
git log
commit a9ca7b8687c4fd0a00225095f481ccd12d2aec7d
```
What's going on here?
This line confirms that the `maintenance` branch got deployed and the latest revision is at `ae4980a47e0fdc8067d3d46683cf3464484b90eb`
```
Running /usr/bin/env echo "Branch maintenance (at ae4980a47e0fdc8067d3d46683cf3464484b90eb) deployed as release 20190716095633 by jedrek" >> /home/apps/app/shop-lauber-frontend/production/revisions.log
```

I tried removing the `repo` folder and re-deploying but that didn't help. I shouldn't have to do that when I want to deploy a different branch, I think.

Full stacktrace.
```
cap staging_maintenance deploy --trace
** Invoke staging_maintenance (first_time)
** Execute staging_maintenance
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke deploy (first_time)
** Execute deploy
** Invoke deploy:starting (first_time)
** Execute deploy:starting
** Invoke deploy:check (first_time)
** Execute deploy:check
** Invoke git:check (first_time)
** Invoke git:wrapper (first_time)
** Execute git:wrapper
INFO [369ee64a] Running /usr/bin/env mkdir -p /tmp as apps@lauber_staging_apps
DEBUG [369ee64a] Command: /usr/bin/env mkdir -p /tmp
INFO [369ee64a] Finished in 0.197 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-lauber-frontend-staging-jedrek.sh 0.0%
INFO Uploading /tmp/git-ssh-lauber-frontend-staging-jedrek.sh 100.0%
INFO [58161a1b] Running /usr/bin/env chmod 700 /tmp/git-ssh-lauber-frontend-staging-jedrek.sh as apps@lauber_staging_apps
DEBUG [58161a1b] Command: /usr/bin/env chmod 700 /tmp/git-ssh-lauber-frontend-staging-jedrek.sh
INFO [58161a1b] Finished in 0.030 seconds with exit status 0 (successful).
** Execute git:check
INFO [2cec5909] Running /usr/bin/env git ls-remote --heads git@gitlab.com:lauber/lauber-frontend.git as apps@lauber_staging_apps
DEBUG [2cec5909] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-lauber-frontend-staging-jedrek.sh" ; /usr/bin/env git ls-remote --heads git@gitlab.com:lauber/lauber-frontend.git )
DEBUG [2cec5909] c30af359a8e0fa0494d842005d29cee8ab685ba6 refs/heads/LK-743-Headers-optimizations
b8b65e312245e409c11d40d5fc791f501f137505 refs/heads/LK-744-Add-meta-tags-and-meta-descriptions
a78d7aa366d944d24bccbe26a3563fbab0fbde53 refs/heads/LK-746-Friendly-urls
3cf9da5b998b22e45fb0bb409aeea3d91f4e4e42 refs/heads/LK-748-Images-alt-descriptions
23953e6d2a0bb7f8e71f73a9cbab0f92d2a32ba3 refs/heads/LK-750-Rich-snippets
be8ae00a1ae6da190effa3144d314039ed728077 refs/heads/LK-757-Add-subdomains-for-languages
3503c45fbf2475a7ae5cdb34227fd4e187fff031 refs/heads/LK-761-List-page-for-categories
17549a551c28f1fdd9b6688633af2b0ae327e3b9 refs/heads/LK-763-Title-and-short-description-for-part-page
67357f094433021d13577b4d84c038998064cb63 refs/heads/catalog
a9ca7b8687c4fd0a00225095f481ccd12d2aec7d refs/heads/dev
ae4980a47e0fdc8067d3d46683cf3464484b90eb refs/heads/maintenance
39f90d30754c32bd422c00df8139a8a369398864 refs/heads/master
8e12f9b452e7ba41c432554c68302a035e62a97a refs/heads/properties
8ce29ee1dfe13828188e5d5b0275e211dc9f4032 refs/heads/shop
5becebcddb8d39ffcdc84a3b33af2c3a47e23db1 refs/heads/test-deploy-branch
ae3ea93e749c99d4d2e17986b6afe35b23c5b5b3 refs/heads/vehicles
INFO [2cec5909] Finished in 1.935 seconds with exit status 0 (successful).
** Invoke deploy:check:directories (first_time)
** Execute deploy:check:directories
INFO [f5dc0064] Running /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/shared /home/apps/app/shop-lauber-frontend/production/releases as apps@lauber_staging_apps
DEBUG [f5dc0064] Command: /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/shared /home/apps/app/shop-lauber-frontend/production/releases
INFO [f5dc0064] Finished in 0.054 seconds with exit status 0 (successful).
** Invoke deploy:check:linked_dirs (first_time)
** Execute deploy:check:linked_dirs
INFO [eb1b103b] Running /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/shared/app/translations as apps@lauber_staging_apps
DEBUG [eb1b103b] Command: /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/shared/app/translations
INFO [eb1b103b] Finished in 0.044 seconds with exit status 0 (successful).
** Invoke deploy:check:make_linked_dirs (first_time)
** Execute deploy:check:make_linked_dirs
INFO [e2d9aad2] Running /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/shared as apps@lauber_staging_apps
DEBUG [e2d9aad2] Command: /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/shared
INFO [e2d9aad2] Finished in 0.033 seconds with exit status 0 (successful).
** Invoke deploy:check:linked_files (first_time)
** Execute deploy:check:linked_files
DEBUG [fcdc4bc7] Running [ -f /home/apps/app/shop-lauber-frontend/production/shared/.env ] as apps@lauber_staging_apps
DEBUG [fcdc4bc7] Command: [ -f /home/apps/app/shop-lauber-frontend/production/shared/.env ]
DEBUG [fcdc4bc7] Finished in 0.040 seconds with exit status 0 (successful).
** Invoke deploy:set_previous_revision (first_time)
** Execute deploy:set_previous_revision
DEBUG [3d625fcc] Running [ -f /home/apps/app/shop-lauber-frontend/production/current/REVISION ] as apps@lauber_staging_apps
DEBUG [3d625fcc] Command: [ -f /home/apps/app/shop-lauber-frontend/production/current/REVISION ]
DEBUG [3d625fcc] Finished in 0.036 seconds with exit status 0 (successful).
DEBUG [f9e1d833] Running /usr/bin/env cat /home/apps/app/shop-lauber-frontend/production/current/REVISION 2>/dev/null as apps@lauber_staging_apps
DEBUG [f9e1d833] Command: /usr/bin/env cat /home/apps/app/shop-lauber-frontend/production/current/REVISION 2>/dev/null
DEBUG [f9e1d833] ae4980a47e0fdc8067d3d46683cf3464484b90eb
DEBUG [f9e1d833] Finished in 0.037 seconds with exit status 0 (successful).
** Invoke deploy:started (first_time)
** Execute deploy:started
** Invoke deploy:updating (first_time)
** Invoke deploy:new_release_path (first_time)
** Execute deploy:new_release_path
** Execute deploy:updating
** Invoke git:create_release (first_time)
** Invoke git:update (first_time)
** Invoke git:clone (first_time)
** Invoke git:wrapper
** Execute git:clone
DEBUG [95d1cb23] Running [ -f /home/apps/app/shop-lauber-frontend/production/repo/HEAD ] as apps@lauber_staging_apps
DEBUG [95d1cb23] Command: [ -f /home/apps/app/shop-lauber-frontend/production/repo/HEAD ]
DEBUG [95d1cb23] Finished in 0.042 seconds with exit status 1 (failed).
DEBUG [4c74af74] Running if test ! -d /home/apps/app/shop-lauber-frontend/production/; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/'" 1>&2; false; fi as apps@lauber_staging_apps
DEBUG [4c74af74] Command: if test ! -d /home/apps/app/shop-lauber-frontend/production/; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/'" 1>&2; false; fi
DEBUG [4c74af74] Finished in 0.028 seconds with exit status 0 (successful).
INFO [84b88465] Running /usr/bin/env git clone --mirror git@gitlab.com:lauber/lauber-frontend.git /home/apps/app/shop-lauber-frontend/production/repo as apps@lauber_staging_apps
DEBUG [84b88465] Command: cd /home/apps/app/shop-lauber-frontend/production/ && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-lauber-frontend-staging-jedrek.sh" ; /usr/bin/env git clone --mirror git@gitlab.com:lauber/lauber-frontend.git /home/apps/app/shop-lauber-frontend/production/repo )
DEBUG [84b88465] Cloning into bare repository '/home/apps/app/shop-lauber-frontend/production/repo'...
INFO [84b88465] Finished in 3.703 seconds with exit status 0 (successful).
** Execute git:update
DEBUG [40598fa6] Running if test ! -d /home/apps/app/shop-lauber-frontend/production/repo; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/repo'" 1>&2; false; fi as apps@lauber_staging_apps
DEBUG [40598fa6] Command: if test ! -d /home/apps/app/shop-lauber-frontend/production/repo; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/repo'" 1>&2; false; fi
DEBUG [40598fa6] Finished in 0.028 seconds with exit status 0 (successful).
INFO [7adc4720] Running /usr/bin/env git remote update --prune as apps@lauber_staging_apps
DEBUG [7adc4720] Command: cd /home/apps/app/shop-lauber-frontend/production/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-lauber-frontend-staging-jedrek.sh" ; /usr/bin/env git remote update --prune )
DEBUG [7adc4720] Fetching origin
INFO [7adc4720] Finished in 1.859 seconds with exit status 0 (successful).
** Execute git:create_release
DEBUG [57aafb8d] Running if test ! -d /home/apps/app/shop-lauber-frontend/production/repo; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/repo'" 1>&2; false; fi as apps@lauber_staging_apps
DEBUG [57aafb8d] Command: if test ! -d /home/apps/app/shop-lauber-frontend/production/repo; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/repo'" 1>&2; false; fi
DEBUG [57aafb8d] Finished in 0.030 seconds with exit status 0 (successful).
INFO [43491504] Running /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 as apps@lauber_staging_apps
DEBUG [43491504] Command: cd /home/apps/app/shop-lauber-frontend/production/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-lauber-frontend-staging-jedrek.sh" ; /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 )
INFO [43491504] Finished in 0.028 seconds with exit status 0 (successful).
INFO [060ab6fb] Running /usr/bin/env git archive maintenance | tar -x -f - -C /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 as apps@lauber_staging_apps
DEBUG [060ab6fb] Command: cd /home/apps/app/shop-lauber-frontend/production/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-lauber-frontend-staging-jedrek.sh" ; /usr/bin/env git archive maintenance | tar -x -f - -C /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 )
INFO [060ab6fb] Finished in 0.079 seconds with exit status 0 (successful).
** Invoke deploy:set_current_revision (first_time)
** Execute deploy:set_current_revision
** Invoke git:set_current_revision (first_time)
** Execute git:set_current_revision
DEBUG [26e96c62] Running if test ! -d /home/apps/app/shop-lauber-frontend/production/repo; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/repo'" 1>&2; false; fi as apps@lauber_staging_apps
DEBUG [26e96c62] Command: if test ! -d /home/apps/app/shop-lauber-frontend/production/repo; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/repo'" 1>&2; false; fi
DEBUG [26e96c62] Finished in 0.029 seconds with exit status 0 (successful).
DEBUG [bf7d7c18] Running /usr/bin/env git rev-list --max-count=1 maintenance as apps@lauber_staging_apps
DEBUG [bf7d7c18] Command: cd /home/apps/app/shop-lauber-frontend/production/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-lauber-frontend-staging-jedrek.sh" ; /usr/bin/env git rev-list --max-count=1 maintenance )
DEBUG [bf7d7c18] ae4980a47e0fdc8067d3d46683cf3464484b90eb
DEBUG [bf7d7c18] Finished in 0.038 seconds with exit status 0 (successful).
DEBUG [97768c0c] Running if test ! -d /home/apps/app/shop-lauber-frontend/production/releases/20190716095633; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/releases/20190716095633'" 1>&2; false; fi as apps@lauber_staging_apps
DEBUG [97768c0c] Command: if test ! -d /home/apps/app/shop-lauber-frontend/production/releases/20190716095633; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/releases/20190716095633'" 1>&2; false; fi
DEBUG [97768c0c] Finished in 0.030 seconds with exit status 0 (successful).
INFO [10243c88] Running /usr/bin/env echo "ae4980a47e0fdc8067d3d46683cf3464484b90eb" >> REVISION as apps@lauber_staging_apps
DEBUG [10243c88] Command: cd /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 && /usr/bin/env echo "ae4980a47e0fdc8067d3d46683cf3464484b90eb" >> REVISION
INFO [10243c88] Finished in 0.026 seconds with exit status 0 (successful).
** Invoke deploy:symlink:shared (first_time)
** Execute deploy:symlink:shared
** Invoke deploy:symlink:linked_files (first_time)
** Execute deploy:symlink:linked_files
INFO [596b772e] Running /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 as apps@lauber_staging_apps
DEBUG [596b772e] Command: /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/releases/20190716095633
INFO [596b772e] Finished in 0.036 seconds with exit status 0 (successful).
DEBUG [e97c56df] Running [ -L /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/.env ] as apps@lauber_staging_apps
DEBUG [e97c56df] Command: [ -L /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/.env ]
DEBUG [e97c56df] Finished in 0.029 seconds with exit status 1 (failed).
DEBUG [ecae4727] Running [ -f /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/.env ] as apps@lauber_staging_apps
DEBUG [ecae4727] Command: [ -f /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/.env ]
DEBUG [ecae4727] Finished in 0.026 seconds with exit status 1 (failed).
INFO [3a12362e] Running /usr/bin/env ln -s /home/apps/app/shop-lauber-frontend/production/shared/.env /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/.env as apps@lauber_staging_apps
DEBUG [3a12362e] Command: /usr/bin/env ln -s /home/apps/app/shop-lauber-frontend/production/shared/.env /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/.env
INFO [3a12362e] Finished in 0.027 seconds with exit status 0 (successful).
** Invoke deploy:symlink:linked_dirs (first_time)
** Execute deploy:symlink:linked_dirs
INFO [be63af56] Running /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app as apps@lauber_staging_apps
DEBUG [be63af56] Command: /usr/bin/env mkdir -p /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app
INFO [be63af56] Finished in 0.033 seconds with exit status 0 (successful).
DEBUG [6c7fae39] Running [ -L /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations ] as apps@lauber_staging_apps
DEBUG [6c7fae39] Command: [ -L /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations ]
DEBUG [6c7fae39] Finished in 0.033 seconds with exit status 1 (failed).
DEBUG [19b38b1c] Running [ -d /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations ] as apps@lauber_staging_apps
DEBUG [19b38b1c] Command: [ -d /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations ]
DEBUG [19b38b1c] Finished in 0.026 seconds with exit status 0 (successful).
INFO [ae061a62] Running /usr/bin/env rm -rf /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations as apps@lauber_staging_apps
DEBUG [ae061a62] Command: /usr/bin/env rm -rf /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations
INFO [ae061a62] Finished in 0.033 seconds with exit status 0 (successful).
INFO [c6098e0a] Running /usr/bin/env ln -s /home/apps/app/shop-lauber-frontend/production/shared/app/translations /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations as apps@lauber_staging_apps
DEBUG [c6098e0a] Command: /usr/bin/env ln -s /home/apps/app/shop-lauber-frontend/production/shared/app/translations /home/apps/app/shop-lauber-frontend/production/releases/20190716095633/app/translations
INFO [c6098e0a] Finished in 0.032 seconds with exit status 0 (successful).
** Invoke deploy:updated (first_time)
** Execute deploy:updated
** Invoke deploy:publishing (first_time)
** Execute deploy:publishing
** Invoke deploy:symlink:release (first_time)
** Execute deploy:symlink:release
INFO [a829eb28] Running /usr/bin/env ln -s /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 /home/apps/app/shop-lauber-frontend/production/releases/current as apps@lauber_staging_apps
DEBUG [a829eb28] Command: /usr/bin/env ln -s /home/apps/app/shop-lauber-frontend/production/releases/20190716095633 /home/apps/app/shop-lauber-frontend/production/releases/current
INFO [a829eb28] Finished in 0.033 seconds with exit status 0 (successful).
INFO [ea9678db] Running /usr/bin/env mv /home/apps/app/shop-lauber-frontend/production/releases/current /home/apps/app/shop-lauber-frontend/production as apps@lauber_staging_apps
DEBUG [ea9678db] Command: /usr/bin/env mv /home/apps/app/shop-lauber-frontend/production/releases/current /home/apps/app/shop-lauber-frontend/production
INFO [ea9678db] Finished in 0.033 seconds with exit status 0 (successful).
** Invoke deploy:published (first_time)
** Execute deploy:published
** Invoke deploy:finishing (first_time)
** Execute deploy:finishing
** Invoke deploy:cleanup (first_time)
** Invoke npm:build (first_time)
** Execute npm:build
INFO [f201f661] Running cd /home/apps/app/shop-lauber-frontend/production/current && npm install && npm run build as apps@lauber_staging_apps
DEBUG [f201f661] Command: cd /home/apps/app/shop-lauber-frontend/production/current && npm install && npm run build
DEBUG [f201f661] [1270] multi main 28 bytes {49} [built]
[1645] ./app/assets/images/categories ^\.\/offer\-.*\.png$ 540 bytes {3} [built]
+ 1924 hidden modules
INFO [f201f661] Finished in 135.148 seconds with exit status 0 (successful).
** Execute deploy:cleanup
DEBUG [fd08ea68] Running /usr/bin/env ls -xtr /home/apps/app/shop-lauber-frontend/production/releases as apps@lauber_staging_apps
DEBUG [fd08ea68] Command: /usr/bin/env ls -xtr /home/apps/app/shop-lauber-frontend/production/releases
DEBUG [fd08ea68] 20190713174243 20190714102128 20190714112758 20190714120526 20190716094355
20190716095633
DEBUG [fd08ea68] Finished in 0.032 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on lauber_staging_apps
INFO [3870b394] Running /usr/bin/env rm -rf /home/apps/app/shop-lauber-frontend/production/releases/20190713174243 as apps@lauber_staging_apps
DEBUG [3870b394] Command: /usr/bin/env rm -rf /home/apps/app/shop-lauber-frontend/production/releases/20190713174243
INFO [3870b394] Finished in 0.888 seconds with exit status 0 (successful).
** Invoke deploy:finished (first_time)
** Execute deploy:finished
** Invoke deploy:log_revision (first_time)
** Execute deploy:log_revision
DEBUG [6d3b37ab] Running if test ! -d /home/apps/app/shop-lauber-frontend/production/releases; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/releases'" 1>&2; false; fi as apps@lauber_staging_apps
DEBUG [6d3b37ab] Command: if test ! -d /home/apps/app/shop-lauber-frontend/production/releases; then echo "Directory does not exist '/home/apps/app/shop-lauber-frontend/production/releases'" 1>&2; false; fi
DEBUG [6d3b37ab] Finished in 0.031 seconds with exit status 0 (successful).
INFO [decb2f7e] Running /usr/bin/env echo "Branch maintenance (at ae4980a47e0fdc8067d3d46683cf3464484b90eb) deployed as release 20190716095633 by jedrek" >> /home/apps/app/shop-lauber-frontend/production/revisions.log as apps@lauber_staging_apps
DEBUG [decb2f7e] Command: cd /home/apps/app/shop-lauber-frontend/production/releases && /usr/bin/env echo "Branch maintenance (at ae4980a47e0fdc8067d3d46683cf3464484b90eb) deployed as release 20190716095633 by jedrek" >> /home/apps/app/shop-lauber-frontend/production/revisions.log
INFO [decb2f7e] Finished in 0.031 seconds with exit status 0 (successful).
** Invoke npm:restart (first_time)
** Execute npm:restart
INFO [4c2fc718] Running sv restart /home/apps/runit/service/shop-lauber-frontend-web-1 as apps@lauber_staging_apps
DEBUG [4c2fc718] Command: sv restart /home/apps/runit/service/shop-lauber-frontend-web-1
DEBUG [4c2fc718] ok: run: /home/apps/runit/service/shop-lauber-frontend-web-1: (pid 14835) 1s
INFO [4c2fc718] Finished in 0.451 seconds with exit status 0 (successful).
```

Contributor guide

Open the contributing guide

Research direction

Start with config/staging_maintenance.rb and the deployment trace, then read the git:update, git:create_release, and git:clone tasks around the repo mirror and git archive maintenance command. Compare the branch revision reported in REVISION with the commit available under repo; done means deployments of the maintenance branch consistently produce the expected latest revision without deleting repo.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, ruby
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.