-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-sudoers-venv-bug
* main: (110 commits) Adding report url instead of just ID (#531) Makes error optional except if there is data we need (#530) Bump uvicorn[standard] from 0.23.2 to 0.24.0.post1 (#526) Adding current clocksource in linux according to timing problems outlined here: https://www.brendangregg.com/blog/2021-09-26/the-speed-of-time.html (#524) Bump orjson from 3.9.9 to 3.9.10 (#519) Bump pandas from 2.1.1 to 2.1.2 (#520) Update Dockerfile - Removed playwright version pinning (#523) Bump fastapi from 0.104.0 to 0.104.1 (#522) Casts everything to bigint in hog api Qol Updates (#521) build containers workflow: removed conditional from job scope and moved to step added options for build containers manual run to specify which container to build fix file permissions for build-containers script Bump playwright/python in /docker/auxiliary-containers/gcb_playwright (#513) Bump pytest from 7.4.2 to 7.4.3 (#515) Added lshw to hardware_info_root (#514) Tag dockerhub containers (#518) Update XGBoost model Update README.md Bump pylint from 3.0.1 to 3.0.2 (#512) ...
- Loading branch information
Showing
191 changed files
with
5,449 additions
and
2,464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build and Push Containers | ||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
paths: | ||
- 'docker/auxiliary-containers/**/Dockerfile' | ||
|
||
workflow_dispatch: | ||
inputs: | ||
container: | ||
type: choice | ||
description: The tag to update | ||
required: true | ||
options: | ||
- gcb_playwright | ||
|
||
jobs: | ||
build-and-push-containers: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
## This is needed for multi-architecture builds | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to Docker Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- if: github.event_name == 'pull_request' && github.event.pull_request.merged == true | ||
name: Build and Push auxiliary-containers (PR) | ||
shell: bash | ||
run: | | ||
PR_FILES=$(curl -s "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | jq -r '.[] | .filename') | ||
CHANGED_SUBFOLDERS=$(echo "$PR_FILES" | grep -E '^docker/auxiliary-containers/[^/]+/' | sed -r 's|^docker/auxiliary-containers/([^/]+)/.*|\1|' | sort -u) | ||
echo $CHANGED_SUBFOLDERS | ||
./docker/auxiliary-containers/build-containers.sh $CHANGED_SUBFOLDERS | ||
- if: github.event_name == 'workflow_dispatch' | ||
name: Build and Push auxiliary-containers (manual) | ||
shell: bash | ||
run: | | ||
./docker/auxiliary-containers/build-containers.sh ${{ github.event.inputs.container }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.