57 Commits

Author SHA1 Message Date
neha_gupta
55be2f4e2e
check backup ouptut json (#2926)
<!-- PR description-->

with update in CLI output, have updated the sanity checks

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [ ]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #<issue>

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2023-03-23 17:39:39 +00:00
Vaibhav Kamra
83bddf79a0
Use AWS keys for long running test (#2817)
This switches the sanity test to use static keys since the test runs longer than an hour

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [x] 🤖 Test
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup
2023-03-17 15:36:29 +00:00
Abin Simon
4303c78f3e
Add option to specify user to run sanity tests with in GHA (#2806)
![2023-03-15-17-51-55](https://user-images.githubusercontent.com/14259816/225307537-91e3754e-c08a-4457-9482-999cc9d5b084.png)


---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [x] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #<issue>

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2023-03-16 07:23:16 +00:00
dependabot[bot]
69c824fc74
⬆️ Bump aws-actions/configure-aws-credentials from 1 to 2 (#2769)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/aws-actions/configure-aws-credentials/releases">aws-actions/configure-aws-credentials's releases</a>.</em></p>
<blockquote>
<h2>v2</h2>
<p>This tag tracks the latest v2.x.x release.</p>
<h2>v2.0.0</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/v2.0.0/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.7.0</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.6.1</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.6.0</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.11</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.10</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.9</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.8</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.7</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.6</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.5</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.4</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.3</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.2</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.1</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<h2>v1.5.0</h2>
<p>See the <a href="https://github.com/aws-actions/configure-aws-credentials/blob/HEAD/CHANGELOG.md">changelog</a> for details about the changes included in this release.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md">aws-actions/configure-aws-credentials's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/aws-actions/configure-aws-credentials/compare/v1.7.0...v2.0.0">2.0.0</a> (2023-03-06)</h2>
<h3>Features</h3>
<ul>
<li>Version bump to use Node 16 by default.</li>
</ul>
<h2><a href="https://github.com/aws-actions/configure-aws-credentials/compare/v1.6.1...v1.7.0">1.7.0</a> (2022-08-03)</h2>
<h3>Features</h3>
<ul>
<li>Allow audience to be explicitly specified (<a href="2f8dfd0ed4">2f8dfd0</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e1e17a757e"><code>e1e17a7</code></a> Version 2 release (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/685">#685</a>)</li>
<li><a href="bab55d3830"><code>bab55d3</code></a> chore: Bump axios from 1.3.3 to 1.3.4 (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/679">#679</a>)</li>
<li><a href="07b737a14f"><code>07b737a</code></a> chore: Update dist</li>
<li><a href="26e4efa71f"><code>26e4efa</code></a> chore: Bump aws-sdk from 2.1320.0 to 2.1324.0 (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/677">#677</a>)</li>
<li><a href="7e0ecf0346"><code>7e0ecf0</code></a> chore: Bump eslint from 8.34.0 to 8.35.0 (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/675">#675</a>)</li>
<li><a href="567d4149d6"><code>567d414</code></a> Merge pull request <a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/563">#563</a> from russau/docs/readme-role-update</li>
<li><a href="32eb1b4a66"><code>32eb1b4</code></a> feat: document mask-aws-account-id input (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/606">#606</a>)</li>
<li><a href="6ca2577643"><code>6ca2577</code></a> chore: Update dist</li>
<li><a href="f1de076135"><code>f1de076</code></a> chore: Bump aws-sdk from 2.1273.0 to 2.1320.0 (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/666">#666</a>)</li>
<li><a href="077fd1fc8f"><code>077fd1f</code></a> chore: Bump jest from 29.4.2 to 29.4.3 (<a href="https://redirect.github.com/aws-actions/configure-aws-credentials/issues/663">#663</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/aws-actions/configure-aws-credentials/compare/v1...v2">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aws-actions/configure-aws-credentials&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
2023-03-13 14:23:32 +00:00
dependabot[bot]
51af4dcb57
⬆️ Bump magnetikonline/action-golang-cache from 3 to 4 (#2768)
Bumps [magnetikonline/action-golang-cache](https://github.com/magnetikonline/action-golang-cache) from 3 to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/magnetikonline/action-golang-cache/releases">magnetikonline/action-golang-cache's releases</a>.</em></p>
<blockquote>
<h2>v4</h2>
<ul>
<li>Provide action outputs of <code>build-cache-path</code>, <code>module-cache-path</code> and <code>cache-key</code>.</li>
<li>Some <code>README.md</code> cleanups.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8f4eaf544f"><code>8f4eaf5</code></a> Updated action version and usage examples to include <code>outputs:</code></li>
<li><a href="3388f2a59a"><code>3388f2a</code></a> Provide outputs for Golang build/module paths and generated cache key</li>
<li><a href="ef3757439c"><code>ef37574</code></a> Refine action input descriptions</li>
<li><a href="ba4f7b3e0d"><code>ba4f7b3</code></a> Remove leading dash from <code>cache-key-suffix:</code> usage example in <code>README.md</code> - n...</li>
<li><a href="189ebca495"><code>189ebca</code></a> Bump Golang version in <code>README.md</code> examples</li>
<li>See full diff in <a href="https://github.com/magnetikonline/action-golang-cache/compare/v3...v4">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=magnetikonline/action-golang-cache&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
2023-03-13 13:11:59 +00:00
Vaibhav Kamra
6c98c865e9
Fix check in sanity test (#2761)
CLI output was changed from `Completed (0 Errors)` to `Completed`

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [x] 🤖 Test
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
2023-03-13 03:16:57 +00:00
neha_gupta
11677fdefb
Release Sanity test (#2622)
## Description

Github workflow - Release sanity test which can run pre and post
release.
Testing- 
- version command
- repo init and connect
- backup and restore of exchange and onedrive
-  verify correct no. of emails restored
- verify file sizes restored and roles on folder are correct.
- incremental backup and verification of the same

**Further enhancement-**
- check actual email data instead of just no. of emails
- verify contacts and calendar
- permission in onedrive
- slack notification on failure 
- if we recieve an email in between a backup and restore, we will fail
the test as the counts won't match

**issues for handling enhancement-** 
https://github.com/alcionai/corso/issues/2743
https://github.com/alcionai/corso/issues/2742

## Does this PR need a docs update or release note?
- [ ]  No 

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [x] 🤖 Test

## Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic
words" - "closes, fixes" to auto-close the Github issue. -->
* https://github.com/alcionai/corso/pull/2622/

## Test Plan
- [ ] 💪 Manual
2023-03-10 17:46:40 +05:30