Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Deprecate legacy CLI #157

Deprecate legacy CLI

Deprecate legacy CLI #157

Workflow file for this run

name: Test CI pipeline for staging
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build test container
run: docker build --target=test -t debricked/debricked-cli-test .
- name: Run tests
run: docker run -e DEBRICKED_API_URI="$URI" -e DEBRICKED_USERNAME="$USER" -e DEBRICKED_PASSWORD="$PASS" -e DEBRICKED_TOKEN="$TOKEN" -e EXCLUDED_DIRECTORIES="$EXCLUDED_DIRECTORIES" debricked/debricked-cli-test
env:
USER: ${{ secrets.DEBRICKED_STAGING_USERNAME }}
PASS: ${{ secrets.DEBRICKED_STAGING_PASSWORD }}
TOKEN: ${{ secrets.DEBRICKED_STAGING_TOKEN }}
URI: ${{ secrets.DEBRICKED_STAGING_URI }}
EXCLUDED_DIRECTORIES: "vendor,tests"