Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use relative path for logs as the script runs in the staging directory #221

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

elrayle
Copy link
Contributor

@elrayle elrayle commented Feb 26, 2020

Makes fixes that I think are needed including...

  • remove command to create /var/app/current/log directory
  • make comment lines indent the same as preceding lines to have valid iml
  • don't need sudo as the script runs as root user
  • use relative path since script executes in staging directory

@elrayle elrayle merged commit a27bf85 into dev Feb 26, 2020
@elrayle elrayle deleted the remove/sidekiq_perm branch February 26, 2020 21:40
elrayle added a commit that referenced this pull request Mar 3, 2020
sprockets 4 is incompatible with font-awesome 4.5.  It is compatible with font-awesome 5.12.

Ref:

FortAwesome/font-awesome-sass@b8dd32c

rails/sprockets-rails#269

rails/sprockets-rails#333

create directory before files

use relative path for logs as the script runs in the staging directory

delete sidekiq_permissions

add version to footer

Revert "Merge pull request #223 from cul-it/remove_sidekiq_perm"

This reverts commit 9a79fe9, reversing
changes made to a27bf85.

Revert "Merge pull request #221 from cul-it/remove/sidekiq_perm"

This reverts commit a27bf85, reversing
changes made to 4ec6261.

Revert "Merge pull request #220 from cul-it/tweak/sidekiq_perm"

This reverts commit 4ec6261, reversing
changes made to 2e78d3f.
elrayle added a commit that referenced this pull request Mar 3, 2020
Revert "use container_commands instead of commands for update_bundler"

This reverts commit 6a77206.

tmp pin of sprockets

sprockets 4 is incompatible with font-awesome 4.5.  It is compatible with font-awesome 5.12.

Ref:

FortAwesome/font-awesome-sass@b8dd32c

rails/sprockets-rails#269

rails/sprockets-rails#333

create directory before files

use relative path for logs as the script runs in the staging directory

delete sidekiq_permissions

add version to footer

Revert "Merge pull request #223 from cul-it/remove_sidekiq_perm"

This reverts commit 9a79fe9, reversing
changes made to a27bf85.

Revert "Merge pull request #221 from cul-it/remove/sidekiq_perm"

This reverts commit a27bf85, reversing
changes made to 4ec6261.

Revert "Merge pull request #220 from cul-it/tweak/sidekiq_perm"

This reverts commit 4ec6261, reversing
changes made to 2e78d3f.

Revert "Merge pull request #217 from cul-it/update/bundler"

This reverts commit 559a61d, reversing
changes made to 7f0885c.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.
elrayle added a commit that referenced this pull request Mar 3, 2020
use container_commands instead of commands for update_bundler

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 6a77206.

tmp pin of sprockets

sprockets 4 is incompatible with font-awesome 4.5.  It is compatible with font-awesome 5.12.

Ref:

FortAwesome/font-awesome-sass@b8dd32c

rails/sprockets-rails#269

rails/sprockets-rails#333

create directory before files

use relative path for logs as the script runs in the staging directory

delete sidekiq_permissions

add version to footer

Revert "Merge pull request #223 from cul-it/remove_sidekiq_perm"

This reverts commit 9a79fe9, reversing
changes made to a27bf85.

Revert "Merge pull request #221 from cul-it/remove/sidekiq_perm"

This reverts commit a27bf85, reversing
changes made to 4ec6261.

Revert "Merge pull request #220 from cul-it/tweak/sidekiq_perm"

This reverts commit 4ec6261, reversing
changes made to 2e78d3f.

Revert "Merge pull request #217 from cul-it/update/bundler"

This reverts commit 559a61d, reversing
changes made to 7f0885c.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 5643d2d.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c1b9354.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.
elrayle added a commit that referenced this pull request Mar 3, 2020
remove refs to find_alternate_resource_for_image

The perform_pretest already lists out alternate resources for the upload_id, and the method wasn’t actually implemented.  So it was removed from the ResourceDeleteService.

update bundler to 2.1.4 for ruby 2.5.5

use container_commands instead of commands for update_bundler

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 6a77206.

tmp pin of sprockets

sprockets 4 is incompatible with font-awesome 4.5.  It is compatible with font-awesome 5.12.

Ref:

FortAwesome/font-awesome-sass@b8dd32c

rails/sprockets-rails#269

rails/sprockets-rails#333

create directory before files

use relative path for logs as the script runs in the staging directory

delete sidekiq_permissions

add version to footer

Revert "Merge pull request #223 from cul-it/remove_sidekiq_perm"

This reverts commit 9a79fe9, reversing
changes made to a27bf85.

Revert "Merge pull request #221 from cul-it/remove/sidekiq_perm"

This reverts commit a27bf85, reversing
changes made to 4ec6261.

Revert "Merge pull request #220 from cul-it/tweak/sidekiq_perm"

This reverts commit 4ec6261, reversing
changes made to 2e78d3f.

Revert "Merge pull request #217 from cul-it/update/bundler"

