Skip to content

Commit

Permalink
Merge pull request deriv-com#93 from deriv-com/ako/decommission-docke…
Browse files Browse the repository at this point in the history
…r-k8s-dr-setup

Ako/ clean up docker/k8s setup
  • Loading branch information
sandeep-deriv authored Aug 14, 2024
2 parents ca1378b + 0d29582 commit f78b467
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 115 deletions.
42 changes: 0 additions & 42 deletions .github/actions/deploy_to_kubernetes/action.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/actions/publish_to_docker/action.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MESSAGE: ${{ steps.create_slack_message.outputs.MESSAGE }}

build_and_publish_to_docker_k8s:
name: Builds and Publishes image to Docker and Kubernetes
publish_to_vercel_DR:
name: Publish to Vercel DR
runs-on: ubuntu-latest
environment: Production
needs: [build_and_publish]
Expand Down
19 changes: 1 addition & 18 deletions .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,7 @@ jobs:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CF_BRANCH: staging
PROJECT_NAME: deriv-developers-portal-pages
- name: Publish to Docker
uses: ./.github/actions/publish_to_docker
with:
DOCKER_LATEST_IMAGE_TAG: 'latest-staging'
DOCKER_IMAGE_TAG: ${{ github.ref_name }}
DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Deploy to Kubernetes
uses: ./.github/actions/deploy_to_kubernetes
with:
K8S_VERSION: ${{ github.ref_name }}
K8S_NAMESPACE: 'deriv-com-api-staging'
CA_CRT: ${{ secrets.CA_CRT }}
SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }}
KUBE_SERVER: ${{ secrets.KUBE_SERVER }}
DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }}
- name: Upload to vercel
- name: Upload to vercel DR
uses: 'deriv-com/shared-actions/.github/actions/vercel_DR_publish@master'
with:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
Expand Down

0 comments on commit f78b467

Please sign in to comment.