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

Initial release #1

Merged
merged 8 commits into from
Nov 18, 2024
Merged

Initial release #1

merged 8 commits into from
Nov 18, 2024

Conversation

thespad
Copy link
Member

@thespad thespad commented Nov 11, 2024

No description provided.

@thespad thespad requested a review from a team November 11, 2024 19:50
@thespad thespad self-assigned this Nov 11, 2024
@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-2bbe35c7294273f6dea6da6a17bd83976e6cc229-pr-1

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-818b956eb402cd90d2cc720765167d8621d44a71-pr-1

@thespad thespad marked this pull request as ready for review November 11, 2024 20:12
@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-e22ee740b2d3f2074ed4ea4f3fae3c8fc3661980-pr-1

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-e4c1ee975b5de11eb5686508de3a6affbeaec396-pr-1

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-492c82d3f6db36172ee7652cf4daca5365b268e9-pr-1

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-cf27056bae30fed8d18d6c61c27dff538b9e4700-pr-1

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-616581a59016de8e901402f9ea3c843d8fdf4cc6-pr-1

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-d2-builder:v0.6.8-pkg-none-dev-39862617fbf25a028f064125b73d5d4ec1d5eca3-pr-1

@Roxedus
Copy link
Member

Roxedus commented Nov 17, 2024

I feel like the logic for the flowchart needs a flowchart

@thespad
Copy link
Member Author

thespad commented Nov 18, 2024

It's deceptively straightforward:

  • Shallow clone the image repo
  • Checkout the right branch (match against the jenkins-vars for cases where tag != branch name)
  • Find the last FROM statement in the Dockerfile to get the base
  • Shallow clone the base repo
  • Checkout the right branch
  • Loop the base image steps until the FROM is no longer one of our base images
  • Copy all the /root/ folders from all those images into one place
  • Iterate through and build the flowchart

LOCAL runs are the same except no cloning or checkout, it expects you to have mounted the repos with the correct branches.

@thespad thespad merged commit 24b23b8 into main Nov 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants