Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejmacq-dev committed Oct 27, 2023
1 parent 42a9757 commit 22d555f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing-template-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Setup
run: |
pip install --upgrade pip
pip install copier==8.3.0
pip install copier==7.0.1 pydantic==1.10.13
- name: Check Defaults
run: copier copy "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git" ./template-test-path --defaults
list-scenarios:
Expand Down
56 changes: 4 additions & 52 deletions copier.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# questions
project_name:
type: str
help: Name of the project (use alphanumeric characters with _)
default: my_new_project
default: my_new_project_123

project_description:
type: str
help: Short project description
default: Project for transforming data

dupa_description:
type: str
help: Short project description
default: XXXXXXXXX

gcp_dev_project_id:
type: str
help: Project id used in GCP as development environment
Expand All @@ -21,7 +17,7 @@ gcp_dev_project_id:
gcp_prod_project_id:
type: str
help: Project id used in GCP as production environment
default: 123456789
default: 987654321

pipeline_owner:
type: str
Expand All @@ -38,52 +34,8 @@ dataset:
help: Name of the dataset
default: presentation

use_ingestion:
type: bool
help: Would you like to use ingestion framework?
default: false

destination_id_dev:
when: "[[ use_ingestion ]]"
type: str
help: Destination Id for dev instance

source_id_dev:
type: str
help: Source Id for dev instance
when: "[[ use_ingestion ]]"

destination_id_prod:
when: "[[ use_ingestion ]]"
type: str
help: Destination Id for prod instance

source_id_prod:
when: "[[ use_ingestion ]]"
type: str
help: Source Id for prod instance

use_bi:
type: bool
help: Would you like to use Business Intelligence (e.g. Looker)?
default: false

_exclude:
- .git
- .github

_skip_if_exists:
- models
- tests

#_tasks:
# - "git add -A"
# - "git commit -m 'Initial project or upgrade'"
# - "git push"

_min_copier_version: "8.3.0"

_templates_suffix: .tmpl
_min_copier_version: "8.0.0"

_envops:
autoescape: false
Expand Down

0 comments on commit 22d555f

Please sign in to comment.