Skip to content

Commit 120d424

Browse files
authored
Merge pull request #4 from AMDResearch/develop
Fix potential permission issues on build script
2 parents a77887d + 17ffa7d commit 120d424

4 files changed

Lines changed: 101 additions & 12 deletions

File tree

.github/release-drafter.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# --- Release Title and Tag Templates ---
2+
# $RESOLVED_VERSION is calculated based on the version-template below
3+
name-template: 'v$RESOLVED_VERSION Pre-release 🏗️'
4+
tag-template: 'v$RESOLVED_VERSION'
5+
6+
# --- Pre-release Logic ---
7+
# Marks the release as "Pre-release" in the GitHub UI
8+
prerelease: true
9+
10+
# Versioning logic:
11+
# Uses the next calculated patch version and appends the PR number as a suffix
12+
# Example: 1.2.0-rc.105
13+
version-template: '$NEXT_PATCH_VERSION-rc.$NUMBER'
14+
15+
# --- Version Increment Rules ---
16+
# Determines whether to bump Major, Minor, or Patch based on PR Labels
17+
version-resolver:
18+
major:
19+
labels:
20+
- 'major'
21+
- 'breaking-change'
22+
minor:
23+
labels:
24+
- 'feature'
25+
- 'enhancement'
26+
patch:
27+
labels:
28+
- 'bug'
29+
- 'fix'
30+
- 'security'
31+
default: patch
32+
33+
# --- Release Notes Categorization ---
34+
# Organizes the PRs into sections in the release notes
35+
categories:
36+
- title: '🚀 New Features'
37+
labels:
38+
- 'feature'
39+
- 'enhancement'
40+
- title: '🐛 Bug Fixes'
41+
labels:
42+
- 'bug'
43+
- 'fix'
44+
- title: '🛡️ Security'
45+
labels:
46+
- 'security'
47+
- title: '🧰 Maintenance & Infrastructure'
48+
labels:
49+
- 'chore'
50+
- 'ci'
51+
- 'documentation'
52+
53+
# --- Cleanup ---
54+
# PRs with these labels will be ignored in the release notes
55+
exclude-labels:
56+
- 'skip-release'
57+
- 'duplicate'
58+
59+
# --- Release Body Template ---
60+
template: |
61+
## What's Changed in this Pre-release
62+
$CHANGES
63+
64+
***
65+
**Full Changelog**: $REPOSITORY_URL/compare/$PREVIOUS_TAG...$NEXT_TAG
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
types: [opened, reopened, synchronize]
11+
12+
permissions:
13+
contents: write
14+
pull-requests: read
15+
16+
jobs:
17+
update_release_draft:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: release-drafter/release-drafter@v6
21+
with:
22+
config-name: release-drafter.yml
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Includes 9 hands-on labs designed to teach LLM development from scratch.
4343

4444
## Quick Start
4545

46-
The simplest way to deploy AUP Learning Cloud on a single machine.
46+
The simplest way to deploy AUP Learning Cloud on a single machine in a development or demo environment.
4747

4848
### Prerequisites
4949
- **Hardware**: AMD Ryzen™ AI Halo Device (e.g., AI Max+ 395, AI Max 390)
@@ -95,6 +95,13 @@ sudo ./single-node.sh upgrade-runtime
9595
sudo ./single-node.sh build-images
9696
```
9797

98+
## Manual Installation
99+
100+
For users who prefer step-by-step manual installation or need more control over the deployment process:
101+
102+
- [Single-Node Manual Deployment](deploy/README.md#single-node-deployment) - Detailed manual setup for development and demo environments
103+
- [Multi-Node Cluster Deployment](deploy/README.md#multi-node-cluster-deployment) - Production deployment with Ansible playbooks
104+
98105
## Key Features
99106

100107
### Hardware Acceleration
@@ -137,13 +144,6 @@ Current environments are set up as `RESOURCE_IMAGES` in `runtime/jupyterhub/file
137144
- [GitHub OAuth Setup](docs/jupyterhub/How_to_Setup_GitHub_OAuth.md) - OAuth configuration
138145
- [Maintenance Manual](docs/user-manual/aup-remote-lab-user-manual-admin-new.md) - Operations guide
139146

140-
## Manual Installation
141-
142-
For users who prefer step-by-step manual installation or need more control over the deployment process:
143-
144-
- [Single-Node Manual Deployment](deploy/README.md#single-node-deployment) - Detailed manual setup for development and demo environments
145-
- [Multi-Node Cluster Deployment](deploy/README.md#multi-node-cluster-deployment) - Production deployment with Ansible playbooks
146-
147147
## Contributing
148148

149149
Please refer to [CONTRIBUTING.md](docs/contribute.md) for details on how to contribute to the project.

dockerfiles/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ hub:
3333
echo "Building Hub Image..."; \
3434
echo "-------------------------------------------";
3535

36-
cd Hub && ./build.sh
36+
cd Hub && bash ./build.sh
3737
$(MAKE) save-image IMAGE=ghcr.io/amdresearch/auplc-hub:latest
3838

3939
# --- Course Images ---
@@ -44,23 +44,23 @@ cv:
4444
echo "Building CV Course Image..."; \
4545
echo "-------------------------------------------";
4646

47-
cd Courses/CV && ./build.sh
47+
cd Courses/CV && bash ./build.sh
4848
$(MAKE) save-image IMAGE=ghcr.io/amdresearch/auplc-cv:latest
4949

5050
dl:
5151
@echo "-------------------------------------------"; \
5252
echo "Building DL Course Image..."; \
5353
echo "-------------------------------------------";
5454

55-
cd Courses/DL && ./build.sh
55+
cd Courses/DL && bash ./build.sh
5656
$(MAKE) save-image IMAGE=ghcr.io/amdresearch/auplc-dl:latest
5757

5858
llm:
5959
@echo "-------------------------------------------"; \
6060
echo "Building LLM Course Image..."; \
6161
echo "-------------------------------------------";
6262

63-
cd Courses/LLM && ./build.sh
63+
cd Courses/LLM && bash ./build.sh
6464
$(MAKE) save-image IMAGE=ghcr.io/amdresearch/auplc-llm:latest
6565

6666
# --- Export Images ---

0 commit comments

Comments
 (0)