From 57feceeb7ecaadebae5e59315b0d82dd18f13177 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 8 Oct 2024 18:37:11 +0000 Subject: [PATCH] Auto-update from backup job --- data/.track | 2 +- .../README.md | 84 +++++++++++++++++ .../.gitkeep | 0 .../README.md | 89 ++++++++++++++++++ .../README.md | 91 ++++++++++++++++++ .../tre/logran.txt | 3 + .../a/of/The/Stals.txt | 3 + .../se/Woreli/of.txt | 1 + .../README.md | 92 +++++++++++++++++++ .../.gitkeep | 0 .../.gitkeep | 0 11 files changed, 364 insertions(+), 1 deletion(-) create mode 100644 data/005a9f74f588073a321f45e7f527b0f09df6b3c7/README.md create mode 100644 data/479cbbb8f39f5d3a186ade50bc7510a5a31f5e00/.gitkeep create mode 100644 data/59e9ddff4dea9f744a2b84f6183c84afae559279/README.md create mode 100644 data/729e5d2addf0a3566e454ddccf549041f2e9ab17/README.md create mode 100644 data/82b49855aacb4139b0fa8dd0f3194f34c67ea338/tre/logran.txt create mode 100644 data/acdf4fb185d27a0787c41fc296b14146354a09e0/a/of/The/Stals.txt create mode 100644 data/b3723d71bc70811ba00338684e75c36e0b53ceaa/se/Woreli/of.txt create mode 100644 data/c37c77fbf9d12418c83e1510fb0bdece8bd2e11c/README.md create mode 100644 data/d6c5752c05317a5c82f2c4de20acc3d22b110fcd/.gitkeep create mode 100644 data/f782f60197e2802cd52f6e5b424a0e246962e3f4/.gitkeep diff --git a/data/.track b/data/.track index cd6c83e..3fdb811 100644 --- a/data/.track +++ b/data/.track @@ -1 +1 @@ -57b42df980df4e194610798c7a8c71ee646a0c64 \ No newline at end of file +82b49855aacb4139b0fa8dd0f3194f34c67ea338 \ No newline at end of file diff --git a/data/005a9f74f588073a321f45e7f527b0f09df6b3c7/README.md b/data/005a9f74f588073a321f45e7f527b0f09df6b3c7/README.md new file mode 100644 index 0000000..a67c45f --- /dev/null +++ b/data/005a9f74f588073a321f45e7f527b0f09df6b3c7/README.md @@ -0,0 +1,84 @@ +# Descartes Underwriting + +## Context + +We wish to create a backup tool that will save only the last modified files of a storage unit. + +In our example, the storage unit is **not a bucket**. + +The storage unit is the `DD-MM-YYYY-test` branch of the current `descartes-underwriting/devops-technical-test-data` git repository. + +## Property + +The `descartes-underwriting/devops-technical-test-data` repository is not frozen and will have new commits. + +Commits will be added to the `DD-MM-YYYY-test` branch multiple times every day. + +The `DD-MM-YYYY-test` branch name will be adapted using standard datetime convention eg: `01-01-2022-test` for the 1st of January 2022. + +## Task + +Develop a backup tool to save the modified files at each commit. + +### Submission + +Script and data should be saved on a private `candidate/descartes-backup-project` repository on your github account. + +Access should be granted to all members of the `descartes-underwriting` group: + + + +### Script + +Create a script to automate the backup process using open source software. + +The script should track the changes fo the branch `DD-MM-YYYY-test` of the `descartes-underwriting/devops-technical-test-data` repository. + +The execution of the script should be carried out with a github-action / gitlab-pipeline or any other tool automating git workflow on your git project. + +It is highly recommended to use a scheduling tool to execute the back up process. + +### Data + +The backup should store files in separate folders. + +The backup file structure should be based on the sha1 of the `descartes-underwriting/devops-technical-test-data`. + +## File structure example + +For the following commits on the `descartes-underwriting/devops-technical-test-data`: + +| SHA | OPERATION | +|-----|-----------| +| Commit_N | create readme.md | +| Commit_N+1 | create doc.txt | +| Commit_N+2 | create data/test/test.txt | +| Commit_N+3 | append text to ./doc.txt | +| Commit_N+4 | create test/project/project1.txt | + +The `candidate/descartes-backup-project` repository should have + +```bash +$ tree . +. +├── .gitworkflow +│   └── workflows +│   └── my-lovely-workflow.yml +├── data +│   ├── N +│   │   └── readme.md +│   ├── N+1 +│   │   └── doc.txt +│   ├── N+2 +│   │   └── data +│   │   └── test +│   │   └── test.txt +│   ├── N+3 +│   │   └── doc.txt +│   └── N+4 +│   └── test +│   └── project +│   └── project1.txt +└── script + └── my-beautiful-script.best-language +``` diff --git a/data/479cbbb8f39f5d3a186ade50bc7510a5a31f5e00/.gitkeep b/data/479cbbb8f39f5d3a186ade50bc7510a5a31f5e00/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/59e9ddff4dea9f744a2b84f6183c84afae559279/README.md b/data/59e9ddff4dea9f744a2b84f6183c84afae559279/README.md new file mode 100644 index 0000000..dff1451 --- /dev/null +++ b/data/59e9ddff4dea9f744a2b84f6183c84afae559279/README.md @@ -0,0 +1,89 @@ +# Descartes Underwriting + +## Context + +We wish to create a backup tool that will save only the last modified files of a storage unit. + +In our example, the storage unit is **not a bucket**. + +The storage unit is the `DD-MM-YYYY-test` branch of the current `descartes-underwriting/devops-technical-test-data` git repository. + +## Property + +The `descartes-underwriting/devops-technical-test-data` repository is not frozen and will have new commits. + +Commits will be added to the `DD-MM-YYYY-test` branch multiple times every day. + +The `DD-MM-YYYY-test` branch name will be adapted using standard datetime convention eg: `01-01-2022-test` for the 1st of January 2022. + +## Task + +Develop a backup tool to save the modified files at each commit. + +### Submission + +Script and data should be saved on a private `candidate/descartes-backup-project` repository on your github account. + +Access should be granted to all members of the `descartes-underwriting` group: + + + +Especially: + +* +* + +### Script + +Create a script to automate the backup process using open source software. + +The script should track the changes fo the branch `DD-MM-YYYY-test` of the `descartes-underwriting/devops-technical-test-data` repository. + +The execution of the script should be carried out with a github-action / gitlab-pipeline or any other tool automating git workflow on your git project. + +It is highly recommended to use a scheduling tool to execute the back up process. + +### Data + +The backup should store files in separate folders. + +The backup file structure should be based on the sha1 of the `descartes-underwriting/devops-technical-test-data`. + +## File structure example + +For the following commits on the `descartes-underwriting/devops-technical-test-data`: + +| SHA | OPERATION | +|-----|-----------| +| Commit_N | create readme.md | +| Commit_N+1 | create doc.txt | +| Commit_N+2 | create data/test/test.txt | +| Commit_N+3 | append text to ./doc.txt | +| Commit_N+4 | create test/project/project1.txt | + +The `candidate/descartes-backup-project` repository should have + +```bash +$ tree . +. +├── .gitworkflow +│   └── workflows +│   └── my-lovely-workflow.yml +├── data +│   ├── N +│   │   └── readme.md +│   ├── N+1 +│   │   └── doc.txt +│   ├── N+2 +│   │   └── data +│   │   └── test +│   │   └── test.txt +│   ├── N+3 +│   │   └── doc.txt +│   └── N+4 +│   └── test +│   └── project +│   └── project1.txt +└── script + └── my-beautiful-script.best-language +``` diff --git a/data/729e5d2addf0a3566e454ddccf549041f2e9ab17/README.md b/data/729e5d2addf0a3566e454ddccf549041f2e9ab17/README.md new file mode 100644 index 0000000..e3e1571 --- /dev/null +++ b/data/729e5d2addf0a3566e454ddccf549041f2e9ab17/README.md @@ -0,0 +1,91 @@ +# Descartes Underwriting + +## Context + +We wish to create a backup tool that will save only the last modified files of a storage unit. + +In our example, the storage unit is **not a bucket**. + +The storage unit is the `DD-MM-YYYY-test` branch of the current `descartes-underwriting/devops-technical-test-data` git repository. + +## Property + +The `descartes-underwriting/devops-technical-test-data` repository is not frozen and will have new commits. + +Commits will be added to the `DD-MM-YYYY-test` branch multiple times every day. + +The `DD-MM-YYYY-test` branch name will be adapted using standard datetime convention eg: `01-01-2022-test` for the 1st of January 2022. + +## Task + +Develop a backup tool to save the modified files at each commit. + +### Submission + +Script and data should be saved on a private `candidate/descartes-backup-project` repository on your github account. + +Access should be granted to all members of the `descartes-underwriting` group: + + + +Especially: + +* +* + +### Script + +Create a script to automate the backup process using open source software. + +The script should track the changes fo the branch `DD-MM-YYYY-test` of the `descartes-underwriting/devops-technical-test-data` repository. + +The execution of the script should be carried out with a github-action / gitlab-pipeline or any other tool automating git workflow on your git project. + +It is highly recommended to use a scheduling tool to execute the back up process. + +### Data + +The backup should store files in separate folders. + +The backup file structure should be based on the sha1 of the `descartes-underwriting/devops-technical-test-data`. + +Starting from the initial commit [282180fe7e5d9cbf297f2f0ef813cffe60ce2328](https://github.com/descartes-underwriting/devops-technical-test-data/commit/282180fe7e5d9cbf297f2f0ef813cffe60ce2328), all the history should be backup. + +## File structure example + +For the following commits on the `descartes-underwriting/devops-technical-test-data`: + +| SHA | OPERATION | +|-----|-----------| +| Commit_N | create readme.md | +| Commit_N+1 | create doc.txt | +| Commit_N+2 | create data/test/test.txt | +| Commit_N+3 | append text to ./doc.txt | +| Commit_N+4 | create test/project/project1.txt | + +The `candidate/descartes-backup-project` repository should have + +```bash +$ tree . +. +├── .gitworkflow +│   └── workflows +│   └── my-lovely-workflow.yml +├── data +│   ├── N +│   │   └── readme.md +│   ├── N+1 +│   │   └── doc.txt +│   ├── N+2 +│   │   └── data +│   │   └── test +│   │   └── test.txt +│   ├── N+3 +│   │   └── doc.txt +│   └── N+4 +│   └── test +│   └── project +│   └── project1.txt +└── script + └── my-beautiful-script.best-language +``` diff --git a/data/82b49855aacb4139b0fa8dd0f3194f34c67ea338/tre/logran.txt b/data/82b49855aacb4139b0fa8dd0f3194f34c67ea338/tre/logran.txt new file mode 100644 index 0000000..4aa4a9d --- /dev/null +++ b/data/82b49855aacb4139b0fa8dd0f3194f34c67ea338/tre/logran.txt @@ -0,0 +1,3 @@ +Solar power verify / validate quality +Branco; Mário The Ethics +Facility, it interpretation as evidence and making decisions, including steps such as: Situation \ No newline at end of file diff --git a/data/acdf4fb185d27a0787c41fc296b14146354a09e0/a/of/The/Stals.txt b/data/acdf4fb185d27a0787c41fc296b14146354a09e0/a/of/The/Stals.txt new file mode 100644 index 0000000..b27be6b --- /dev/null +++ b/data/acdf4fb185d27a0787c41fc296b14146354a09e0/a/of/The/Stals.txt @@ -0,0 +1,3 @@ +National bank communism in +Human motivations limits the scope of his mechanical 'handiwork. +States’ approach sleeping for seven hours or more generally electromagnetic radiation. Observational astronomy may \ No newline at end of file diff --git a/data/b3723d71bc70811ba00338684e75c36e0b53ceaa/se/Woreli/of.txt b/data/b3723d71bc70811ba00338684e75c36e0b53ceaa/se/Woreli/of.txt new file mode 100644 index 0000000..9483714 --- /dev/null +++ b/data/b3723d71bc70811ba00338684e75c36e0b53ceaa/se/Woreli/of.txt @@ -0,0 +1 @@ +Transportation, however, in parallel). Python is an important source of most other \ No newline at end of file diff --git a/data/c37c77fbf9d12418c83e1510fb0bdece8bd2e11c/README.md b/data/c37c77fbf9d12418c83e1510fb0bdece8bd2e11c/README.md new file mode 100644 index 0000000..b8c1f6a --- /dev/null +++ b/data/c37c77fbf9d12418c83e1510fb0bdece8bd2e11c/README.md @@ -0,0 +1,92 @@ +# Descartes Underwriting + +## Context + +We wish to create a backup tool that will save only the last modified files of a storage unit. + +In our example, the storage unit is **not a bucket**. + +The storage unit is the `DD-MM-YYYY-test` branch of the current `descartes-underwriting/devops-technical-test-data` git repository. + +## Property + +The `descartes-underwriting/devops-technical-test-data` repository is not frozen and will have new commits. + +Commits will be added to the `DD-MM-YYYY-test` branch multiple times every day. + +The `DD-MM-YYYY-test` branch name will be adapted using standard datetime convention eg: `01-01-2022-test` for the 1st of January 2022. + +## Task + +Develop a backup tool to save the modified files at each commit. + +### Submission + +Script and data should be saved on a private `candidate/descartes-backup-project` repository on your github account. + +Access should be granted to all members of the `descartes-underwriting` group: + + + +Especially: + +* +* +* + +### Script + +Create a script to automate the backup process using open source software. + +The script should track the changes fo the branch `DD-MM-YYYY-test` of the `descartes-underwriting/devops-technical-test-data` repository. + +The execution of the script should be carried out with a github-action / gitlab-pipeline or any other tool automating git workflow on your git project. + +It is highly recommended to use a scheduling tool to execute the back up process. + +### Data + +The backup should store files in separate folders. + +The backup file structure should be based on the sha1 of the `descartes-underwriting/devops-technical-test-data`. + +Starting from the initial commit [282180fe7e5d9cbf297f2f0ef813cffe60ce2328](https://github.com/descartes-underwriting/devops-technical-test-data/commit/282180fe7e5d9cbf297f2f0ef813cffe60ce2328), all the history should be backup. + +## File structure example + +For the following commits on the `descartes-underwriting/devops-technical-test-data`: + +| SHA | OPERATION | +|-----|-----------| +| Commit_N | create readme.md | +| Commit_N+1 | create doc.txt | +| Commit_N+2 | create data/test/test.txt | +| Commit_N+3 | append text to ./doc.txt | +| Commit_N+4 | create test/project/project1.txt | + +The `candidate/descartes-backup-project` repository should have + +```bash +$ tree . +. +├── .gitworkflow +│   └── workflows +│   └── my-lovely-workflow.yml +├── data +│   ├── N +│   │   └── readme.md +│   ├── N+1 +│   │   └── doc.txt +│   ├── N+2 +│   │   └── data +│   │   └── test +│   │   └── test.txt +│   ├── N+3 +│   │   └── doc.txt +│   └── N+4 +│   └── test +│   └── project +│   └── project1.txt +└── script + └── my-beautiful-script.best-language +``` diff --git a/data/d6c5752c05317a5c82f2c4de20acc3d22b110fcd/.gitkeep b/data/d6c5752c05317a5c82f2c4de20acc3d22b110fcd/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/f782f60197e2802cd52f6e5b424a0e246962e3f4/.gitkeep b/data/f782f60197e2802cd52f6e5b424a0e246962e3f4/.gitkeep new file mode 100644 index 0000000..e69de29