-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Cicognara] Removes inventory files #5655
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,6 @@ | |
# defaults file for roles/libstatic | ||
running_on_server: true | ||
named_sites: | ||
- server_name: 'cicognara-staging.lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we want cicognara staging to continue to run. |
||
site_name: 'cicognara-staging.lib' | ||
doc_root: '/var/local/digital-cicognara-library/apps/cicognara-static/_site' | ||
repo_root: '/var/local/digital-cicognara-library' | ||
git_repo: 'https://github.com/pulibrary/digital-cicognara-library.git' | ||
version: 'main' | ||
- server_name: "daviesproject-staging.lib" | ||
site_name: "daviesproject-staging.lib" | ||
doc_root: "/var/local/daviesproject/_site" | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
--- | ||
# by default this playbook runs in the staging environment | ||
# to run in production, pass '-e runtime_env=production' | ||
- name: build the cicognara site | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This playbook can be deleted entirely. We do not want to build a standalone cicognara site any more. |
||
hosts: cicognara_{{ runtime_env | default('staging') }} | ||
remote_user: pulsys | ||
become: true | ||
vars_files: | ||
- ../site_vars.yml | ||
- ../group_vars/cicognara/{{ runtime_env | default('staging') }}.yml | ||
- ../group_vars/cicognara/vault.yml | ||
roles: | ||
roles: | ||
- role: roles/redis | ||
- role: roles/ruby | ||
- role: roles/deploy_user | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,6 @@ named_sites: | |
repo_root: "/var/local/milberg" | ||
git_repo: 'https://github.com/pulibrary/milberg-wp.git' | ||
version: 'main' | ||
- server_name: 'cicognara-staging.lib' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we want this to stay. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. anything in libstatic should stay |
||
site_name: 'cicognara-staging.lib' | ||
doc_root: '/var/local/digital-cicognara-library/apps/cicognara-static/_site' | ||
repo_root: '/var/local/digital-cicognara-library' | ||
git_repo: 'https://github.com/pulibrary/digital-cicognara-library.git' | ||
version: 'main' | ||
- server_name: 'daviesproject-staging.lib' | ||
site_name: 'daviesproject-staging.lib' | ||
doc_root: '/var/local/daviesproject/_site' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,6 @@ upstream static-staging { | |
zone=static-stagingclient_sessions:1m; | ||
} | ||
|
||
server { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these need to stay also |
||
listen 80; | ||
server_name cicognara-staging.lib.princeton.edu; | ||
|
||
location / { | ||
return 301 https://cicognara-staging.lib.princeton.edu$request_uri; | ||
} | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name daviesproject-staging.lib.princeton.edu; | ||
|
@@ -47,20 +38,6 @@ server { | |
} | ||
} | ||
|
||
server { | ||
listen 443 ssl; | ||
http2 on; | ||
server_name cicognara-staging.lib.princeton.edu; | ||
|
||
ssl_certificate /etc/letsencrypt/live/cicognara-staging.lib/fullchain.pem; | ||
ssl_certificate_key /etc/letsencrypt/live/cicognara-staging.lib/privkey.pem; | ||
ssl_session_cache shared:SSL:1m; | ||
ssl_prefer_server_ciphers on; | ||
|
||
location ~ ^/catalog/(\d+)$ { | ||
return 301 /catalogo/itempages/$1.html; | ||
} | ||
|
||
location / { | ||
app_protect_enable off; | ||
app_protect_security_log_enable off; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,7 +132,3 @@ | |
# lae redirects | ||
# | ||
rewrite ^/collections/pudl0025(.*)$ https://lae.princeton.edu$1 redirect; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will remove cicognara |
||
# cicognara redirects | ||
# | ||
rewrite ^/collections/pudl0134(.*)$ https://cicognara.org$1 redirect; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
won't this bring down cicognara?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, the entries in libstatic need to stay