Skip to content

Commit

Permalink
ci: remove crab import api + remove 'new' from prd
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Nov 27, 2023
1 parent b538c8c commit 6c59155
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 174 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy_newprd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Manual New Production Deploy
name: Manual Production Deploy

on:
workflow_dispatch:
Expand All @@ -7,13 +7,13 @@ on:
description: 'Version'
required: true

concurrency: Manual New Production Deploy
concurrency: Manual Production Deploy

jobs:
deploy_to_production_start_slack:
if: github.repository_owner == 'Informatievlaanderen'
name: Deploy to new production started
environment: newprd
name: Deploy to production started
environment: prd
runs-on: ubuntu-latest

steps:
Expand All @@ -25,7 +25,7 @@ jobs:
uses: slackapi/[email protected]
with:
channel-id: '#team-dinosaur-dev'
slack-message: Deployment of streetname-registry to new production has started
slack-message: Deployment of streetname-registry to production has started
env:
SLACK_BOT_TOKEN: ${{ secrets.VBR_SLACK_BOT_TOKEN }}
SLACK_CHANNEL: ${{ secrets.VBR_NOTIFIER_CHANNEL_NAME }}
Expand All @@ -34,7 +34,7 @@ jobs:
deploy_to_production:
if: github.repository_owner == 'Informatievlaanderen'
needs: [ deploy_to_production_start_slack ]
name: Deploy to New Production
name: Deploy to Production
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
deploy_to_production_finish_slack:
if: github.repository_owner == 'Informatievlaanderen'
needs: [ deploy_lambda_to_production ]
name: Deploy to new production finished
name: Deploy to production finished
runs-on: ubuntu-latest

steps:
Expand All @@ -123,7 +123,7 @@ jobs:
uses: slackapi/[email protected]
with:
channel-id: '#team-dinosaur-dev'
slack-message: Deployment of streetname-registry to new production has finished
slack-message: Deployment of streetname-registry to production has finished
env:
SLACK_BOT_TOKEN: ${{ secrets.VBR_SLACK_BOT_TOKEN }}
SLACK_CHANNEL: ${{ secrets.VBR_NOTIFIER_CHANNEL_NAME }}
Expand Down
118 changes: 0 additions & 118 deletions .github/workflows/deploy_prd.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,6 @@ jobs:
semver: ${{ needs.set-release-version.outputs.version }}
secrets: inherit

build-api-crab-import:
name: Build Api CrabImport
uses: Informatievlaanderen/build-pipeline/.github/workflows/build-image.yml@main
needs: [ set-release-version ]
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }}
with:
registry: streetname-registry
build-target: Containerize_ApiCrabImport
image-file: sr-api-crab-import-image.tar
image-name: api-crab-import
test-project: StreetNameRegistry.Tests
build-project: StreetNameRegistry.Api.CrabImport
semver: ${{ needs.set-release-version.outputs.version }}
secrets: inherit

build-api-extract:
name: Build Api Extract
uses: Informatievlaanderen/build-pipeline/.github/workflows/build-image.yml@main
Expand Down Expand Up @@ -323,18 +308,6 @@ jobs:
semver: ${{ needs.set-release-version.outputs.version }}
secrets: inherit

pack-api-crab-import:
name: Pack Api CrabImport
uses: Informatievlaanderen/build-pipeline/.github/workflows/pack.yml@main
needs: [ set-release-version ]
if: ${{ (github.repository_owner == 'Informatievlaanderen') && (needs.set-release-version.outputs.version != 'none') }}
with:
pack-file: Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.CrabImport
test-project: StreetNameRegistry.Tests
build-project: StreetNameRegistry.Api.CrabImport
semver: ${{ needs.set-release-version.outputs.version }}
secrets: inherit

build-lambda-backoffice:
name: Build Lambda
uses: Informatievlaanderen/build-pipeline/.github/workflows/build-lambda.yml@main
Expand All @@ -357,12 +330,10 @@ jobs:
, pack-api-legacy
, pack-api-oslo
, pack-api-extract
, pack-api-crab-import
, build-api-backoffice
, build-api-legacy
, build-api-oslo
, build-api-extract
, build-api-crab-import
, build-projector
, build-projections-backoffice
, build-projections-syndication
Expand Down Expand Up @@ -460,13 +431,6 @@ jobs:
name: nuget-Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.Extract-${{ needs.set-release-version.outputs.version }}
path: dist/nuget/

- name: Download NuGet Api CrabImport
uses: actions/download-artifact@v3
continue-on-error: false
with:
name: nuget-Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.CrabImport-${{ needs.set-release-version.outputs.version }}
path: dist/nuget/

- name: Run Semantic Release
shell: bash
run: npx semantic-release
Expand Down Expand Up @@ -628,12 +592,6 @@ jobs:
name: nuget-Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.Extract-${{ needs.release.outputs.version }}
path: ~/

- name: Download NuGet package api-crab-import
uses: actions/download-artifact@v3
with:
name: nuget-Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.CrabImport-${{ needs.release.outputs.version }}
path: ~/

- name: Publish packages to NuGet
shell: bash
run: |
Expand All @@ -642,7 +600,6 @@ jobs:
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.Legacy.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.Oslo.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.Extract.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.StreetNameRegistry.Api.CrabImport.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
env:
SEMVER: ${{ needs.release.outputs.version }}
WORKSPACE: ${{ github.workspace }}
Expand Down Expand Up @@ -720,7 +677,6 @@ jobs:
'api-backoffice'
, 'api-legacy'
, 'api-oslo'
, 'api-crab-import'
, 'api-extract'
, 'projector'
, 'projections-syndication'
Expand Down Expand Up @@ -781,7 +737,6 @@ jobs:
'api-backoffice'
, 'api-legacy'
, 'api-oslo'
, 'api-crab-import'
, 'api-extract'
, 'projector'
, 'projections-syndication'
Expand Down Expand Up @@ -844,7 +799,6 @@ jobs:
'api-backoffice'
, 'api-legacy'
, 'api-oslo'
, 'api-crab-import'
, 'api-extract'
, 'projector'
, 'projections-syndication'
Expand Down Expand Up @@ -907,7 +861,6 @@ jobs:
'api-backoffice'
, 'api-legacy'
, 'api-oslo'
, 'api-crab-import'
, 'api-extract'
, 'projector'
, 'projections-syndication'
Expand Down Expand Up @@ -989,7 +942,6 @@ jobs:
matrix:
services: [
'streetname-registry-api'
, 'streetname-registry-import-api'
, 'streetname-registry-projections'
, 'streetname-registry-producer'
, 'streetname-registry-producer-snapshot-oslo'
Expand Down

0 comments on commit 6c59155

Please sign in to comment.