Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bae31c9
Initial setup for AWS Thicket Tutorial
ilumsden Aug 2, 2024
fcc6ca2
Gets local runs working again
ilumsden Aug 2, 2024
879a4f4
Gets local runs fully working
ilumsden Aug 2, 2024
b0c2c78
Modifies config-aws.yaml for AWS deployment in K8s
ilumsden Aug 2, 2024
908f9e8
Updates GCP config
ilumsden Aug 2, 2024
b951737
Adds GitHub Action for building and uploading images
ilumsden Aug 5, 2024
f1f6c03
Tries fixing the action yaml
ilumsden Aug 5, 2024
ed1d099
Fixes yaml indentation
ilumsden Aug 5, 2024
c8bf13d
More YAML formatting
ilumsden Aug 5, 2024
2330fda
Updates Docker CI to run on PRs and only push on worklow_dispatch
ilumsden Aug 6, 2024
b6e81e1
Fixes repo name in Docker CD since that apparently needs to be lowercase
ilumsden Aug 6, 2024
9811769
Updates the README with instructions for deploying to K8S
ilumsden Aug 6, 2024
aa3f753
Typo fix in README
ilumsden Aug 6, 2024
2974737
Adds note about getting AWS CLI
ilumsden Aug 6, 2024
d1277df
Adds helm to required packages for K8S deployment
ilumsden Aug 6, 2024
fc2909c
Changes flux-jupyter to thicket-tutorial-jupyter
ilumsden Aug 6, 2024
73e143d
Removes commands with SSL
ilumsden Aug 6, 2024
ab2e18e
Replaces flux-jupyter with thicket-tutorial-jupyter
ilumsden Aug 6, 2024
0f35a75
Adds platform for pulled image
ilumsden Aug 6, 2024
cbd03c1
Adds platform for pulled images
ilumsden Aug 6, 2024
3d23833
Adds platform for pulled image
ilumsden Aug 6, 2024
5395cb3
Fixes image names
ilumsden Aug 7, 2024
669cf41
Fixes capitalization
ilumsden Aug 7, 2024
b92fc87
Fixes perms on init-entrypoint.sh
ilumsden Aug 7, 2024
8d71165
Updates pull policy for init
ilumsden Aug 7, 2024
1f43da3
Remove pull policy from initContainers
ilumsden Aug 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/build_docker_images.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Build containers for the Thicket Tutorial

on:
pull_request: []
workflow_dispatch:

jobs:
build-containers:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
tutorial_name: ["radiuss-2024"]
registry_url_base: ["ghcr.io/llnl"]
container_info: [["thicket-tutorial-hub", "docker/Dockerfile.hub"],
["thicket-tutorial-init", "docker/Dockerfile.init"],
["thicket-tutorial-spawn", "docker/Dockerfile.spawn"]]

steps:
- name: Clone the thicket-tutorial repo
uses: actions/checkout@v4

- name: Clean unneeded stuff in runner to make space for the Docker image
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true

- name: GHCR Login
if: (github.event.name != 'pull_request')
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Pull existing layers
env:
container: ${{ matrix.registry_url_base }}/${{ matrix.container_info[0] }}:${{ matrix.tutorial_name }}
run: |
docker pull ${container} || echo "${container} has not been pushed yet"

- name: Build Container
env:
container: ${{ matrix.registry_url_base }}/${{ matrix.container_info[0] }}:${{ matrix.tutorial_name }}
dockerfile: ${{ matrix.container_info[1] }}
run: |
docker build -f ${dockerfile} -t ${container} .

- name: Deploy Container
if: (github.event_name != 'pull_request')
env:
container: ${{ matrix.registry_url_base }}/${{ matrix.container_info[0] }}:${{ matrix.tutorial_name }}
run: docker push ${container}
55 changes: 0 additions & 55 deletions Dockerfile.local

This file was deleted.

Loading