Skip to content

Commit

Permalink
fjern smtp listeners og send in fra deplot listen
Browse files Browse the repository at this point in the history
  • Loading branch information
alpet committed Oct 3, 2024
1 parent 63d8c09 commit ee9e0e3
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/old-build-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ env:
"IMAGE_EBMS": "ghcr.io/${{ github.repository }}/ebms-provider:${{ github.sha }}"
"IMAGE_CPA": "ghcr.io/${{ github.repository }}/cpa-repo:${{ github.sha }}"
"IMAGE_PAYLOAD": "ghcr.io/${{ github.repository }}/ebms-payload:${{ github.sha }}"
"IMAGE_LISTENERS": "ghcr.io/${{ github.repository }}/smtp-listeners:${{ github.sha }}"
"IMAGE_SEND_IN": "ghcr.io/${{ github.repository }}/ebms-send-in:${{ github.sha }}"
jobs:
build:
name: "build"
Expand Down Expand Up @@ -53,10 +51,6 @@ jobs:
run: "docker build cpa-repo --pull --tag ${IMAGE_CPA} -f Dockerfile && docker push ${IMAGE_CPA}"
- name: "Build and push ebms-payload Docker image"
run: "docker build ebms-payload --pull --tag ${IMAGE_PAYLOAD} -f Dockerfile && docker push ${IMAGE_PAYLOAD}"
- name: "Build and push smtp-listeners Docker image"
run: "docker build smtp-listeners --pull --tag ${IMAGE_LISTENERS} -f Dockerfile && docker push ${IMAGE_LISTENERS}"
- name: "Build and push ebms-send-in Docker image"
run: "docker build ebms-send-in --pull --tag ${IMAGE_SEND_IN} -f Dockerfile && docker push ${IMAGE_SEND_IN}"
deploy-processor:
name: "Deploy ebms provider to PROD"
needs: "build"
Expand Down Expand Up @@ -95,32 +89,4 @@ jobs:
APIKEY: "${{ secrets.NAIS_DEPLOY_APIKEY }}"
CLUSTER: "prod-fss"
RESOURCE: ".nais/ebms-payload-prod.yaml"
IMAGE: ${{env.IMAGE_PAYLOAD}}
deploy-smtp-listeners:
name: "Deploy smtp-listeners to prod"
needs: "build"
runs-on: "ubuntu-20.04"
steps:
- uses: "actions/checkout@v4"
- name: "Deploy to PROD"
uses: "nais/deploy/actions/deploy@v1"
env:
APIKEY: "${{ secrets.NAIS_DEPLOY_APIKEY }}"
CLUSTER: "prod-fss"
RESOURCE: ".nais/smtp-listeners-prod.yaml"
IMAGE: ${{env.IMAGE_LISTENERS}}
deploy-ebms-send-in:
name: "Deploy ebms-send-in to prod"
needs: "build"
runs-on: "ubuntu-20.04"
permissions:
contents: read
id-token: write
steps:
- uses: "actions/checkout@v4"
- name: "Deploy to PROD"
uses: "nais/deploy/actions/deploy@v2"
env:
CLUSTER: "prod-fss"
RESOURCE: ".nais/ebms-send-in-prod.yaml"
IMAGE: ${{env.IMAGE_SEND_IN}}
IMAGE: ${{env.IMAGE_PAYLOAD}}

0 comments on commit ee9e0e3

Please sign in to comment.