Skip to content

Commit

Permalink
Test7
Browse files Browse the repository at this point in the history
  • Loading branch information
david22swan committed Jul 2, 2024
1 parent 74f09c9 commit 97b3cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
ruby-version: '3.2'
bundler-cache: true

- name: "test"
- name: "provision machine"
run: |
cat <<EOF > test_machines.json
{
Expand All @@ -49,7 +49,7 @@ jobs:
EOF
curl -X POST -H "Authorization:bearer $TOKEN" https://facade-release-6f3kfepqcq-ew.a.run.app/v1/provision --data @test_machines.json > inventory.yaml
curl -X POST -H "Authorization:bearer $TOKEN" https://facade-main-6f3kfepqcq-uc.a.run.app/v1/provision --data @test_machines.json > inventory.yaml
- name: "print inventory"
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))' $*
}
echo "Target Machine: $(yaml2json ./inventory.yaml | jq -r '.groups[2].targets[0].uri')"
TARGET_HOST=$(yaml2json ./inventory.yaml | jq -r '.groups[2].targets[0].uri') bundle exec rspec ./spec/acceptance/
TARGET_HOST="$(yaml2json ./inventory.yaml | jq -r '.groups[2].targets[0].uri')" bundle exec rspec ./spec/acceptance/
# target=$(yaml2json ../inventory.yaml | jq -r '.groups[1].targets[0].uri')
# TARGET_HOST=35.185.225.136 bundle exec rspec ./spec/acceptance/

0 comments on commit 97b3cc2

Please sign in to comment.