-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): merge beta branch into main
First stable release 😍
- Loading branch information
Showing
106 changed files
with
5,054 additions
and
252 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 |
---|---|---|
|
@@ -35,14 +35,8 @@ jobs: | |
export SCALA_VERSION=`sbt --no-colors --error 'set aggregate := false; print scalaVersion'` | ||
echo "::set-output name=scala-version::$SCALA_VERSION" | ||
- name: Scalafmt | ||
run: sbt scalafmtCheckAll | ||
|
||
- name: Scalafix | ||
run: sbt 'scalafixAll --check' | ||
|
||
- name: WartRemover | ||
run: sbt wartremoverInspect | ||
- name: Quality Assurance | ||
run: sbt qaCheck | ||
|
||
- name: Test | ||
run: sbt test | ||
|
@@ -58,17 +52,34 @@ jobs: | |
files: ./target/scala-${{steps.get-scala-version.outputs.scala-version}}/jacoco/report/aggregate/jacoco.xml | ||
verbose: true | ||
|
||
- name: Build docsite | ||
run: sbt ubidocGenerate | ||
|
||
publish: | ||
name: Publish | ||
needs: [build] | ||
runs-on: ubuntu-22.04 | ||
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta') | ||
steps: | ||
- name: Setup atedeg-bot | ||
id: atedeg-bot | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.ATEDEG_BOT_APP_ID }} | ||
private_key: ${{ secrets.ATEDEG_BOT_PRIVATE_KEY }} | ||
|
||
- name: Checkout current branch | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ steps.atedeg-bot.outputs.token }} | ||
fetch-depth: 0 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Release | ||
uses: atedeg/[email protected] | ||
with: | ||
|
@@ -77,4 +88,4 @@ jobs: | |
pgp-passphrase: ${{ secrets.PGP_PASSPHRASE }} | ||
sonatype-username: ${{ secrets.SONATYPE_USERNAME }} | ||
sonatype-password: ${{ secrets.SONATYPE_PASSWORD }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
github-token: ${{ steps.atedeg-bot.outputs.token }} |
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,38 @@ | ||
name: Publish site | ||
|
||
on: | ||
workflow_run: | ||
workflows: [Build test and deploy] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
publish-site: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Setup atedeg-bot | ||
id: atedeg-bot | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.ATEDEG_BOT_APP_ID }} | ||
private_key: ${{ secrets.ATEDEG_BOT_PRIVATE_KEY }} | ||
|
||
- name: Checkout current branch | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ steps.atedeg-bot.outputs.token }} | ||
fetch-depth: 0 | ||
|
||
- name: Build documentation site | ||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' | ||
run: | | ||
export LAST_VERSION=`git describe --tags --abbrev=0 | sed -e 's/^v*//'` | ||
sbt 'set ThisBuild / version := System.getenv("LAST_VERSION")' ubidocGenerate | ||
- name: Deploy site | ||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ steps.atedeg-bot.outputs.token }} | ||
BRANCH: gh-pages | ||
FOLDER: target/site |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
tables: | ||
- name: "stocking-ul" | ||
rows: | ||
- class: "AvailableStock" | ||
- class: "DesiredStock" | ||
- class: "AvailableQuantity" | ||
- class: "DesiredQuantity" | ||
- class: "MissingQuantity" | ||
- enum: "Batch" | ||
- enum: "QualityAssuredBatch" | ||
- class: "BatchID" | ||
name: "Batch ID" | ||
- class: "LabelledProduct" | ||
- name: "stocking-outgoing" | ||
rows: | ||
- case: "OutgoingEvent.ProductStocked" | ||
- case: "OutgoingEvent.ProductPalletized" | ||
- name: "stocking-incoming" | ||
rows: | ||
- case: "IncomingEvent.BatchReadyForQualityAssurance" | ||
- case: "IncomingEvent.ProductRemovedFromStock" | ||
- case: "IncomingEvent.NewBatch" | ||
- name: "milk-planning-ul" | ||
termName: "Term" | ||
definitionName: "Definition" | ||
rows: | ||
- class: "ProcessedMilk" | ||
- class: "QuintalsOfMilk" | ||
- class: "Yield" | ||
- type: "RecipeBook" | ||
- type: "Stock" | ||
- class: "StockedQuantity" | ||
- class: "Quantity" | ||
- class: "RequestedProduct" | ||
|
||
- name: "milk-planning-incoming" | ||
termName: "Event" | ||
definitionName: "Description" | ||
rows: | ||
- case: "IncomingEvent.ReceivedOrder" | ||
|
||
- name: "milk-planning-outgoing" | ||
termName: "Event" | ||
definitionName: "Description" | ||
rows: | ||
- case: "OutgoingEvent.OrderMilk" | ||
|
||
- name: "production-ul" | ||
rows: | ||
- class: "ProductionPlan" | ||
- class: "ProductionPlanItem" | ||
- case: "Production.ToStart" | ||
name: "Production To Start" | ||
- case: "Production.InProgress" | ||
name: "Production In Progress" | ||
- case: "Production.Ended" | ||
name: "Ended Production" | ||
- type: "RecipeBook" | ||
- class: "Recipe" | ||
- class: "QuintalsOfIngredient" | ||
- class: "CheeseTypeRipeningDays" | ||
- class: "RipeningDays" | ||
- name: "production-outgoing" | ||
termName: "Event" | ||
definitionName: "Description" | ||
rows: | ||
- case: "OutgoingEvent.StartProduction" | ||
- case: "OutgoingEvent.NewBatch" | ||
- name: "production-incoming" | ||
termName: "Event" | ||
definitionName: "Description" | ||
rows: | ||
- case: "IncomingEvent.ProductionPlanReady" | ||
- case: "IncomingEvent.ProductionEnded" | ||
|
||
- name: "restocking-ul" | ||
rows: | ||
- type: "Stock" | ||
- class: "StockedMilk" | ||
- class: "StockedQuantity" | ||
- class: "QuintalsOfIngredient" | ||
- class: "QuintalsOfMilk" | ||
- name: "restocking-incoming" | ||
termName: "Event" | ||
definitionName: "Description" | ||
rows: | ||
- case: "IncomingEvent.OrderMilk" | ||
- case: "IncomingEvent.ProductionStarted" | ||
- name: "production-planning-ul" | ||
rows: | ||
- class: "ProductionPlan" | ||
- class: "ProductToProduce" | ||
- class: "Quantity" | ||
- class: "MissingProducts" | ||
- class: "MissingQuantity" | ||
- class: "Order" | ||
- class: "OrderedProduct" | ||
- class: "CheeseTypeRipeningDays" | ||
- class: "RipeningDays" | ||
|
||
- name: "production-planning-incoming" | ||
rows: | ||
- case: "IncomingEvent.NewOrderReceived" | ||
- name: "production-planning-outgoing" | ||
rows: | ||
- case: "OutgoingEvent.ProductionPlanReady" | ||
- case: "OutgoingEvent.OrderDelayed" | ||
|
||
- name: "client-orders-ul" | ||
rows: | ||
- class: "IncomingOrder" | ||
- class: "IncomingOrderLine" | ||
- class: "Customer" | ||
- class: "Location" | ||
- class: "PriceList" | ||
- class: "PricedOrder" | ||
- class: "PricedOrderLine" | ||
- class: "InProgressOrder" | ||
- enum: "InProgressOrderLine" | ||
- class: "CompletedOrder" | ||
- class: "CompleteOrderLine" | ||
- class: "TransportDocument" | ||
- class: "TransportDocumentLine" | ||
|
||
- name: "client-orders-incoming" | ||
rows: | ||
- case: "IncomingEvent.OrderReceived" | ||
- case: "IncomingEvent.ProductPalletizedForOrder" | ||
- case: "IncomingEvent.OrderCompleted" | ||
|
||
- name: "client-orders-outgoing" | ||
rows: | ||
- case: "OutgoingEvent.OrderProcessed" | ||
|
||
ignored: [] |
Oops, something went wrong.