Skip to content

Commit

Permalink
enable kafka topic deploy, slett gammel deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
alpet committed Sep 21, 2023
1 parent 0bc0991 commit aa3815b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 82 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/kafka-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
#name: Deploy kafka topics to dev
#on:
# push:
# branches:
# - 'main'
# paths:
# - '.nais/kafka/kafka-dev.yaml'
# - '.github/workflows/kafka-dev.yaml'
#env:
# TOPIC_FILE: .nais/kafka/kafka-dev.yaml
name: Deploy kafka topics to dev
on:
push:
branches:
- 'main'
paths:
- '.nais/kafka/kafka-dev.yaml'
- '.github/workflows/kafka-dev.yaml'
env:
TOPIC_FILE: .nais/kafka/kafka-dev.yaml

#jobs:
# deploy-to-dev:
# name: Deploy to dev-gcp
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Deploy topics to dev
# uses: nais/deploy/actions/deploy@v1
# env:
# APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
# CLUSTER: dev-gcp
# VAR: kafka-pool=nav-dev
# RESOURCE: ${{ env.TOPIC_FILE }}
jobs:
deploy-to-dev:
name: Deploy to dev-gcp
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy topics to dev
uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
VAR: kafka-pool=nav-dev
RESOURCE: ${{ env.TOPIC_FILE }}
58 changes: 0 additions & 58 deletions .github/workflows/main.yaml

This file was deleted.

0 comments on commit aa3815b

Please sign in to comment.