Skip to content

Commit

Permalink
Add pkgserver_logsync rootfs image (#92)
Browse files Browse the repository at this point in the history
This is the image used in the PkgServer log analysis buildkite pipeline
that runs from this pipeline yaml [0].

[0] https://github.com/JuliaPackaging/PkgServerLogAnalysis.jl/blob/master/.buildkite/s3_sync_job.yml
  • Loading branch information
staticfloat authored Aug 26, 2021
1 parent cf1b29c commit 7cfe843
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions images/pkgserver_logsync.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using RootfsUtils

arch, image, = parse_build_args(ARGS, @__FILE__)

# Build debian-based image with the following extra packages:
packages = String[
"openssh-client",
"awscli",
"rsync",
"curl",
"jq",
"zstd",
]
artifact_hash, tarball_path, = debootstrap(arch, image; packages)

# Upload it
upload_rootfs_image_github_actions(tarball_path)

# Test that we can use our new rootfs image with Sandbox.jl
test_sandbox(artifact_hash)

0 comments on commit 7cfe843

Please sign in to comment.