Skip to content

Commit

Permalink
chore: remove unused titus deployment from the pipeline
Browse files Browse the repository at this point in the history
Titus is now used anymore so the deployment can be removed
  • Loading branch information
jlehtimaki committed Sep 26, 2023
1 parent 4939ce5 commit 2dd48a2
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,3 @@ jobs:
env:
GORELEASER_SKIP_VALIDATE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

deploy-titus:
runs-on: ubuntu-latest

needs:
- release-dev

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set short git commit SHA
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Inject version and secrets to titus-1.yaml
run: |
sed -i -e "s|NODE_VERSION|${{ steps.vars.outputs.sha_short }}|g" ci/titus-1.yaml
sed -i -e "s|TITUS_1_ACCOUNT_MNEMONIC_B64|${{ secrets.TITUS_1_ACCOUNT_MNEMONIC_B64 }}|g" ci/titus-1.yaml
sed -i -e "s|TITUS_1_FAUCET_ACCOUNT_MNEMONIC_B64|${{ secrets.TITUS_1_FAUCET_ACCOUNT_MNEMONIC_B64 }}|g" ci/titus-1.yaml
sed -i -e "s|TITUS_1_PRIV_VALIDATOR_KEY_B64|${{ secrets.TITUS_1_PRIV_VALIDATOR_KEY_B64 }}|g" ci/titus-1.yaml
- name: Deploy Chain
uses: steebchen/kubectl@v2.0.0
with:
config: ${{ secrets.GKE_SHARED_NONPROD_GH_ACTIONS_BOT_KUBECONFIG }}
command: apply -n testnets -f ci/titus-1.yaml

0 comments on commit 2dd48a2

Please sign in to comment.