Skip to content

Commit

Permalink
Add the xvfb rootfs image (#236)
Browse files Browse the repository at this point in the history
* Add the `xvfb` rootfs image

* Alphabetize the list of rootfs images
  • Loading branch information
DilumAluthge authored Oct 19, 2022
1 parent 4348888 commit e63891c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ jobs:
- 'agent_linux.x86_64'
- 'agent_linux.i686'

# The `aws_uploader` image is a `debian`-based image that
# contains just `awscli`, for usage in secured pipelines
# that need to upload to AWS.
- 'aws_uploader.x86_64'

# The `debian_minimal` image is a `debian`-based image that
# contains no packages.
- 'debian_minimal.aarch64'
Expand All @@ -50,10 +55,14 @@ jobs:
- 'debian_minimal.x86_64'
- 'debian_minimal.i686'

# The `aws_uploader` image is a `debian`-based image that
# contains just `awscli`, for usage in secured pipelines
# that need to upload to AWS.
- 'aws_uploader.x86_64'
# The `latex` image is used to build the PDF docs
- 'latex.x86_64'

# The `llvm_passes` image is a short-term solution for the `analyzegc` builder.
- 'llvm_passes.x86_64'

# The `npm_linux` image is a helper for ecosystem jobs that need to build NPM packages
- 'npm_linux.x86_64'

# The `package_linux` images are all `debian`-based.
- 'package_linux.aarch64'
Expand All @@ -65,6 +74,9 @@ jobs:
# The `package_musl` image is `alpine`-based.
- 'package_musl.x86_64'

# The `pkgserver_logsync` image is a helper for https://github.com/JuliaPackaging/PkgServerLogAnalysis.jl
- 'pkgserver_logsync.x86_64'

# The `rr` image is `debian`-based.
# It is used for building rr from source and running the rr test suite.
- 'rr.aarch64'
Expand All @@ -82,17 +94,9 @@ jobs:
# It does not include the compiler toolchain.
- 'tester_musl.x86_64'

# The `llvm_passes` image is a short-term solution for the `analyzegc` builder.
- 'llvm_passes.x86_64'

# The `pkgserver_logsync` image is a helper for https://github.com/JuliaPackaging/PkgServerLogAnalysis.jl
- 'pkgserver_logsync.x86_64'

# The `npm_linux` image is a helper for ecosystem jobs that need to build NPM packages
- 'npm_linux.x86_64'

# The `latex` image is used to build the PDF docs
- 'latex.x86_64'
# The `xvfb` image is used in the CI for the PkgEval.jl repo
- 'xvfb.aarch64'
- 'xvfb.x86_64'
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
Expand Down
17 changes: 17 additions & 0 deletions linux/xvfb.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using RootfsUtils: parse_build_args, upload_gha, test_sandbox
using RootfsUtils: debootstrap

args = parse_build_args(ARGS, @__FILE__)
arch = args.arch
archive = args.archive
image = args.image

packages = [
"xvfb",
"locales",
"localepurge",
]

artifact_hash, tarball_path, = debootstrap(arch, image; archive, packages)
upload_gha(tarball_path)
test_sandbox(artifact_hash)

0 comments on commit e63891c

Please sign in to comment.