Skip to content

Commit

Permalink
Drop support for two platforms
Browse files Browse the repository at this point in the history
Drop support for the `linux/ppc64le` and `linux/s390x` platforms. This
is done because the build times for these platforms push the total
workflow time over the GitHub Actions runtime limit of six hours. This
is largely due to these platforms being emulated and then having to
compile/build certain Python packages.
  • Loading branch information
mcdonnnj committed Aug 29, 2024
1 parent 19dcaeb commit 846fd7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ env:
CURL_CACHE_DIR: ~/.cache/curl
IMAGE_NAME: cisagov/code-gov-update
PIP_CACHE_DIR: ~/.cache/pip
PLATFORMS: "linux/386,linux/amd64,linux/arm/v6,\
linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x"
# We have dropped support for the linux/ppc64le and linux/s390x platforms until
# the run time for the build-push-all job can get below the six hour limit that
# exists for GitHub Actions runners. This could either be through some kind of
# optimization, when we matrix out the build so each platform runs on its own
# runner, or if we start using our own runners that have a higher time limit.
# Please see #150 for tracking.
PLATFORMS: "linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8"
PRE_COMMIT_CACHE_DIR: ~/.cache/pre-commit
RUN_TMATE: ${{ secrets.RUN_TMATE }}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[![Docker Pulls](https://img.shields.io/docker/pulls/cisagov/code-gov-update)](https://hub.docker.com/r/cisagov/code-gov-update)
[![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/cisagov/code-gov-update)](https://hub.docker.com/r/cisagov/code-gov-update)
[![Platforms](https://img.shields.io/badge/platforms-386%20%7C%20amd64%20%7C%20arm%2Fv6%20%7C%20arm%2Fv7%20%7C%20arm64%2Fv8%20%7C%20ppc64le%20%7C%20s390x-blue)](https://hub.docker.com/r/cisagov/code-gov-update/tags)
[![Platforms](https://img.shields.io/badge/platforms-386%20%7C%20amd64%20%7C%20arm%2Fv6%20%7C%20arm%2Fv7%20%7C%20arm64%2Fv8-blue)](https://hub.docker.com/r/cisagov/code-gov-update/tags)

This project contains code for updating the DHS
[code.gov](https://code.gov) inventory published
Expand Down

0 comments on commit 846fd7b

Please sign in to comment.