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

Rebase generic off monolithic #112

Merged
merged 4 commits into from
Oct 9, 2021
Merged

Rebase generic off monolithic #112

merged 4 commits into from
Oct 9, 2021

Conversation

VibroAxe
Copy link
Member

@VibroAxe VibroAxe commented Jul 20, 2021

This commit rebases the generic code off the monolithic image
This allows the base image to be the more regularly accessed / edited image
removing the minor map changes directly in this generic image

Commits to lancachenet/monolithic:switcheroo will mimic this commit (lancachenet/monolithic#133)

Also fixes #108

-----DO NOT MERGE UNTIL UPDATING DOCKERFILE TO LATEST------

This commit rebases the generic code off the monolithic image
This allows the base image to be the more regularly accessed / edited image
removing the minor map changes directly in this generic image

Commits to lancachenet/monolithic:switcheroo will mimic this commit

Also fixes #108
@VibroAxe
Copy link
Member Author

This is likely to break #109, #109, #94 and #93 as they will all now be relevant against lancachenet/monolithic instead

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated
@@ -1,8 +1,9 @@
FROM lancachenet/ubuntu-nginx:latest
MAINTAINER LanCache.Net Team <[email protected]>
FROM lancachenet/monolithic:switcheroo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One option to make this more flexible:

ARG MONOLITHIC_TAG=master
FROM lancachenet/monolithic:${MONOLITHIC_TAG}

We could potentially leverage the current branch name with this (e.g. attempt to pull lancachenet/monolithic:$GITHUB_HEAD_REF, if that works then pass --build-arg MONOLITHIC_TAG="${GITHUB_HEAD_REF}" when building the image; this would allow automatically leveraging matched-name branches on monolithic for pull requests on generic).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this, but don't want to make the change now

VibroAxe and others added 3 commits October 9, 2021 12:58
Disable build children as no dependencies
Rebase from monolithic:latest ready for final merge
@VibroAxe
Copy link
Member Author

VibroAxe commented Oct 9, 2021

@VibroAxe VibroAxe merged commit 60d4922 into master Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cache_test.sh doesn't work
2 participants