-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removes popper init as we do not rely on .popper.yml file anymore * removes docker calls from dry-run test * cleanup for 'popper dot' * info and action_info levels of logger are now printed to stdout. Everything else to stderr * adds code for dealing with unreachable actions * adds fix for unreachable actions in scaffolded workflow in 'test scaffold' * improves some messages fixes #611
- Loading branch information
Showing
18 changed files
with
366 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ before_install: | |
- wget http://neurodeb.pirsquared.org/pool/main/s/singularity-container/singularity-container_2.6.1-2~nd16.04+1_amd64.deb | ||
- sudo apt-get -f install ./singularity-container_2.6.1-2~nd16.04+1_amd64.deb | ||
- pip install git+https://github.com/virtuald/[email protected]#egg=pyhcl | ||
script: | ||
install: | ||
- pip install cli/ | ||
- which popper | ||
script: | ||
- popper run --recursive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,21 +16,30 @@ pushd /tmp/npm | |
DOCKER_USERNAME=foo DOCKER_PASSWORD=bar popper run "Integration Test" | ||
popd | ||
|
||
# test with actions hosted on gitlab | ||
# test with a remote action defined on the root of the repo | ||
init_test_repo | ||
cd $test_repo_path | ||
cat <<EOF > main.workflow | ||
workflow "clone" { | ||
resolves = "test clone git@" | ||
workflow "action on root folder" { | ||
resolves = "test" | ||
} | ||
action "test clone https" { | ||
uses = "https://gitlab.com/barbaragd/action-test.git@master" | ||
action "test" { | ||
uses = "popperized/ansible@master" | ||
args = "--version" | ||
secrets = ["ANSIBLE_SSH_KEY_DATA"] | ||
} | ||
EOF | ||
|
||
ANSIBLE_SSH_KEY_DATA="$(echo 'dummydata' | base64)" popper run | ||
|
||
action "test clone git@"{ | ||
uses = "[email protected]:barbaragd/action-test.git@master" | ||
needs = "test clone https" | ||
# test with actions hosted on gitlab | ||
cd $test_repo_path | ||
cat <<EOF > main.workflow | ||
workflow "clone" { | ||
resolves = "test" | ||
} | ||
action "test" { | ||
uses = "https://gitlab.com/barbaragd/action-test@master" | ||
} | ||
EOF | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.