Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump image versions #339

Merged
merged 10 commits into from
Apr 18, 2024
Merged

Bump image versions #339

merged 10 commits into from
Apr 18, 2024

Conversation

sydneynotthecity
Copy link
Contributor

@sydneynotthecity sydneynotthecity commented Apr 17, 2024

Updating stellar-etl and stellar-dbt to the latest images.

Repoint the ci to composer 2 testnet environment. TODO: will repoint mainnet env to composer 2 once validation completes.

Added new Airflow dbt tags for SCD snapshot tables

@sydneynotthecity sydneynotthecity requested a review from a team as a code owner April 17, 2024 21:31
@@ -198,8 +198,7 @@ def build_export_task(
else:
arguments = f"""
{etl_cmd_string} 2>> stderr.out && echo "{{\\"output\\": \\"{output_file}\\",
\\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`\\",
\\"succcessful_transforms\\": `grep successful_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`}}" >> /airflow/xcom/return.json
\\"failed_transforms\\": `grep failed_transforms stderr.out | cut -d\\",\\" -f2 | cut -d\\":\\" -f2`}}" >> /airflow/xcom/return.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove succcessful_transforms?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this code is broken and raises the error:

json.decoder.JSONDecodeError: Expecting ',' delimiter: line 2 column 43 (char 133)

Laysa is working on a fix in #338

LOCATION: us-central1
with:
args: >
components install kubectl && gcloud composer environments run
$COMPOSER_ENVIRONMENT --location $LOCATION variables import
-- gcsfuse/variables.json
-- gcsfuse/actual_mount_path/variables.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's actual_mount_path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's another lovely quirk of composer 2. gcsfuse used to be mounted to the actual bucket where DAGs are stored....but now is mounted to gcsfuse/actual_mount_path.

Why? Great question

@sydneynotthecity sydneynotthecity merged commit 89e38d0 into master Apr 18, 2024
4 checks passed
@sydneynotthecity sydneynotthecity deleted the upgrade-images branch April 18, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants