-
Notifications
You must be signed in to change notification settings - Fork 11
Swerc suggestions #32
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
Conversation
We typicly later branch from main to a dedicated branch but this should work most of the time.
There is a correlation between the restricted network and dedicated git repo this makes this very explicit.
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.
Changes look good. I wonder if we should but the EFI_ORDER as (commented out) thing in the group variables?
@@ -38,6 +38,7 @@ PHP_MAX_FILE_UPLOADS: 101 | |||
# Git repo URL | |||
DJ_GIT_HOST: "{{MAIN_ADMIN_IP}}" | |||
DJ_GIT_REPO: "domjudge@{{DJ_GIT_HOST}}:domjudge" | |||
DJ_GIT_REPO_UPSTREAM: "https://github.com/domjudge/domjudge.git" | |||
DJ_GIT_REPO_SCRIPTS: "domjudge@{{DJ_GIT_HOST}}:domjudge-scripts-bare" |
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.
Do we need a similar thing for this repo?
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.
I think it makes more sense to set the DJ_GIT_REPO
variable correctly depending on context, instead of duplicating the create working copy of the domjudge repo
task below.
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.
For the SCRIPTS? That probably relevant if we would have admin machines.,
I think we'll never use it but yes, I'll add it.
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.
And I agree with Jaap, just for fixing the script this was the quickest fix.
@@ -38,6 +38,7 @@ PHP_MAX_FILE_UPLOADS: 101 | |||
# Git repo URL | |||
DJ_GIT_HOST: "{{MAIN_ADMIN_IP}}" | |||
DJ_GIT_REPO: "domjudge@{{DJ_GIT_HOST}}:domjudge" | |||
DJ_GIT_REPO_UPSTREAM: "https://github.com/domjudge/domjudge.git" | |||
DJ_GIT_REPO_SCRIPTS: "domjudge@{{DJ_GIT_HOST}}:domjudge-scripts-bare" |
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.
I think it makes more sense to set the DJ_GIT_REPO
variable correctly depending on context, instead of duplicating the create working copy of the domjudge repo
task below.
@@ -93,6 +93,17 @@ | |||
- tig |
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.
Also need to fix the composer as we need the "hip" one which I now locally installed.
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.
I will merge this since I am setting up the SWERC server. I think it looks good but any more changes we can do later.
Lets first agree on which ones we want to keep and afterwards I can make the message useful.