Skip to content

Commit

Permalink
Merge branch 'main' into podman-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
johndeange committed Nov 7, 2024
2 parents 2e4c3be + 41fc16b commit cb7b41c
Show file tree
Hide file tree
Showing 9 changed files with 205 additions and 186 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release
on:
push:
branches:
- main

permissions:
contents: read

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
working-directory: ./frontend
run: bun install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./frontend
run: bun run semantic-release
2 changes: 1 addition & 1 deletion backend/data_tools/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ desert = "2022.9.22"
sqlalchemy-continuum = "==1.4.2"
marshmallow-sqlalchemy = "==1.1.0"
marshmallow-enum = "==1.5.1"
alembic = "==1.13.3"
alembic = "==1.14.0"
alembic-postgresql-enum = "==1.3.0"
azure-storage-blob = "==12.23.1"
azure-identity = "==1.19.0"
Expand Down
8 changes: 4 additions & 4 deletions backend/data_tools/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/ops_api/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
alembic = "==1.13.3"
alembic = "==1.14.0"
alembic-postgresql-enum = "==1.3.0"
authlib = "==1.3.2"
azure-identity = "==1.19.0"
Expand Down
20 changes: 10 additions & 10 deletions backend/ops_api/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions docs/git-branching-and-releasing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# OPRE-OPS Branching Strategy

The OPRE Team currently uses the following branching strategy:
### main
* `main` is the default and primary branch. This will always be the most up-to-date released code base.
* `main` currently has branch protections in place, and requires a `pull request` with at least `2` approvals from someone on the `dev team`.

### Feature Branches
* Features should branch from `main` and utilize a naming format of `OPS-{Issue#}/{Feature_Name}`, example: `OPS-522/CAN_Details_Page`.

```mermaid
---
title: OPRE-OPS Git Branching
---
%%{init: {'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchOrder': 4}} }%%
gitGraph
commit id: "initial commit"
commit
branch OPS-5xx/New_Feature_A
checkout OPS-5xx/New_Feature_A
commit
commit
checkout main
merge OPS-5xx/New_Feature_A
checkout main
commit
branch OPS-6xx/New_Feature_B
checkout OPS-6xx/New_Feature_B
commit
commit
commit
checkout main
merge OPS-6xx/New_Feature_B
```

# OPRE-OPS Release Strategy

The OPRE Team currently uses the following release strategy:

- When a PR is merged to `main` the GitHub Action `release.yml` will automatically create a new release in
GitHub with next version number.
- The `main` branch will be tagged with the new version number.
- The release will be published to the [GitHub Releases page](https://github.com/HHS/OPRE-OPS/releases).
60 changes: 0 additions & 60 deletions docs/git-branching.md

This file was deleted.

Binary file modified frontend/bun.lockb
Binary file not shown.
Loading

0 comments on commit cb7b41c

Please sign in to comment.