Skip to content

Commit

Permalink
added env vars for collector and mysql deployment in pre-main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shirmoran committed Oct 26, 2023
1 parent b32f838 commit 07992a8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pre-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ jobs:
SHELL: /bin/bash
KUBECONFIG: '/home/runner/.kube/config'
PFLT_DOCKERCONFIG: '/home/runner/.docker/config'
DB_URL: ${{ secrets.COLLECTOR_DB_CI_URL }}
DB_USER: ${{ secrets.COLLECTOR_MYSQL_USER }}
DB_PASSWORD: ${{ secrets.COLLECTOR_MYSQL_PASSWORD }}
MYSQL_ROOT_PASSWORD: ${{ secrets.COLLECTOR_DB_ROOT_PASSWORD }}

steps:
- name: Free Disk Space (Ubuntu)
Expand Down Expand Up @@ -379,9 +383,9 @@ jobs:
repository: shirmoran/collector
ref: use-tnf-secrets-repo
path: collector

# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Deploy collector and mysql
uses: ./collector/.github/actions/prepare-collector-for-use
Expand Down Expand Up @@ -433,10 +437,7 @@ jobs:
repository: shirmoran/collector
ref: use-tnf-secrets-repo
path: collector

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3


- name: Run sanity check on collector
uses: ./collector/.github/actions/run-sanity-check
with:
Expand Down

0 comments on commit 07992a8

Please sign in to comment.