Skip to content

Commit

Permalink
Remove Ais.Net.Models and Upgrade to .NET 8.0 (#231)
Browse files Browse the repository at this point in the history
* Update scripted build. Migrate to GHA.

* Remove Ais.Net.Models projects

* Upgrade to .NET 8.0.

* Tweak Readme

* Change code style.

* Don't run tests
  • Loading branch information
HowardvanRooijen authored Oct 9, 2024
1 parent 9e31ae5 commit f559b21
Show file tree
Hide file tree
Showing 63 changed files with 1,147 additions and 3,728 deletions.
4 changes: 2 additions & 2 deletions .github/config/pr-autoflow.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"AUTO_MERGE_PACKAGE_WILDCARD_EXPRESSIONS": "[\"Endjin.*\",\"Corvus.*\"]",
"AUTO_RELEASE_PACKAGE_WILDCARD_EXPRESSIONS": "[\"Corvus.AzureFunctionsKeepAlive\",\"Corvus.Configuration\",\"Corvus.ContentHandling\",\"Corvus.Deployment\",\"Corvus.DotLiquidAsync\",\"Corvus.EventStore\",\"Corvus.Extensions\",\"Corvus.Extensions.CosmosDb\",\"Corvus.Extensions.Newtonsoft.Json\",\"Corvus.Extensions.System.Text.Json\",\"Corvus.Identity\",\"Corvus.Leasing\",\"Corvus.Monitoring\",\"Corvus.Retry\",\"Corvus.Tenancy\"]"
}
"AUTO_RELEASE_PACKAGE_WILDCARD_EXPRESSIONS": "[]"
}
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

59 changes: 59 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: build
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
workflow_dispatch:
inputs:
forcePublish:
description: When true the Publish stage will always be run, otherwise it only runs for tagged versions.
required: false
default: false
type: boolean

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
checks: write # enable test result annotations
contents: write # enable creating releases
issues: read
packages: write # enable publishing packages
pull-requests: write # enable test result annotations

jobs:
prepareConfig:
name: Prepare Configuration
runs-on: ubuntu-latest
outputs:
RESOLVED_ENV_VARS: ${{ steps.prepareEnvVarsAndSecrets.outputs.environmentVariablesYamlBase64 }}
RESOLVED_SECRETS: ${{ steps.prepareEnvVarsAndSecrets.outputs.secretsYamlBase64 }}
steps:
# Declare any environment variables and/or secrets that need to be available inside the build process
- uses: endjin/Endjin.RecommendedPractices.GitHubActions/actions/prepare-env-vars-and-secrets@main
id: prepareEnvVarsAndSecrets
with:
environmentVariablesYaml: |
BUILDVAR_ContainerRegistryFqdn: "endjin.azurecr.io"
BUILDVAR_ContainerImageVersionOverride: ""
BUILDVAR_Configuration: "Release"
secretsYaml: |
{
}
build:
needs: prepareConfig
uses: endjin/Endjin.RecommendedPractices.GitHubActions/.github/workflows/scripted-build-single-job-pipeline.yml@main
with:
netSdkVersion: '8.0.x'
# workflow_dispatch inputs are always strings, the type property is just for the UI
forcePublish: ${{ github.event.inputs.forcePublish == 'true' }}
buildEnv: ${{ needs.prepareConfig.outputs.RESOLVED_ENV_VARS }}
secrets:
buildAzureCredentials: ${{ secrets.ENDJIN_PROD_ACR_PUBLISH_CREDENTIALS }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,4 @@ _codeCoverage
/Ais.Net.Receiver.sbom.json
/Ais.Net.Receiver.sbom.html
/Ais.Net.Receiver.sbom.cyclonedx.xml
/Solutions/Ais.Net.Receiver.sln.DotSettings
143 changes: 37 additions & 106 deletions README.md

Large diffs are not rendered by default.

48 changes: 0 additions & 48 deletions Solutions/Ais.Net.Models.Specs/Ais.Net.Models.Specs.csproj

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f559b21

Please sign in to comment.