-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(deployment): provision scaleway with tf #63
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0445ca2 - Browse repository at this point
Copy the full SHA 0445ca2View commit details -
Configuration menu - View commit details
-
Copy full SHA for da5ec8e - Browse repository at this point
Copy the full SHA da5ec8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4d2b28 - Browse repository at this point
Copy the full SHA a4d2b28View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3df10e - Browse repository at this point
Copy the full SHA d3df10eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d5692 - Browse repository at this point
Copy the full SHA 71d5692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 417c7e5 - Browse repository at this point
Copy the full SHA 417c7e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ca0dc - Browse repository at this point
Copy the full SHA e9ca0dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c123798 - Browse repository at this point
Copy the full SHA c123798View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf22f57 - Browse repository at this point
Copy the full SHA bf22f57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 536bf6f - Browse repository at this point
Copy the full SHA 536bf6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9631346 - Browse repository at this point
Copy the full SHA 9631346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95030ff - Browse repository at this point
Copy the full SHA 95030ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for b36dc35 - Browse repository at this point
Copy the full SHA b36dc35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 241fa60 - Browse repository at this point
Copy the full SHA 241fa60View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfb549a - Browse repository at this point
Copy the full SHA bfb549aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33df644 - Browse repository at this point
Copy the full SHA 33df644View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82de737 - Browse repository at this point
Copy the full SHA 82de737View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6bec91 - Browse repository at this point
Copy the full SHA d6bec91View commit details -
Configuration menu - View commit details
-
Copy full SHA for e09ed8b - Browse repository at this point
Copy the full SHA e09ed8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6314749 - Browse repository at this point
Copy the full SHA 6314749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 366bd0c - Browse repository at this point
Copy the full SHA 366bd0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a77789 - Browse repository at this point
Copy the full SHA 6a77789View commit details -
Configuration menu - View commit details
-
Copy full SHA for 532fda0 - Browse repository at this point
Copy the full SHA 532fda0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 788e5ef - Browse repository at this point
Copy the full SHA 788e5efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 638a3ba - Browse repository at this point
Copy the full SHA 638a3baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9043459 - Browse repository at this point
Copy the full SHA 9043459View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67c3359 - Browse repository at this point
Copy the full SHA 67c3359View commit details -
Configuration menu - View commit details
-
Copy full SHA for c76b224 - Browse repository at this point
Copy the full SHA c76b224View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea14256 - Browse repository at this point
Copy the full SHA ea14256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 990b6bf - Browse repository at this point
Copy the full SHA 990b6bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea7b168 - Browse repository at this point
Copy the full SHA ea7b168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55758e8 - Browse repository at this point
Copy the full SHA 55758e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 508efd7 - Browse repository at this point
Copy the full SHA 508efd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b69db86 - Browse repository at this point
Copy the full SHA b69db86View commit details -
Configuration menu - View commit details
-
Copy full SHA for d12f1c4 - Browse repository at this point
Copy the full SHA d12f1c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53c53c1 - Browse repository at this point
Copy the full SHA 53c53c1View commit details -
chore: do not require IAMMAnager permission for terraform
Unfortunately, creating an application and the associated access key requires the IAMManager permission, which is an organization-level right that gives full access to the security of the organization. So instead of automatically creating a Scaleway application for Airflow's object storage access, we now require extra variables that point to a pre-created Scaleway application dedicated to Airflow (application ID, access key and secret key).
Configuration menu - View commit details
-
Copy full SHA for c48dfca - Browse repository at this point
Copy the full SHA c48dfcaView commit details -
chore: better name for Docker containers
Docker Compose defaults to using the name of the parent directory to name containers, which currently results in containers named `docker-api-1`, `docker-airflow-db-1`, etc. By specifying a `name` in the Compose file, we can tell Compose to create containers named `data-inclusion-api-1`, etc.
Configuration menu - View commit details
-
Copy full SHA for abb0269 - Browse repository at this point
Copy the full SHA abb0269View commit details -
chore: avoid extra git clone when deploying
Instead of cloning from the source repository, we upload the relevant files using the file provisioner. Note that we have to be quite specific with the directories that we upload in order to avoid accidentally uploading sensitive files such as `terraform.tfvars.json`.
Configuration menu - View commit details
-
Copy full SHA for 00b56f0 - Browse repository at this point
Copy the full SHA 00b56f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d33fab - Browse repository at this point
Copy the full SHA 8d33fabView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb10f6b - Browse repository at this point
Copy the full SHA eb10f6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c1df8 - Browse repository at this point
Copy the full SHA 69c1df8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5222c7 - Browse repository at this point
Copy the full SHA a5222c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a86928 - Browse repository at this point
Copy the full SHA 5a86928View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8be8b63 - Browse repository at this point
Copy the full SHA 8be8b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2eed3 - Browse repository at this point
Copy the full SHA 1f2eed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a838c1 - Browse repository at this point
Copy the full SHA 7a838c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cb39c4 - Browse repository at this point
Copy the full SHA 1cb39c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77818b0 - Browse repository at this point
Copy the full SHA 77818b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cbc8f7 - Browse repository at this point
Copy the full SHA 9cbc8f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd15143 - Browse repository at this point
Copy the full SHA bd15143View commit details -
Configuration menu - View commit details
-
Copy full SHA for af147a8 - Browse repository at this point
Copy the full SHA af147a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c66e9 - Browse repository at this point
Copy the full SHA e7c66e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 900920f - Browse repository at this point
Copy the full SHA 900920fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e3ec22 - Browse repository at this point
Copy the full SHA 7e3ec22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cfce5a - Browse repository at this point
Copy the full SHA 0cfce5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 756e5f7 - Browse repository at this point
Copy the full SHA 756e5f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16a6b25 - Browse repository at this point
Copy the full SHA 16a6b25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ddb587 - Browse repository at this point
Copy the full SHA 8ddb587View commit details -
Configuration menu - View commit details
-
Copy full SHA for d03b9ab - Browse repository at this point
Copy the full SHA d03b9abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a8e666 - Browse repository at this point
Copy the full SHA 6a8e666View commit details -
Configuration menu - View commit details
-
Copy full SHA for dab74a3 - Browse repository at this point
Copy the full SHA dab74a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68f2674 - Browse repository at this point
Copy the full SHA 68f2674View commit details -
Configuration menu - View commit details
-
Copy full SHA for c792062 - Browse repository at this point
Copy the full SHA c792062View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eb10d3 - Browse repository at this point
Copy the full SHA 1eb10d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4705552 - Browse repository at this point
Copy the full SHA 4705552View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3402bae - Browse repository at this point
Copy the full SHA 3402baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 199afb1 - Browse repository at this point
Copy the full SHA 199afb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a8b8ba - Browse repository at this point
Copy the full SHA 1a8b8baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50e4231 - Browse repository at this point
Copy the full SHA 50e4231View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e38f5d - Browse repository at this point
Copy the full SHA 2e38f5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81452d5 - Browse repository at this point
Copy the full SHA 81452d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e861e2 - Browse repository at this point
Copy the full SHA 6e861e2View commit details -
chore: chown airflow files to group 0
According to the documentation for the Airflow Docker image ( https://airflow.apache.org/docs/docker-stack/build.html#important-notes-for-the-base-images ) files need to be owned by user `airflow` and group `root` (0). Group `airflow` doesn't exist in the image, which apparently caused Docker to fall back to group 0 anyway, so this change should not have any impact.
Configuration menu - View commit details
-
Copy full SHA for 55de66a - Browse repository at this point
Copy the full SHA 55de66aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 907e8e3 - Browse repository at this point
Copy the full SHA 907e8e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1c317a - Browse repository at this point
Copy the full SHA e1c317aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3713e5 - Browse repository at this point
Copy the full SHA c3713e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e7143c - Browse repository at this point
Copy the full SHA 2e7143cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0ec41 - Browse repository at this point
Copy the full SHA 4d0ec41View commit details -
Configuration menu - View commit details
-
Copy full SHA for e261601 - Browse repository at this point
Copy the full SHA e261601View commit details -
chore: fix file copying on empty instance
If the target directory does not exist Terraform won't create it. Also fix error reporting from Docker Compose.
Configuration menu - View commit details
-
Copy full SHA for 8288bb8 - Browse repository at this point
Copy the full SHA 8288bb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08fe06b - Browse repository at this point
Copy the full SHA 08fe06bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a12495 - Browse repository at this point
Copy the full SHA 9a12495View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2fd760 - Browse repository at this point
Copy the full SHA a2fd760View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40581b3 - Browse repository at this point
Copy the full SHA 40581b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7aa8fe0 - Browse repository at this point
Copy the full SHA 7aa8fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23baaf0 - Browse repository at this point
Copy the full SHA 23baaf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5ca6e - Browse repository at this point
Copy the full SHA 6a5ca6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for af9aa35 - Browse repository at this point
Copy the full SHA af9aa35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a1a522 - Browse repository at this point
Copy the full SHA 7a1a522View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36d86ca - Browse repository at this point
Copy the full SHA 36d86caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10100b5 - Browse repository at this point
Copy the full SHA 10100b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74ecfd8 - Browse repository at this point
Copy the full SHA 74ecfd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for de28cad - Browse repository at this point
Copy the full SHA de28cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 780d8f2 - Browse repository at this point
Copy the full SHA 780d8f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77130bd - Browse repository at this point
Copy the full SHA 77130bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 068f2c5 - Browse repository at this point
Copy the full SHA 068f2c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59f723 - Browse repository at this point
Copy the full SHA d59f723View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75b08d6 - Browse repository at this point
Copy the full SHA 75b08d6View commit details -
chore: move docker-compose.yml into stack_data module
Also upload to just `/root/data-inclusion`, the `/deployment` subdirectory is now unnecessary on the target.
Configuration menu - View commit details
-
Copy full SHA for 320c8e9 - Browse repository at this point
Copy the full SHA 320c8e9View commit details -
chore: replace public_hostname with dns_zone + optional dns_subdomain
This goes part of the way to supporting review apps with each their own subdomain while sharing a parent DNS zone.
Configuration menu - View commit details
-
Copy full SHA for 44efd19 - Browse repository at this point
Copy the full SHA 44efd19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de8b96 - Browse repository at this point
Copy the full SHA 9de8b96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 606c6b7 - Browse repository at this point
Copy the full SHA 606c6b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d774a9 - Browse repository at this point
Copy the full SHA 4d774a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc45116 - Browse repository at this point
Copy the full SHA fc45116View commit details -
chore: attempt to use Scaleway Container registry
Pulls from ghcr.io seem to be awfully slow from Scaleway instances (more than 10 minutes to pull the pipeline image). Let's see if it's worth changing the registry.
Configuration menu - View commit details
-
Copy full SHA for 37e79a9 - Browse repository at this point
Copy the full SHA 37e79a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05ecf91 - Browse repository at this point
Copy the full SHA 05ecf91View commit details -
Configuration menu - View commit details
-
Copy full SHA for e15e389 - Browse repository at this point
Copy the full SHA e15e389View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0426d5d - Browse repository at this point
Copy the full SHA 0426d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4f4856 - Browse repository at this point
Copy the full SHA b4f4856View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3971828 - Browse repository at this point
Copy the full SHA 3971828View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6723e - Browse repository at this point
Copy the full SHA fb6723eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb4efda - Browse repository at this point
Copy the full SHA bb4efdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 359f692 - Browse repository at this point
Copy the full SHA 359f692View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c8717 - Browse repository at this point
Copy the full SHA f7c8717View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe876f5 - Browse repository at this point
Copy the full SHA fe876f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb83159 - Browse repository at this point
Copy the full SHA bb83159View commit details -
Configuration menu - View commit details
-
Copy full SHA for 277f8ae - Browse repository at this point
Copy the full SHA 277f8aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 341237d - Browse repository at this point
Copy the full SHA 341237dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbaf35 - Browse repository at this point
Copy the full SHA bbbaf35View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7c92d1 - Browse repository at this point
Copy the full SHA c7c92d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e01ce - Browse repository at this point
Copy the full SHA 74e01ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da8a85 - Browse repository at this point
Copy the full SHA 8da8a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7d1f95 - Browse repository at this point
Copy the full SHA d7d1f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2257f5 - Browse repository at this point
Copy the full SHA f2257f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e71685 - Browse repository at this point
Copy the full SHA 9e71685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84705c6 - Browse repository at this point
Copy the full SHA 84705c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f88a98c - Browse repository at this point
Copy the full SHA f88a98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 55cef70 - Browse repository at this point
Copy the full SHA 55cef70View commit details -
chore: update S3 backend config following tf upgrade
The latest version of terraform changed the syntax for specifying S3 endpoints; also it now queries by default IAM, STS and metadata AWS APIs which Scaleway Object Storage doesn't have.
Configuration menu - View commit details
-
Copy full SHA for b24a67e - Browse repository at this point
Copy the full SHA b24a67eView commit details -
Revert "chore: attempt to use Scaleway Container registry"
This reverts commit 69be53a.
Configuration menu - View commit details
-
Copy full SHA for 52276de - Browse repository at this point
Copy the full SHA 52276deView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd3bf15 - Browse repository at this point
Copy the full SHA dd3bf15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1555393 - Browse repository at this point
Copy the full SHA 1555393View commit details -
fix: correctly create PG extensions
Because docker-entrypoint-initdb.d/10_postgis.sh was marked as executable, it was executed instead of sourced by docker-entrypoint.sh causing the "${psql[@]}" syntax to fail. This also caused the processing of the init scripts to be aborted, causing 10_unaccent.sh not to be executed at all. Note that this was not detected until one tried to use the expected extensions (plpython3u, unaccent), since only the first launch of the postgres container (where the DB was created) failed.
Configuration menu - View commit details
-
Copy full SHA for cc6372b - Browse repository at this point
Copy the full SHA cc6372bView commit details -
fix: rename Postgres init scripts to match contents
The names of 10_plpython3u.sh and 10_postgis.sh were swapped.
Configuration menu - View commit details
-
Copy full SHA for cae0d64 - Browse repository at this point
Copy the full SHA cae0d64View commit details