Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

# Default rule: anything that doesn't match a more specific rule goes here
* @radius-project/radius-pm
* @project-radius/radius-pm
42 changes: 0 additions & 42 deletions .github/scripts/release-samples.sh

This file was deleted.

9 changes: 4 additions & 5 deletions .github/scripts/validate_semver.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ def main():
SEMVER_REGEX = r"^(?P<major>0|[1-9]\d*)\.(?P<minor>0|[1-9]\d*)\.(?P<patch>0|[1-9]\d*)(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$"

pattern = re.compile(SEMVER_REGEX)

version = sys.argv[1]
match = pattern.search(version)

if version == "edge":
print("Provided version is edge")
sys.exit(0)
elif match is None:

# If no match, then return an error (provided version is not valid semver)
if match is None:
print("Provided version is not valid semver")
sys.exit(1)
else:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ concurrency:
env:
VERSION: ${{ github.event.pull_request.number || 'edge' }}
# Use radiusdev.azurecr.io for PR build. Otherwise, use radius.azurecr.io.
# TODO_LAUNCH: Remove this env var once we opensource the repo - https://github.com/radius-project/samples/issues/439
# TODO_LAUNCH: Remove this env var once we opensource the repo - https://github.com/project-radius/samples/issues/439
DOCKER_REGISTRY: ${{ github.event.pull_request.number && 'radiusdev.azurecr.io' || 'radius.azurecr.io' }}
# Use radiusdev.azurecr.io for PR build. Otherwise, use radius.azurecr.io.
CONTAINER_REGISTRY: ${{ github.event.pull_request.number && 'ghcr.io/radius-project/dev' || 'ghcr.io/radius-project/samples' }}
CONTAINER_REGISTRY: ${{ github.event.pull_request.number && 'ghcr.io/project-radius/dev' || 'ghcr.io/project-radius/samples' }}
# Set to true to push images to registry.
PUSH_IMAGE: true

jobs:
# TODO_LAUNCH: Remove this build job once we opensource the repo - https://github.com/radius-project/samples/issues/439
# TODO_LAUNCH: Remove this build job once we opensource the repo - https://github.com/project-radius/samples/issues/439
build:
name: Build and push sample images to ACR
if: github.event.action != 'closed'
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
push: ${{ env.PUSH_IMAGE }}
tags: ${{ env.CONTAINER_REGISTRY }}/reference-apps/aws-sqs-sample:${{ env.VERSION }}

# TODO_LAUNCH: Remove this job once we opensource the repo because all pkgs will be cleaned up regularly - https://github.com/radius-project/samples/issues/439
# TODO_LAUNCH: Remove this job once we opensource the repo because all pkgs will be cleaned up regularly - https://github.com/project-radius/samples/issues/439
cleanup:
name: Cleanup ${{ matrix.image }}
if: github.event.action == 'closed'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
ISSUE: ${{ github.event.issue.html_url }}
AUTHOR: ${{ github.actor }}
run: |
MEMBERS=$(gh api orgs/radius-project/teams/Radius-Preview/members | jq -r '.[] | .login')
ADMINS=$(gh api orgs/radius-project/teams/Radius-Admin/members | jq -r '.[] | .login')
MEMBERS=$(gh api orgs/project-radius/teams/Radius-Preview/members | jq -r '.[] | .login')
ADMINS=$(gh api orgs/project-radius/teams/Radius-Admin/members | jq -r '.[] | .login')
for USER in $MEMBERS; do
if [[ "$USER" == "$AUTHOR" ]]; then
ISADMIN=false
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/release.yaml

This file was deleted.

Loading