Auto container test (#8)
* Add test workflow * Add test workflow * Add descriptions to test workflow * Add manual trigger to test * Remove YAML delimiters from test.yml * Update syntax to ignore main * Fix test file name * Publish test report * Fix container-structure-test race condition * Fix container-structure-test download * Reconfigure tests
This commit is contained in:
19
structure_tests.yml
Normal file
19
structure_tests.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
schemaVersion: '2.0.0'
|
||||
|
||||
fileExistenceTests:
|
||||
- name: 'Check HESK folder'
|
||||
path: '/srv'
|
||||
shouldExist: true
|
||||
- name: 'Check Apache config exists'
|
||||
path: '/etc/apache2/sites-enabled/000-default.conf'
|
||||
shouldExist: true
|
||||
|
||||
# Failng - need to figure out why
|
||||
# fileContentTests:
|
||||
# - name: 'Check Apache config has contents'
|
||||
# path: '/etc/apache2/sites-enabled/000-default.conf'
|
||||
# expectedContents: ['.*VirtualHost.*']
|
||||
|
||||
metadataTest:
|
||||
exposedPorts: ["80"]
|
||||
# user: "www-data"
|
||||
Reference in New Issue
Block a user