Skip to content

Instantly share code, notes, and snippets.

@zdravko-il
Created March 20, 2023 15:34
Show Gist options
  • Save zdravko-il/5ed98abf6522b463e4549bb722edb891 to your computer and use it in GitHub Desktop.
Save zdravko-il/5ed98abf6522b463e4549bb722edb891 to your computer and use it in GitHub Desktop.
delete-schema-job:
stage: deploy
variables:
GIT_STRATEGY: none
environment:
name: $CI_COMMIT_REF_SLUG
action: stop
only:
- branches
image: zyanakiev/snowpark-devops:latest
script:
- ~/bin/snowsql -q "drop schema $SF_SCHEMA" -o friendly=false -o exit_on_error=true
when: manual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment