grim/convey

34da49589eac
Parents 8d1e9a570376
Children 86694452d869
remove the old manual tests as we weren't running them anyways
--- a/tests/breakout.yml Sat Dec 18 05:51:45 2021 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-tasks:
- import-bad:
- type: convey/import
- files: /etc/ssl:/ssl
- import:
- type: convey/import
- files: breakout.yml
- export-bad:
- type: convey/export
- files: breakout.yml:/
- export:
- type: convey/export
- files: breakout.yml:qux/quux/free.yml
-plans:
- default:
- stages:
- - tasks:
- - import
- - export
- import-bad:
- stages:
- - tasks:
- - import-bad
- export-bad:
- stages:
- - tasks:
- - import
- - export-bad
--- a/tests/clean.yml Sat Dec 18 05:51:45 2021 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# This is a simple test that makes sure the clean task can remove files that
-# have an environment variable in their name.
----
-environment:
- - HOST_PATH=.
-tasks:
- clean:
- type: convey/clean
- files:
- - ${HOST_PATH}/dirty
- - ${HOST_PATH}/**/bar.baz
-plans:
- default:
- stages:
- - tasks: clean
--- a/tests/codebuild/buildspec.yml Sat Dec 18 05:51:45 2021 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-version: 0.2
-
-env:
- variables:
- JAVA_HOME: "/usr/lib/jvm/java-8-openjdk-amd64"
- parameter-store:
- LOGIN_PASSWORD: "dockerLoginPassword"
-
-phases:
- install:
- commands:
- - echo Entered the install phase...
- - apt-get update -y
- - apt-get install -y maven
- pre_build:
- commands:
- - echo Entered the pre_build phase...
- - docker login –u User –p $LOGIN_PASSWORD
- build:
- commands:
- - echo Entered the build phase...
- - echo Build started on `date`
- - mvn install
- post_build:
- commands:
- - echo Entered the post_build phase...
- - echo Build completed on `date`
-artifacts:
- files:
- - target/messageUtil-1.0.jar
- discard-paths: yes
-cache:
- paths:
- - '/root/.m2/**/*'
-
--- a/tests/slow.yml Sat Dec 18 05:51:45 2021 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-tasks:
- slow:
- type: docker/run
- image: alpine:edge
- script: sleep 5
-
-plans:
- default:
- stages:
- - name: first
- tasks: slow
- - name: second
- tasks: slow
- - name: third
- tasks: slow
--- a/tests/test-workdir.yml Sat Dec 18 05:51:45 2021 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-# This test just ensure that we can set the workdir to ${CONVEY_WORKSPACE}
-# successfully
-
-tasks:
- basic:
- type: docker/run
- image: alpine:edge
- workdir: ${CONVEY_WORKSPACE}
- script:
- - pwd
- - ls
-plans:
- default:
- stages:
- - tasks: basic
-