Skip to content

Commit

Permalink
fix: remove deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
psincraian committed Jul 21, 2023
1 parent 49356c0 commit b7e8257
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,30 +41,4 @@ jobs:
- name: Start environment
run: DOCKER_TAG=latest make start-containers
- name: Run tests
run: DOCKER_TAG=latest make params=-T tests
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v1
- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- name: Save DigitalOcean kubeconfig with short-lived credentials
run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 ${{ secrets.CLUSTER_NAME }}
- name: Deploy to DigitalOcean Kubernetes
run: kubectl apply --recursive -f $GITHUB_WORKSPACE/infrastructure/k8s
- name: Rollout
run: kubectl rollout restart deployment pepy
- name: Verify deployment
run: kubectl rollout status deployment/pepy
- name: Create New Relic deployment marker
uses: newrelic/deployment-marker-action@v1
with:
apiKey: ${{ secrets.NEW_RELIC_API_KEY }}
accountId: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
applicationId: ${{ secrets.NEW_RELIC_APPLICATION_ID }}
revision: "${{ github.sha }}"
region: EU
run: DOCKER_TAG=latest make params=-T tests
6 changes: 3 additions & 3 deletions infrastructure/k8s/mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ spec:
timeoutSeconds: 10
resources:
requests:
memory: "500Mi"
cpu: "250m"
memory: "800Mi"
cpu: "500m"
limits:
memory: "1G"
cpu: "500m"
cpu: "750m"
volumeClaimTemplates:
- metadata:
name: mongodb-volume
Expand Down

0 comments on commit b7e8257

Please sign in to comment.