This reverts commit 559a61d, reversing
changes made to 7f0885c.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 5643d2d.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c1b9354.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c720133.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.
elrayle added a commit that referenced this pull request Mar 3, 2020
Update footer - remove library resources links

script to chmod logs for sidekiq access

update security vulnerabilities

also updates ruby to 2.5.5

only create and chmod log for actual deploy environment

remove refs to find_alternate_resource_for_image

The perform_pretest already lists out alternate resources for the upload_id, and the method wasn’t actually implemented.  So it was removed from the ResourceDeleteService.

update bundler to 2.1.4 for ruby 2.5.5

use container_commands instead of commands for update_bundler

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 6a77206.

tmp pin of sprockets

sprockets 4 is incompatible with font-awesome 4.5.  It is compatible with font-awesome 5.12.

Ref:

FortAwesome/font-awesome-sass@b8dd32c

rails/sprockets-rails#269

rails/sprockets-rails#333

create directory before files

use relative path for logs as the script runs in the staging directory

delete sidekiq_permissions

add version to footer

Revert "Merge pull request #223 from cul-it/remove_sidekiq_perm"

This reverts commit 9a79fe9, reversing
changes made to a27bf85.

Revert "Merge pull request #221 from cul-it/remove/sidekiq_perm"

This reverts commit a27bf85, reversing
changes made to 4ec6261.

Revert "Merge pull request #220 from cul-it/tweak/sidekiq_perm"

This reverts commit 4ec6261, reversing
changes made to 2e78d3f.

Revert "Merge pull request #217 from cul-it/update/bundler"

This reverts commit 559a61d, reversing
changes made to 7f0885c.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 5643d2d.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c1b9354.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c720133.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.

Revert "only create and chmod log for actual deploy environment"

This reverts commit 94659f3.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.
elrayle added a commit that referenced this pull request Mar 3, 2020
remove has_many :owned_taggings

fixes error…
`has_many :through association 'Spotlight::Exhibit#owned_tags' which goes through 'Spotlight::Exhibit#owned_taggings’`

add data integrity cleanup scripts

add instructions to start sidekiq

refine scripts that help explore data

update dependencies

Update footer - remove library resources links

script to chmod logs for sidekiq access

update security vulnerabilities

also updates ruby to 2.5.5

only create and chmod log for actual deploy environment

remove refs to find_alternate_resource_for_image

The perform_pretest already lists out alternate resources for the upload_id, and the method wasn’t actually implemented.  So it was removed from the ResourceDeleteService.

update bundler to 2.1.4 for ruby 2.5.5

use container_commands instead of commands for update_bundler

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 6a77206.

tmp pin of sprockets

sprockets 4 is incompatible with font-awesome 4.5.  It is compatible with font-awesome 5.12.

Ref:

FortAwesome/font-awesome-sass@b8dd32c

rails/sprockets-rails#269

rails/sprockets-rails#333

create directory before files

use relative path for logs as the script runs in the staging directory

delete sidekiq_permissions

add version to footer

Revert "Merge pull request #223 from cul-it/remove_sidekiq_perm"

This reverts commit 9a79fe9, reversing
changes made to a27bf85.

Revert "Merge pull request #221 from cul-it/remove/sidekiq_perm"

This reverts commit a27bf85, reversing
changes made to 4ec6261.

Revert "Merge pull request #220 from cul-it/tweak/sidekiq_perm"

This reverts commit 4ec6261, reversing
changes made to 2e78d3f.

Revert "Merge pull request #217 from cul-it/update/bundler"

This reverts commit 559a61d, reversing
changes made to 7f0885c.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "use container_commands instead of commands for update_bundler"

This reverts commit 5643d2d.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c1b9354.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.

Revert "update bundler to 2.1.4 for ruby 2.5.5"

This reverts commit c720133.

Revert "Merge pull request #215 from cul-it/fix/missing_script_method2"

This reverts commit 7f0885c, reversing
changes made to a6c00c3.

Revert "Merge pull request #214 from cul-it/refactor/permissions_script"

This reverts commit a6c00c3, reversing
changes made to 37b1622.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "Merge pull request #200 from cul-it/debug_stg"

This reverts commit 0863a55, reversing
changes made to 32df230.

Revert "only create and chmod log for actual deploy environment"

This reverts commit 94659f3.

Revert "Merge pull request #212 from cul-it/update/dev_dependencies"

This reverts commit 37b1622, reversing
changes made to 1717a52.

Revert "Merge pull request #211 from cul-it/sidekiq/permissions"

This reverts commit 1717a52, reversing
changes made to 1cd0997.

Revert "Merge pull request #207 from cul-it/footer"

This reverts commit 1cd0997, reversing
changes made to 0863a55.

Revert "update dependencies"

This reverts commit fd20fe6.

Revert "refine scripts that help explore data"

This reverts commit 7cd49f7.

Revert "add instructions to start sidekiq"

This reverts commit 0236f3b.

Revert "add data integrity cleanup scripts"

This reverts commit d8bcb50.

Revert "remove has_many :owned_taggings"

This reverts commit ec9e8f4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant