Skip to content

Commit

Permalink
Adjust domain of test OC server to tobira-test-oc.ethz.ch
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed May 22, 2024
1 parent 0686824 commit 1c1db80
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .deployment/templates/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ secret_key = "/opt/tobira/secret-jwt-key.pem"
file = "/var/log/tobira/{{ id }}-${cmd}.log"

[opencast]
host = "https://oc.tobira.ethz.ch"
host = "https://tobira-test-oc.ethz.ch"

[sync]
user = "admin"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-db-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Adjust config for syncing
run: |
sed --in-place \
-e 's/host = "http:\/\/localhost:8081"/host = "https:\/\/oc.tobira.ethz.ch"/g' \
-e 's/host = "http:\/\/localhost:8081"/host = "https:\/\/tobira-test-oc.ethz.ch"/g' \
-e 's/password = "opencast"/password = "${{ secrets.TOBIRA_OPENCAST_ADMIN_PASSWORD }}"/g' \
-e 's/level = "trace"/level = "debug"/g' \
-e '/preferred_harvest_size/d' \
Expand Down
2 changes: 1 addition & 1 deletion util/dev-config/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# A separate config for syncing with oc.tobira.ethz.ch, containing the admin password.
# A separate config for syncing with tobira-test-oc.ethz.ch, containing the admin password.
sync-config.toml
2 changes: 1 addition & 1 deletion util/fixtures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ begin
'{}',
false,
'{}',
array[row('https://oc.tobira.ethz.ch/static/mh_default_org/moontour_narrated.en_US.vtt', 'en')]::event_caption[]
array[row('https://tobira-test-oc.ethz.ch/static/mh_default_org/moontour_narrated.en_US.vtt', 'en')]::event_caption[]
);

insert into events (state, opencast_id, title, tracks, thumbnail, duration, description, series, part_of, creators, created, updated, read_roles, write_roles, is_live, metadata, captions)
Expand Down

0 comments on commit 1c1db80

Please sign in to comment.