Drop Travis CI support
- Update test suites
Fixes: PROD-25037 (PROD:25037)
Change-Id: Ibd3b3b711d28dcc8ff273120a4040dc88784c33a
diff --git a/tests/pillar/system.sls b/tests/pillar/system.sls
index 636d494..73448aa 100644
--- a/tests/pillar/system.sls
+++ b/tests/pillar/system.sls
@@ -5,6 +5,35 @@
fqdn: linux.ci.local
system:
enabled: true
+ banner:
+ enabled: true
+ contents: |
+ ================= WARNING =================
+ This is tcpcloud network.
+ Unauthorized access is strictly prohibited.
+ ===========================================
+ file:
+ /tmp/sample.txt:
+ source: http://techslides.com/demos/samples/sample.txt
+ source_hash: 5452459724e85b4e12277d5f8aab8fc9
+ sample2.txt:
+ name: /tmp/sample2.txt
+ source: http://techslides.com/demos/samples/sample.txt
+ test2:
+ name: /tmp/test2.txt
+ contents: |
+ line1
+ line2
+ user: root
+ group: root
+ mode: 700
+ dir_mode: 700
+ encoding: utf-8
+ makedirs: true
+ test3:
+ name: /tmp/test3.txt
+ source: salt://linux/files/test/file_template.jinja
+ template: jinja
apt:
preferences:
enabled: true
diff --git a/tests/pillar/system_banner.sls b/tests/pillar/system_banner.sls
deleted file mode 100644
index 87042a7..0000000
--- a/tests/pillar/system_banner.sls
+++ /dev/null
@@ -1,15 +0,0 @@
-linux:
- network:
- enabled: true
- hostname: linux
- fqdn: linux.ci.local
- system:
- enabled: true
- name: linux
- banner:
- enabled: true
- contents: |
- ================= WARNING =================
- This is tcpcloud network.
- Unauthorized access is strictly prohibited.
- ===========================================
diff --git a/tests/pillar/system_file.sls b/tests/pillar/system_file.sls
deleted file mode 100644
index 09900af..0000000
--- a/tests/pillar/system_file.sls
+++ /dev/null
@@ -1,32 +0,0 @@
-linux:
- network:
- enabled: true
- hostname: linux
- fqdn: linux.ci.local
- system:
- name: linux
- enabled: true
- file:
- /tmp/sample.txt:
- source: http://techslides.com/demos/samples/sample.txt
- source_hash: 5452459724e85b4e12277d5f8aab8fc9
- sample2.txt:
- name: /tmp/sample2.txt
- source: http://techslides.com/demos/samples/sample.txt
- test2:
- name: /tmp/test2.txt
- contents: |
- line1
- line2
- user: root
- group: root
- mode: 700
- dir_mode: 700
- encoding: utf-8
- makedirs: true
- test3:
- name: /tmp/test3.txt
- source: salt://linux/files/test/file_template.jinja
- template: jinja
-test:
- example: "bar"