I hereby claim:
- I am chenhan1218 on github.
- I am chenhan1218 (https://keybase.io/chenhan1218) on keybase.
- I have a public key ASBy0BGC2ENHA6kPE6jV--miOu1xNSEvmrJ0ZY6btiC4yQo
To claim this, I am signing this object:
| #include <algorithm> | |
| #include <cmath> | |
| #include <complex> | |
| #include <cstdio> | |
| #include <cstdlib> | |
| #include <ctime> | |
| #include <deque> | |
| #include <iomanip> | |
| #include <iostream> | |
| #include <list> |
| from datetime import datetime, timedelta | |
| import pendulum | |
| from airflow import DAG | |
| from airflow.operators.python_operator import PythonOperator | |
| # gcloud composer environments run test --project PROJECT --location us-central1 backfill -- -s 2020-02-24 -e 2020-02-26 timezone | |
| default_args = {"owner": "airflow"} |
| from datetime import datetime, timedelta | |
| from airflow import DAG | |
| from airflow.operators.dummy_operator import DummyOperator | |
| from airflow.operators.python_operator import PythonOperator | |
| default_args = { | |
| "depends_on_past": False, | |
| "start_date": datetime(2019, 8, 1), | |
| } |
| from datetime import datetime, timedelta | |
| import pendulum | |
| from airflow import DAG | |
| from airflow.operators.python_operator import PythonOperator | |
| default_args = {"owner": "airflow"} |
| # Failed trial of airflow subdag with timezone aware | |
| from datetime import datetime, timedelta | |
| import pendulum | |
| from airflow import DAG | |
| from airflow.operators.python_operator import PythonOperator | |
| from airflow.operators.subdag_operator import SubDagOperator | |
I hereby claim:
To claim this, I am signing this object:
Memo Date: 2018-07-18 MAAS version: 2.3
Curtin’s assumption is that a fairly rich Linux (Ubuntu) environment is booted.
But if your image is not Linux (Ubuntu) based, you could customize the image via:
Curtin has a test suite named vmtest. It has loads of configs for
installation that put curtin through a battery. As of this writing
it runs 192 installations on amd64 covering all supported ubuntu releases.
It runs nightly under jenkins. See example results in the
curtin-vmtest-devel-amd64 job.
If you're interested just a general use of curtin without starting a VM, see another article 'Curtin Development on uvt-kvm'.
lxc.cgroup.devices.allow = c 10:236 rwm
lxc.cgroup.devices.allow = b 252:* rwm
https://wiki.deimos.fr/LXC_:_Install_and_configure_the_Linux_Containers#LXC_control_device_mapper
| #!/usr/bin/env python3 | |
| # | |
| # Copyright 2015 Canonical Ltd. | |
| # | |
| # Authors: | |
| # Daniel Manrique <daniel.manrique@canonical.com> | |
| # | |
| # develop-in-lxc is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License version 3, as | |
| # published by the Free Software Foundation. |