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
emalfroy committed Dec 5, 2023
1 parent 695fdcd commit 4e8c1e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 175 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy_newprd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Manual New Production Deploy
name: Manual Production Deploy

concurrency: Manual New Production Deploy
concurrency: Manual Production Deploy

on:
workflow_dispatch:
Expand All @@ -12,7 +12,7 @@ on:
jobs:
deploy_to_production_start_slack:
if: github.repository_owner == 'Informatievlaanderen'
name: Deploy to new production started
name: Deploy to production started
environment: prd
runs-on: ubuntu-latest

Expand All @@ -25,7 +25,7 @@ jobs:
uses: slackapi/slack-github-action@v1.23.0
with:
channel-id: '#team-dinosaur-dev'
slack-message: Deployment of building-registry to new production has started
slack-message: Deployment of building-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 All @@ -58,7 +58,7 @@ jobs:
STATUS_URL: ${{ secrets.VBR_AWS_BUILD_STATUS_API }}/${{matrix.services}}
uses: informatievlaanderen/awscurl-polling-action/polling-action@main
with:
environment: acc
environment: prd
version: ${{ github.event.inputs.version }}
status-url: $STATUS_URL
deploy-url: $BUILD_URL
Expand All @@ -77,7 +77,7 @@ jobs:
deploy_lambda_to_production:
if: github.repository_owner == 'Informatievlaanderen'
needs: [deploy_to_production]
name: Deploy lambda to new production
name: Deploy lambda to production
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -112,7 +112,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 @@ -124,7 +124,7 @@ jobs:
uses: slackapi/slack-github-action@v1.23.0
with:
channel-id: '#team-dinosaur-dev'
slack-message: Deployment of building-registry to new production has finished
slack-message: Deployment of building-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: building-registry
build-target: Containerize_ApiCrabImport
image-file: br-api-crab-import-image.tar
image-name: api-crab-import
test-project: BuildingRegistry.Tests
build-project: BuildingRegistry.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.BuildingRegistry.Api.CrabImport
test-project: BuildingRegistry.Tests
build-project: BuildingRegistry.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 @@ -461,13 +432,6 @@ jobs:
name: nuget-Be.Vlaanderen.Basisregisters.BuildingRegistry.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.BuildingRegistry.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 @@ -629,12 +593,6 @@ jobs:
name: nuget-Be.Vlaanderen.Basisregisters.BuildingRegistry.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.BuildingRegistry.Api.CrabImport-${{ needs.release.outputs.version }}
path: ~/

- name: Publish packages to NuGet
shell: bash
run: |
Expand All @@ -643,7 +601,6 @@ jobs:
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.BuildingRegistry.Api.Legacy.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.BuildingRegistry.Api.Oslo.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.BuildingRegistry.Api.Extract.$SEMVER.nupkg --source nuget.org --api-key $NUGET_API_KEY
dotnet nuget push ~/Be.Vlaanderen.Basisregisters.BuildingRegistry.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 @@ -721,7 +678,6 @@ jobs:
'api-backoffice',
'api-legacy',
'api-oslo',
'api-crab-import',
'api-extract',
'projector',
'projections-syndication',
Expand Down Expand Up @@ -783,7 +739,6 @@ jobs:
'api-backoffice',
'api-legacy',
'api-oslo',
'api-crab-import',
'api-extract',
'projector',
'projections-syndication',
Expand Down Expand Up @@ -847,7 +802,6 @@ jobs:
'api-backoffice',
'api-legacy',
'api-oslo',
'api-crab-import',
'api-extract',
'projector',
'projections-syndication',
Expand Down Expand Up @@ -910,7 +864,6 @@ jobs:
'api-backoffice',
'api-legacy',
'api-oslo',
'api-crab-import',
'api-extract',
'projector',
'projections-syndication',
Expand Down Expand Up @@ -994,7 +947,6 @@ jobs:
matrix:
services: [
'building-registry-api',
'building-registry-import-api',
'building-registry-projections',
'building-registry-producer',
'building-registry-producer-snapshot-oslo',
Expand Down

0 comments on commit 4e8c1e9

Please sign in to comment.