Browse Source

Add apt-get update in application deployment

apt-get update should be performed first before installing the
debian packages, otherwise it may breaks during the application
script execution in tests.

Change-Id: I0c2e35fe1c05182ab7a9db094f787df9a8df1248
Rocky 1 year ago
parent
commit
8829dd49cd

+ 1
- 0
murano_tempest_tests/extras/io.murano.apps.test.ApacheHttpServerCustom/Classes/ApacheHttpServer.yaml View File

@@ -58,6 +58,7 @@ Methods:
58 58
           - $resources: new(sys:Resources)
59 59
           - $linux: new(conf:Linux)
60 60
 
61
+          - $linux.runCommand($.instance.agent, 'apt-get update')
61 62
           - $linux.runCommand($.instance.agent, 'apt-get -y install apache2')
62 63
           - $linux.runCommand($.instance.agent, 'iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT')
63 64
           - $linux.runCommand($.instance.agent, 'iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT')

Loading…
Cancel
Save