Create docker layer container for Docker Bench
[validation.git] / tests / docker / docker_bench / docker_bench.robot
1 ##############################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property.                             #
3 # Copyright (c) 2019 Nokia.                                                  #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License");            #
6 # you maynot use this file except in compliance with the License.            #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18
19 *** Settings ***
20 Documentation     Runs the Docker Bench for Security script which checks for
21 ...               dozens of common best-practices around deploying Docker
22 ...               containers in production.
23 Library           BuiltIn
24 Resource          docker_bench.resource
25 Suite Setup       Open Connection And Log In
26 Suite Teardown    Close All Connections
27 Test Setup        Upload Test Software To Nodes
28 Test Teardown     Remove Test Software From Nodes
29
30
31 *** Test Cases ***
32 Security Check By Docker Bench
33     Run Test Software On Nodes