-
Notifications
You must be signed in to change notification settings - Fork 11
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 130-create-musicbox-configuration-for-ts1cap…
…ram-24-reduced-mechanism
- Loading branch information
Showing
221 changed files
with
10,430 additions
and
4,804 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM fedora:37 | ||
|
||
RUN dnf -y update \ | ||
&& dnf -y install \ | ||
git \ | ||
gcc \ | ||
gcc-c++ \ | ||
gnuplot \ | ||
netcdf-devel \ | ||
python3 \ | ||
python3-pip \ | ||
python-devel \ | ||
tree \ | ||
&& dnf clean all | ||
|
||
COPY . /workspaces/music-box | ||
|
||
WORKDIR /workspaces/music-box | ||
|
||
RUN pip3 install -e '.[dev]' |
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,10 @@ | ||
{ | ||
"name": "MusicBox", | ||
"image": "ghcr.io/ncar/music-box:latest", | ||
"extensions": [ | ||
"ms-python.python", | ||
], | ||
"settings": { | ||
}, | ||
"postCreateCommand": "" | ||
} |
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,53 @@ | ||
name: Build and Deploy Docker Image | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- 'v*.*.*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build Docker image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: .devcontainer/Dockerfile.codespace | ||
push: false | ||
tags: ghcr.io/ncar/music-box:build-temp | ||
|
||
- name: Build and push Docker image (latest) | ||
if: github.ref == 'refs/heads/main' | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: .devcontainer/Dockerfile.codespace | ||
push: true | ||
tags: ghcr.io/ncar/music-box:latest | ||
|
||
- name: Build and push Docker image (tagged) | ||
if: startsWith(github.ref, 'refs/tags/') | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: .devcontainer/Dockerfile.codespace | ||
push: true | ||
tags: ghcr.io/ncar/music-box:${{ github.ref_name }} |
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
6 changes: 0 additions & 6 deletions
6
examples/camp_examples/bright_chamber/use_case_7/camp_data/config.json
This file was deleted.
Oops, something went wrong.
135 changes: 0 additions & 135 deletions
135
examples/camp_examples/bright_chamber/use_case_7/camp_data/mechanism.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.