Skip to content

Commit

Permalink
https
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Dec 3, 2024
1 parent c24ad75 commit 13455f3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/actions/vintner-study/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Conduct Case Study'

inputs:
study:
required: true

example:
required: true

runs:
using: 'composite'
steps:
- name: (VINTNER) Conduct case study
shell: bash
run: |
APPLICATION=$(echo $EXAMPLE | cut -d '-' -f 5)
echo "application: ${APPLICATION}"
echo "study: ${STUDY}"
vintner study ${STUDY} --application ${APPLICATION} --experimental
env:
EXAMPLE: ${{ inputs.example }}
STUDY: ${{ inputs.study }}
16 changes: 15 additions & 1 deletion .github/workflows/case-study-unfurl-technology.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
ORCHESTRATOR: unfurl
EXAMPLE: unfurl-technology---shop---plus-maintenance-automated
EXAMPLE_OVERRIDE: unfurl-technology-shop-external
STUDY: technology
ENV: K8S
PORT: 80
steps:
Expand Down Expand Up @@ -58,6 +59,12 @@ jobs:
with:
orchestrator: ${{ env.ORCHESTRATOR }}

- name: (VINTNER) Conduct study
uses: ./.github/actions/vintner-study
with:
example: ${{ env.EXAMPLE }}
study: ${{ env.STUDY }}

- name: (VINTNER) Assign variability inputs
run: |
cat << EOF > /tmp/variability-inputs.yaml
Expand All @@ -78,7 +85,7 @@ jobs:
database_password: ${DB_PASSWORD}
dbms_password: ${DB_PASSWORD}
k8s_host: http://$(minikube ip):8443
k8s_host: https://$(minikube ip):8443
k8s_ca_cert_file: /home/runner/.minikube/ca.crt
k8s_client_cert_file: /home/runner/.minikube/profiles/minikube/client.crt
k8s_client_key_file: /home/runner/.minikube/profiles/minikube/client.key
Expand Down Expand Up @@ -206,6 +213,7 @@ jobs:
ORCHESTRATOR: unfurl
EXAMPLE: unfurl-technology---shop---plus-maintenance-automated
EXAMPLE_OVERRIDE: unfurl-technology-shop-vm
STUDY: technology
ENV: OS
PORT: 80
steps:
Expand Down Expand Up @@ -233,6 +241,12 @@ jobs:
with:
orchestrator: ${{ env.ORCHESTRATOR }}

- name: (VINTNER) Conduct study
uses: ./.github/actions/vintner-study
with:
example: ${{ env.EXAMPLE }}
study: ${{ env.STUDY }}

- name: (VINTNER) Assign variability inputs
run: |
cat << EOF > /tmp/variability-inputs.yaml
Expand Down

0 comments on commit 13455f3

Please sign in to comment.