Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Remove actions to deploy directly to k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
aelkiss committed Sep 11, 2023
1 parent 02656c6 commit 647240c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 85 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build latest from main and deploy to staging

on:
workflow_run:
workflows: [ 'Run Tests']
branches: [ 'main' ]
types: [ completed ]
workflows: ['Run Tests']
branches: ['main']
types: [completed]

jobs:
build:
Expand All @@ -22,17 +22,6 @@ jobs:
push_latest: true
registry_token: ${{ github.token }}

deploy-staging:
needs: build
runs-on: ubuntu-latest
environment: staging
steps:
- name: Deploy to staging
uses: mlibrary/deploy-to-kubernetes@v3
with:
registry_token: ${{ github.token }}
image: ghcr.io/${{ github.repository }}-unstable:${{ github.sha }}
cluster_ca: ${{ secrets.KUBERNETES_CA }}
cluster_server: ${{ secrets.KUBERNETES_SERVER }}
namespace_token: ${{ secrets.KUBERNETES_TOKEN }}
namespace: ${{ secrets.KUBERNETES_NAMESPACE }}
# TODO: automate deployment w/ argocd
# for now - update image in
# https://github.com/hathitrust/ht_tanka/blob/main/environments/search_client/staging/main.jsonnet
23 changes: 0 additions & 23 deletions .github/workflows/deploy-production.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/manual-deploy-testing.yml

This file was deleted.

0 comments on commit 647240c

Please sign in to comment.