Skip to content

Commit 278dbcf

Browse files
authored
Add .env.example (#1631)
* Add .env.example Signed-off-by: wslulciuc <[email protected]> * continued: Add .env.example Signed-off-by: wslulciuc <[email protected]>
1 parent 2435ead commit 278dbcf

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
API_PORT=5000
2+
API_ADMIN_PORT=5001
3+
WEB_PORT=3000
4+
TAG=0.17.0

.gitignore

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
**/*.python-version
12
*.egg-info
23
*.iml
34
*.swp
@@ -6,26 +7,26 @@
67
.DS_Store
78
.classpath
89
.editorconfig
10+
.env
911
.gradle/
1012
.idea/
1113
.project
14+
.pytest_cache
1215
.settings
1316
.vscode/
1417
__pycache__
15-
.pytest_cache
16-
venv
1718
api/out/
1819
bin/
1920
build/
2021
clients/java/out/
2122
dist/
23+
examples/airflow/marquez.env
24+
examples/airflow/requirements.txt
25+
examples/airflow/whl
2226
integrations/airflow/tests/integration/integration-requirements.txt
2327
integrations/airflow/tests/integration/requirements.txt
24-
examples/airflow/whl
25-
examples/airflow/requirements.txt
26-
examples/airflow/marquez.env
2728
out/*
28-
**/*.python-version
29+
venv
2930

3031
# Marquez configuration
3132
marquez.yml

new-version.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ sed -i "" "s/tag:.*/tag: ${RELEASE_VERSION}/g" ./chart/values.yaml
156156

157157
# (4) Bump version in scripts
158158
sed -i "" "s/TAG=.*/TAG=${RELEASE_VERSION}/g" ./docker/up.sh
159+
sed -i "" "s/TAG=.*/TAG=${RELEASE_VERSION}/g" .env.example
159160

160161
# (5) Bump version in docs
161162
sed -i "" "s/^ version:.*/ version: ${RELEASE_VERSION}/g" ./spec/openapi.yml
@@ -184,7 +185,8 @@ if [[ ${PUSH} = "true" ]]; then
184185
git push origin main && \
185186
git push origin "${RELEASE_VERSION}"
186187
else
187-
echo "...skipping push to 'main'; to push manually, use 'git push origin main && git push origin "${RELEASE_VERSION}"'"
188+
echo "...skipping push to 'main'; to push commits manually, run:"
189+
echo " $ git push origin main && git push origin "${RELEASE_VERSION}""
188190
fi
189191

190192
echo "DONE!"

0 commit comments

Comments
 (0)