Skip to content

Some minor bugs test about delete, prune and pullImage. #23

Some minor bugs test about delete, prune and pullImage.

Some minor bugs test about delete, prune and pullImage. #23

Workflow file for this run

name: "Github Action Test"
on: [push]
jobs:
integration-test:
name: Action Integration Test
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Test Stack Creation
uses: ./
with:
url: ${{ secrets.PORTAINER_URL }}
username: ${{ secrets.PORTAINER_USERNAME }}
password: ${{ secrets.PORTAINER_PASSWORD }}
environment_id: 6
stack_name: portainer-stack-deployment-test
stack_file_path: teststack.yml.mustache
mustache_variables: '{"image":"hello-world@linux"}'
pull_image: true
prune: true
- name: Test Stack Deletion
uses: ./
with:
url: ${{ secrets.PORTAINER_URL }}
username: ${{ secrets.PORTAINER_USERNAME }}
password: ${{ secrets.PORTAINER_PASSWORD }}
environment_id: 6
stack_name: portainer-stack-deployment-test
stack_file_path: teststack.yml.mustache
mustache_variables: '{"image":"hello-world"}'
delete: true