Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
116 changes: 0 additions & 116 deletions .github/workflows/branch_ci.yml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/merged_ci.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/release_on_tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Build Versioned Release Artifacts

on:
push:
tags:
- 'v*.*.*'

jobs:
tagged-ci:
uses: openclimatefix/.github/.github/workflows/tagged_ci.yml@main
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Bump Tag

on:
pull_request:
types: ["closed"]
branches: ["main"]

jobs:
bump-tag:
if: github.event.pull_request.merged == true
uses: openclimatefix/.github/.github/workflows/bump_tag.yml@main
secrets: inherit
21 changes: 21 additions & 0 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Branch Test and Build

on:
push:
branches-ignore: ['main']
paths-ignore: ['README.md']
pull_request:
types: [opened, reopened, synchronize]
paths-ignore: ['README.md']

jobs:

branch-ci:
uses: openclimatefix/.github/.github/workflows/branch_ci.yml@78c15cc19e7140a3e9a76803a224d85c21c612f6
secrets: inherit
with:
enable_linting: true
enable_formatting: true
# The codebase does not typecheck cleanly yet
enable_typechecking: false
tests_folder: tests
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ ENV UV_COMPILE_BYTECODE=1 \
# * --no-install-project: Only install dependencies
# * --no-editable: Copy the source code into site-packages
RUN mkdir src && \
uv sync --no-dev --no-install-project --no-editable \
--index-strategy unsafe-best-match
uv sync --no-dev --no-install-project --no-editable

# Remove tests (Pandas ship loads, for instance)
# * Remove this line if causing problems
Expand All @@ -38,7 +37,7 @@ FROM build-deps AS build-app
COPY src /opt/app/src
COPY .git /opt/app/.git
COPY uv.lock /opt/app/uv.lock
RUN uv sync --no-dev --no-editable --index-strategy unsafe-best-match
RUN uv sync --no-dev --no-editable

# --- Runtime image (use distroless if feasible for 100MB saving) --- #
FROM python:3.12-slim-bookworm
Expand Down
38 changes: 0 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,44 +42,6 @@ pytest

This will run tests for both packages.

## Contributing and community

[![issues badge](https://img.shields.io/github/issues/openclimatefix/cloudcasting-app?color=FFAC5F)](https://github.com/openclimatefix/cloudcasting-app/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)

- PR's are welcome! See the [Organisation Profile](https://github.com/openclimatefix) for details on contributing
- Find out about our other projects in the [here](https://github.com/openclimatefix/.github/tree/main/profile)
- Check out the [OCF blog](https://openclimatefix.org/blog) for updates
- Follow OCF on [LinkedIn](https://uk.linkedin.com/company/open-climate-fix)

## Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dfulu"><img src="https://avatars.githubusercontent.com/u/41546094?v=4?s=100" width="100px;" alt="James Fulton"/><br /><sub><b>James Fulton</b></sub></a><br /><a href="https://github.com/openclimatefix/cloudcasting-app/commits?author=dfulu" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/devsjc"><img src="https://avatars.githubusercontent.com/u/47188100?v=4?s=100" width="100px;" alt="devsjc"/><br /><sub><b>devsjc</b></sub></a><br /><a href="#infra-devsjc" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/peterdudfield"><img src="https://avatars.githubusercontent.com/u/34686298?v=4?s=100" width="100px;" alt="Peter Dudfield"/><br /><sub><b>Peter Dudfield</b></sub></a><br /><a href="https://github.com/openclimatefix/cloudcasting-app/commits?author=peterdudfield" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://sumana-2705.github.io/Sumana-Portfolio/"><img src="https://avatars.githubusercontent.com/u/110307215?v=4?s=100" width="100px;" alt="Sumana Sree Angajala"/><br /><sub><b>Sumana Sree Angajala</b></sub></a><br /><a href="#infra-sumana-2705" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

---

*Part of the [Open Climate Fix](https://github.com/orgs/openclimatefix/people) community.*

Expand Down
Loading
Loading