Skip to content

Commit

Permalink
TEMPORARY: run migrate.py on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Jan 6, 2025
1 parent af7fbd6 commit a208674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ COPY 99-tail-cron-logs.sh /etc/osg/image-init.d/

# OSG scripts for repo maintenance
COPY bin/* /usr/bin/
COPY migrate.py /usr/bin/migrate.py

COPY distrepos /usr/local/lib/python3.9/site-packages/distrepos

Expand Down
1 change: 1 addition & 0 deletions bin/k8s_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

# TODO: Delete this script once the initContainers have been removed from
# all repo instances.
python3 /usr/bin/migrate.py /data/repo/osg/23-* /data/repo/osg/24-*
exit 0

0 comments on commit a208674

Please sign in to comment.