* 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
20 lines
493 B
YAML
20 lines
493 B
YAML
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"
|