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

Commit

Permalink
Adding download of values
Browse files Browse the repository at this point in the history
  • Loading branch information
dwendland committed Jul 4, 2023
1 parent 0ff2d46 commit 8438338
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ concurrency:
cancel-in-progress: false

env:
GITOPS_REPO: https://github.com/FIWARE-Ops/fiware-gitops/tree/master/aws
# Repo containing participant connector values file in respective namespace folder
#GITOPS_REPO: https://github.com/FIWARE-Ops/fiware-gitops/tree/master/aws
GITOPS_REPO: https://raw.githubusercontent.com/FIWARE-Ops/fiware-gitops/master/aws

# Directory for each participant containing connector values file
VALUES_DIR: data-space-connector

jobs:

deploy:

runs-on: ubuntu-latest

# Deployment for participants, <GITOPS_REPO> must contain folder for each participant
strategy:
matrix:
participant: ["packet-delivery-dsc"]
Expand Down Expand Up @@ -55,4 +61,8 @@ jobs:
run: |
echo ${{ matrix.participant }}
- name: Download values for participant
run: |
cd data-space-connector
wget -O values-participant.yaml ${{ env.GITOPS_REPO }}/${{ steps.branch-name.outputs.current_branch }}/${{ matrix.participant }}/${{ env.GITOPS_REPO }}/values.yaml
cat values-participant.yaml

0 comments on commit 8438338

Please sign in to comment.