-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
937 additions
and
271 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: teardown | ||
run-name: Destroy all entities in Seqera Platform from end-to-end with seqerakit | ||
# This workflow can be triggered manually with GitHub actions workflow dispatch button. | ||
# It will automate removing the e2e testing workspace. | ||
|
||
on: | ||
workflow_dispatch: | ||
jobs: | ||
e2e-testing: | ||
name: | ||
if: github.repository == 'seqeralabs/seqera-kit' | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
env: | ||
TOWER_ACCESS_TOKEN: ${{ secrets.TOWER_ACCESS_TOKEN }} | ||
TOWER_GITHUB_PASSWORD: ${{ secrets.TOWER_GITHUB_PASSWORD }} | ||
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_ASSUME_ROLE_ARN: ${{ secrets.AWS_ASSUME_ROLE_ARN }} | ||
AZURE_BATCH_KEY: ${{ secrets.AZURE_BATCH_KEY }} | ||
AZURE_STORAGE_KEY: ${{ secrets.AZURE_STORAGE_KEY }} | ||
GOOGLE_KEY: ${{ secrets.GOOGLE_KEY }} | ||
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }} | ||
|
||
steps: | ||
- name: Check out source-code repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup conda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-update-conda: true | ||
environment-file: environment.yml | ||
python-version: '3.12' | ||
mamba-version: '*' | ||
channels: conda-forge,bioconda,defaults | ||
activate-environment: seqerakit | ||
use-mamba: true | ||
|
||
- name: Install pip & seqerakit | ||
run: | | ||
pip install -e . | ||
- name: teardown | ||
run: | | ||
mamba init | ||
temp_file=$(mktemp -q) | ||
echo $GOOGLE_KEY | base64 -d > $temp_file | ||
export GOOGLE_KEY=$temp_file | ||
seqerakit --delete examples/yaml/seqerakit-e2e.yml |
Oops, something went wrong.