Skip to content

Commit

Permalink
Merge pull request #1031 from newrelic/code-modify
Browse files Browse the repository at this point in the history
refactor: Add Code to install git in EC2 instance
  • Loading branch information
Nandu-pns authored Jan 30, 2024
2 parents 25cc74f + 237ae30 commit 73ac866
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/deploy/onboarding-tests/roles/configure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@

- name: Set test account email from Synthetic secrets
set_fact:
test_email: "{{ test_email }}"
"test_email": "{{ test_email }}"

- name: Set test account password from Synthetic secrets
set_fact:
test_password: "{{ test_password }}"
"test_password": "{{ test_password }}"

- name: Create directory
shell: "mkdir -p ~/tests && chmod 777 ~/tests"

- name: Install Git on Linux
become: yes
apt:
name: git
state: present

- name: Clone the Onboarding tests repository
git:
repo: https://github.com/newrelic/onboarding-e2e-tests.git
Expand Down Expand Up @@ -45,3 +51,4 @@
shell: "npx playwright test --config=playwright.config.validations.js"
args:
chdir: ~/tests/onboarding-e2e-tests

0 comments on commit 73ac866

Please sign in to comment.