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

Migrate openshift 4-11 preset tracks to 4-17 preset pool #324

Open
1 of 18 tasks
ryanj opened this issue Oct 11, 2024 · 1 comment
Open
1 of 18 tasks

Migrate openshift 4-11 preset tracks to 4-17 preset pool #324

ryanj opened this issue Oct 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ryanj ryanj added the enhancement New feature or request label Oct 11, 2024
@ryanj
Copy link
Member Author

ryanj commented Oct 12, 2024

Migration outline

For each track:

  1. Pull for any outstanding changes:
instruqt track pull --force
  1. Commit changes to establish a fallback point:
git add . ; git commit -m 'pulling changes from instruqt'
  1. Update the track's track.yml file. Set the sandbox_preset to openshift-4-17:
sed -i '' 's/^sandbox_preset: openshift-411/sandbox_preset: openshift-4-17/' track.yml
  1. Rewrite links to the web console:
sed -i '' 's/crc-lgph7-master-0\.//g' 0?-*/assignment.md
  1. Review changes. Make sure step 4 worked as expected
git diff
  1. Push updates
instruqt track push
  1. Test the track:
instruqt track open
  1. If everything is working as expected, commit your changes and push:
git add . ; git commit -m 'moving track to OpenShift 4-17' ; git push origin master

Note any progress in the issue description (above): #323

NOTE: If you need to revert the changes, try running the following to reset the track back to step2:

git restore . ; instruqt track push

@ryanj ryanj changed the title Migrate openshift 4-11 tracks to 4-16 Migrate openshift 4-11 tracks to 4-17 Oct 16, 2024
@ryanj ryanj changed the title Migrate openshift 4-11 tracks to 4-17 Migrate openshift 4-11 preset tracks to 4-17 preset pool Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant