8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the 8000 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
In the first command, unfortunately
python2 gcp-airflow.py File "gcp-airflow.py", line 116 ,) ^ SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
Deleting the two commas does at least let the script execute, no idea if its ok though https://github.com/iihnordic/airflow-gcp-k8s/blob/master/gcp-airflow.py
I guess if like other functions it needs apply_changes
apply_changes
def deploy_airflow(name, image_suffix): def apply_changes(service): service['metadata']['labels']['version'] = version service['spec']['template']['metadata']['labels']['version'] = version service['spec']['template']['spec']['containers'][0][ 'image'] = repo + '/airflow-' + image_suffix + ':' + version execute_with_yaml('k8s/airflow-' + name + '-deploy.yaml', ['kubectl', 'create', '--namespace', namespace, '-f', '-'], apply_changes)
Sorry, something went wrong.
No branches or pull requests
In the first command, unfortunately
The text was updated successfully, but these errors were encountered: