Skip to content

Commit

Permalink
Upmerge release branches into edge (#1212)
Browse files Browse the repository at this point in the history
* Fix resource type

* Fix Dapr mode

* Bump express from 4.17.1 to 4.17.3 in /quickstarts/dapr/nodeapp (#108)

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump loader-utils from 2.0.3 to 2.0.4 in /demo/client (#111)

Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](webpack/loader-utils@v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump minimatch from 3.0.4 to 3.1.2 in /tutorial (#114)

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump decode-uri-component from 0.2.0 to 0.2.2 in /tutorial (#113)

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump minimatch in /reference-apps/container-app-store/node-service (#112)

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qs and express in /reference-apps/container-app-store/node-service (#110)

Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.5.2 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.5.2...v6.11.0)

Updates `express` from 4.16.4 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.16.4...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump express from 4.17.1 to 4.17.3 in /tutorial (#109)

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Making tutorial match docs version (#116)

* Continue on error for container deletion

* Update issues.yaml

* Change ADO_wit

* Update version number

* Remove container app store

* Add eshop instructions

* Revert instructions

* Change Bicep installation step

* Update issues.yaml

* Update issues.yaml

* Update issues.yaml

* Update test.yaml

* Add check for node creation (#240)

* Add check for node creation

* Correct error message

* Add contribution guide

* Add Issue templates

* Fix link

* Fix casing

* change mentions of <Project Radius> to just <Radius> (#263)

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* edge to v0.22 upmerge to pick up  changes (#388)

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* add background info for dapr quickstart (#381)

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Switch to sql edge (#398)

* Update Dapr UI port (#416)

* Change port to 8080

* Update container port

* Update configuration

* Add error message

* Update demo.app.spec.ts (#546)

* Add samples release automation (#499) (#554)

* Bump word-wrap from 1.2.3 to 1.2.5 in /demo/client (#431)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Bump golang.org/x/net in /reference-apps/container-app-store/go-service (#593)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210929193557-e81a3d93ecf6 to 0.17.0.
- [Commits](https://github.com/golang/net/commits/v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add issue labels (#858)

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Remove customer label

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Fix failing CI in 0.27 branch  (#881)

* Fix Dapr sample in CI (#817)

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* make sure it's not flaky

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* remove debug

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

---------

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
(cherry picked from commit 5f6bd44)

* Force delete Radius application, EKS Cluster, and AWS resources on failed workflow run (#843)

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
(cherry picked from commit 4855d47)

* Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /samples/demo/client (#886)

Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix Dapr microservices sample (#654)

* Adding application name for dapr app

* Adding application name for dapr app

* Update samples/dapr/.rad/rad.yaml

Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>

---------

Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>

* Fix Dapr microservices sample (#654) (#890)

* Adding application name for dapr app

* Adding application name for dapr app

* Update samples/dapr/.rad/rad.yaml



---------

Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>
Co-authored-by: MD Ashique <noorani.ashique5@gmail.com>

* Upmerge v0.27 to v0.28 (#903)

* Add edge rad CLI pull to samples tests (#737)

* Add install-radius script

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* chmod

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* test

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* PR

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* PR

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* PR

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* PR

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* PR

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* PR

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

---------

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* dapr tutorial port and routes fixes

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Revert "Update container build to only push on merges (#726)"

This reverts commit 54b3d4e.

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Revert "Revert "Update container build to only push on merges (#726)""

This reverts commit 7cfd4ad.

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Revert "dapr tutorial port and routes fixes"

This reverts commit 7f6f525.

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* dapr tutorial port and routes fixes (#748)

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Update condition

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Update rad-bicep pull

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Update eShop to use Recipes (#590)

* Replace eShop with eShop on recipes

* PR

* Fix

* Test

* PR

* oops

* Updates

* PR

* PR

* PR

* PR comments

* PR comments

* fixing

* again

* fix

* rewind

* PR

* PR

* Simplify env registration

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Make registry a parameter

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Update test

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Update namespaces

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Fix tag

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Update env names

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Fix namespaces

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Fix recipe

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

---------

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Fix Dapr sample in CI (#817)

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Adding debug for pod list

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* make sure it's not flaky

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* remove debug

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

---------

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Force delete Radius application, EKS Cluster, and AWS resources on failed workflow run (#843)

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Remove customer label

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Add issue labels (#858)

Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Bump @adobe/css-tools from 4.3.1 to 4.3.2 in /samples/demo/client (#886)

Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Fix Dapr microservices sample (#654) (#890)

* Adding application name for dapr app

* Adding application name for dapr app

* Update samples/dapr/.rad/rad.yaml

---------

Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>
Co-authored-by: MD Ashique <noorani.ashique5@gmail.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

---------

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>
Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Co-authored-by: Will Smith <willdavsmith@gmail.com>
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MD Ashique <noorani.ashique5@gmail.com>

* Update changes in test.yaml workflow into v0.28 (#904)

* Add test-failure label to issues created for samples failures (#899)

Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>
Co-authored-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>

* updating condition to specify scheduled run

---------

Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>
Signed-off-by: Lakshmi Javadekar <103459615+lakshmimsft@users.noreply.github.com>
Co-authored-by: Karishma Chawla <kachawla@microsoft.com>
Co-authored-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>

* Fixing AWS RDS Purge workflow (#970)

* Add aws login (#974)

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

* Add GH action to close stale PRs (#977)

* Add GH action to close stale PRs

Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Karishma Chawla <kachawla@microsoft.com>

* Update radius repo link

Signed-off-by: Karishma Chawla <kachawla@microsoft.com>

---------

Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>
Signed-off-by: Karishma Chawla <kachawla@microsoft.com>
Co-authored-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>

* Adding a secton that waits until the app is ready (#980)

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Update images for guestbook sample app (#986)

* update images for guestbook sample app

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* update images for guestbook sample app

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* move images to /samples path

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

---------

Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>

* Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /samples/demo/client (#1023)

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump follow-redirects from 1.15.4 to 1.15.6 in /samples/demo/client (#1014)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ip from 2.0.0 to 2.0.1 in /samples/demo (#984)

Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](indutny/node-ip@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>

* Bump follow-redirects from 1.15.5 to 1.15.6 in /playwright (#1015)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>

* Bump express from 4.18.2 to 4.19.2 in /samples/demo/client (#1027)

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>

* Bump express from 4.18.2 to 4.19.2 in /samples/demo (#1028)

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>

* Bump express from 4.18.2 to 4.19.2 in /samples/dapr/nodeapp (#1026)

Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>

* Make env configurable (#1046)

Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>

* Adding test AKS workflow to v0.32 (#1052)

* Run functional tests every 2 hours and add another workflow that runs… (#1020)

* Run functional tests every 2 hours and add another workflow that runs the tests on AKS instead of k3d

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Triggering workflow

Signed-off-by: ytimocin <ytimocin@microsoft.com>

---------

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Removing the run of the AKS workflow on PRs (#1051)

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Update the timeout (30s) for Playwright

Signed-off-by: ytimocin <ytimocin@microsoft.com>

---------

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Removing code

* Removing code

* Removing code

* Use retry and update eshop playwright tests to wait for the catalog to appear (#1213)

Signed-off-by: ytimocin <ytimocin@microsoft.com>

* Fixing eshop page

Signed-off-by: willdavsmith <willdavsmith@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Will Tsai <28876888+willtsai@users.noreply.github.com>
Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Signed-off-by: Will <28876888+willtsai@users.noreply.github.com>
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>
Signed-off-by: Lakshmi Javadekar <103459615+lakshmimsft@users.noreply.github.com>
Signed-off-by: Karishma Chawla <kachawla@microsoft.com>
Signed-off-by: ytimocin <ytimocin@microsoft.com>
Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Kotalik <jukotali@microsoft.com>
Co-authored-by: Will <28876888+willtsai@users.noreply.github.com>
Co-authored-by: MD Ashique <noorani.ashique5@gmail.com>
Co-authored-by: Lakshmi Javadekar <103459615+lakshmimsft@users.noreply.github.com>
Co-authored-by: Karishma Chawla <kachawla@microsoft.com>
Co-authored-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com>
Co-authored-by: Yetkin Timocin <ytimocin@microsoft.com>
Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com>
  • Loading branch information
11 people authored Apr 22, 2024
1 parent 27239c2 commit 2717f4e
Show file tree
Hide file tree
Showing 28 changed files with 565 additions and 212 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug Report
about: Report broken functionality within a Radius sample
title: "<BUG TITLE>"
assignees: ''
labels: ["bug"]
---

## Bug information

### Steps to reproduce (required)
<!--How can we recreate this bug? Be specific-->

### Observed behavior (required)
<!--What you're experiencing that you believe is a bug-->

<!--If applicable, add screenshots to help explain your problem-->

### Desired behavior (required)
<!--What you're expecting to happen-->

### Workaround (optional)
<!--Have you found a workaround to get you unblocked?-->

## System information

### rad Version (required)
<!--What rad cli version are you running?-->

<!-- PASTE OUTPUT OF `rad version` -->

### Operating system (required)
<!--What operating system (macOS Monterey, Windows 11, etc.) and architecture (x86, x64, arm64, etc.) are you running?-->

<!-- For example: macOS Monterey, M1 chip -->

## Additional context
<!--Add any other context about the problem here-->
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature Request
about: Request a feature in Radius samples
title: "<FEATURE TITLE>"
assignees: ''
---

## Overview of feature request

<!--What are you proposing Radius add/update/remove?-->

## Acceptance criteria

<!--What will need to be completed/working for this feature to be marked "Done"-->

## Additional context

<!--Add any other context about the problem here-->
27 changes: 27 additions & 0 deletions .github/workflows/close-stale-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow warns and then closes PRs that have had no activity for 90 days.
#
# For more information, see:
# https://github.com/actions/stale
name: Close stale pull requests

on:
schedule:
- cron: '0 18 * * *' # Run the workflow every day at 6PM UTC (10AM PST).

jobs:
stale:

runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This pull request has been automatically marked as stale because it has been inactive for 90 days. Remove stale label or comment or this PR will be closed in 7 days.'
stale-pr-label: 'stale'
days-before-pr-stale: 90 # 3 months
days-before-pr-close: 7
days-before-issue-stale: -1
days-before-issue-close: -1
5 changes: 5 additions & 0 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Issues Automation
on:
issues:
types: [opened, edited, deleted, closed, reopened, labeled, unlabeled, assigned]

concurrency:
group: issue-${{ github.event.issue.number }}
cancel-in-progress: false

jobs:
ado:
Expand All @@ -21,3 +25,4 @@ jobs:
ado_new_state: "New"
ado_active_state: "Active"
ado_close_state: "Closed"
ado_wit: "GitHub Issue"
11 changes: 11 additions & 0 deletions .github/workflows/purge-aws-rds-snapshots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,22 @@ on:
schedule:
# Runs at 00:30 and 12:30
- cron: "30 0,12 * * *"
env:
GH_TOKEN: ${{ github.token }}
AWS_REGION: us-west-2
jobs:
purge_rds_snapshots:
name: Purge AWS RDS DBInstance snapshots
runs-on: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to AWS
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws configure set region ${{ env.AWS_REGION }}
aws configure set output json
- name: Purge AWS RDS DBInstance snapshots
run: |
./.github/scripts/purge-aws-rds-snapshots.sh
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/purge-test-resources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Purge test resources
on:
schedule:
- cron: "30 0,12 * * *"
env:
AZURE_RG_DELETE_LIST_FILE: "az_rg_list.txt"
VALID_RESOURCE_WINDOW: 6*60*60
jobs:
purge_azure_resources:
name: Azure resources clean-ups
runs-on: [self-hosted, 1ES.Pool=1ES-Radius]
steps:
- name: Login to Azure
run: |
az login --service-principal \
--username ${{ secrets.AZURE_SP_TESTS_APPID }} \
--password ${{ secrets.AZURE_SP_TESTS_PASSWORD }} \
--tenant ${{ secrets.AZURE_SP_TESTS_TENANTID }}
az account set --subscription ${{ secrets.AZURE_SUBSCRIPTIONID_TESTS }}
- name: List Test Resource Groups
run: |
echo "## Test resource group list" >> $GITHUB_STEP_SUMMARY
az group list --query "[?starts_with(name, 'samplestest-')].{Name:name, creationTime:tags.creationTime}" -o json > resource_groups.json
current_time=$(date +%s)
hours_ago=$((current_time - ${{ env.VALID_RESOURCE_WINDOW }}))
jq -r '.[] | select(.creationTime == null || .creationTime < '$hours_ago') | .Name' resource_groups.json > ${{ env.AZURE_RG_DELETE_LIST_FILE}}
jq -r '.[] | {name: .Name, creationTime: .creationTime // "None"}' resource_groups.json > $GITHUB_STEP_SUMMARY
- name: Delete Azure Resource Groups
run: |
echo "## Deleting resource group list" >> $GITHUB_STEP_SUMMARY
cat ${{ env.AZURE_RG_DELETE_LIST_FILE}} | while read -r line
do
echo " * $line" >> $GITHUB_STEP_SUMMARY
az group delete --resource-group $line --yes --verbose
done
- name: Create GitHub issue on failure
if: ${{ failure() }}
run: |
gh issue create --title "Samples purge test resources failed \
--body "Test failed on ${{ github.repository }}. See [workflow logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details." \
s--repo ${{ github.repository }}
37 changes: 21 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
if: steps.gen-id.outputs.RUN_TEST == 'true'
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: az CLI login
if: steps.gen-id.outputs.RUN_TEST == 'true' && matrix.credential == 'azure'
run: |
Expand Down Expand Up @@ -270,20 +270,25 @@ jobs:
- name: Run Playwright Test
if: steps.gen-id.outputs.RUN_TEST == 'true' && matrix.uiTestFile != ''
id: run-playwright-test
run: |
if [[ "${{ matrix.container }}" != "" ]]; then
rad resource expose containers ${{ matrix.container }} ${{ matrix.exposeArgs }} --port ${{ matrix.port }} &
echo "Endpoint: http://localhost:${{ matrix.port }}"
export ENDPOINT="http://localhost:${{ matrix.port }}"
else
endpoint="$(rad app status -a ${{ matrix.app }} | sed 's/ /\n/g' | grep http)"
echo "Endpoint: $endpoint"
export ENDPOINT=$endpoint
fi
cd playwright/
npm ci
npx playwright install --with-deps
npx playwright test ${{ matrix.uiTestFile }} --retries 3
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 3
retry_wait_seconds: 30
command: |
if [[ "${{ matrix.container }}" != "" ]]; then
rad resource expose containers ${{ matrix.container }} ${{ matrix.exposeArgs }} --port ${{ matrix.port }} &
echo "Endpoint: http://localhost:${{ matrix.port }}"
export ENDPOINT="http://localhost:${{ matrix.port }}"
else
endpoint="$(rad app status -a ${{ matrix.app }} | sed 's/ /\n/g' | grep http)"
echo "Endpoint: $endpoint"
export ENDPOINT=$endpoint
fi
cd playwright/
npm ci
npx playwright install --with-deps
npx playwright test ${{ matrix.uiTestFile }} --retries 3
- name: Upload Playwright Results
uses: actions/upload-artifact@v4
if: always() && ( steps.run-playwright-test.outcome == 'success' || steps.run-playwright-test.outcome == 'failure' )
Expand All @@ -300,7 +305,7 @@ jobs:
# Create pod-logs directory
mkdir -p playwright/pod-logs/${{ matrix.name }}
# Get pod logs and save to file
namespace="default-${{ matrix.app }}"
namespace="${{ matrix.env }}-${{ matrix.app }}"
label="radapp.io/application=${{ matrix.app }}"
pod_names=($(kubectl get pods -l $label -n $namespace -o jsonpath='{.items[*].metadata.name}'))
for pod_name in "${pod_names[@]}"; do
Expand Down
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Contributing

Radius is in an early phase of development right now. We welcome feedback in the form of issues that comes from usage and is aligned with the current scope and goals of the project. We also welcome contributions and PRs for bug fixes or security fixes. For new functionality or new samples please open an issue first to discuss the scope and goals of the feature. We will not accept new functionality or samples without an issue first.

## How to contribute

1. Fork the repository
2. Create a branch for your changes
3. Make your changes
4. Open a PR
5. Wait for a maintainer to review your PR

## Code of Conduct

Please refer to our [Radius Community Code of Conduct](https://github.com/project-radius/radius/blob/main/CODE_OF_CONDUCT.md)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project Radius Samples
# Radius Samples

This repository contains the source code for quickstarts, reference apps, and tutorials for Project Radius.
This repository contains the source code for quickstarts, reference apps, and tutorials for Radius.

To try out one of these samples, visit https://docs.radapp.dev

Expand Down
71 changes: 71 additions & 0 deletions playwright/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2717f4e

Please sign in to comment.