Skip to content

Commit

Permalink
Update csit-1-node.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushishu committed Sep 28, 2023
1 parent 4b2c15a commit a13824a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/csit-1-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
run: |
# Configure Jolokia for the 'aaa' test suite
docker exec -i odl-container bash -c \
'echo "org.jolokia.authMode=basic" >> /home/youruser/karaf-0.18.1/etc/org.jolokia.osgi.cfg && \
echo "org.jolokia.user=admin" >> /home/youruser/karaf-0.18.1/etc/org.jolokia.osgi.cfg && \
echo "org.jolokia.password=admin" >> /home/youruser/karaf-0.18.1/etc/org.jolokia.osgi.cfg'
'echo "org.jolokia.authMode=basic" >> /home/user/karaf-0.18.1/etc/org.jolokia.osgi.cfg && \
echo "org.jolokia.user=admin" >> /home/user/karaf-0.18.1/etc/org.jolokia.osgi.cfg && \
echo "org.jolokia.password=admin" >> /home/user/karaf-0.18.1/etc/org.jolokia.osgi.cfg'
- name: Setup SSH
run: |
# Set up SSH in the container
docker exec odl-container bash -c "mkdir -p /home/youruser/.ssh && touch /home/youruser/.ssh/authorized_keys"
docker exec odl-container bash -c "mkdir -p /home/user/.ssh && touch /home/user/.ssh/authorized_keys"
- name: Start robot container
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
run: |
# Add the public key to the OpenDaylight container
PUB_KEY=$(cat id_rsa.pub)
docker exec odl-container bash -c "mkdir -p /home/youruser/.ssh && echo \"$PUB_KEY\" >> /home/youruser/.ssh/authorized_keys"
docker exec odl-container bash -c "mkdir -p /home/user/.ssh && echo \"$PUB_KEY\" >> /home/user/.ssh/authorized_keys"
- name: Delay for 30 seconds
run: sleep 30
Expand All @@ -82,11 +82,11 @@ jobs:
docker exec robot bash -c "git clone https://github.com/opendaylight/integration-test.git &&
cd integration-test/csit/suites/${test_suite} &&
robot -L debug --variable USER_HOME:/root \
--variable WORKSPACE:/home/youruser \
--variable WORKSPACE:/home/user \
-v BUNDLEFOLDER:karaf-0.18.1 \
-v ODL_STREAM:argon \
--variable DEFAULT_LINUX_PROMPT:\\\$ \
--variable ODL_SYSTEM_USER:youruser \
--variable ODL_SYSTEM_USER:user \
--variable ODL_SYSTEM_IP:opendaylight \
--variable ODL_SYSTEM_1_IP:opendaylight \
-v IS_KARAF_APPL:True \
Expand Down

0 comments on commit a13824a

Please sign in to comment.