Skip to content
Merged
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
24 changes: 5 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,17 @@ jobs:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: "3.12"

- name: Install dependencies
run: |
python3 -m pip install -U requests
python3 -m pip install outerbounds pyyaml
python3 -m pip install -U ob-project-utils
run: pip install outerbounds ob-project-utils

- name: Configure Outerbounds
run: |
PROJECT_NAME=$(yq .project obproject.toml)
DEFAULT_CICD_USER="${PROJECT_NAME//_/-}-cicd"
PLATFORM=$(yq .platform obproject.toml)
CICD_USER=$(yq ".cicd_user // \"$DEFAULT_CICD_USER\"")
PERIMETER="default"
echo "🏗️ Deployment target:"
echo " Platform: $PLATFORM"
echo " CI/CD User: $CICD_USER"
echo " Perimeter: $PERIMETER"
outerbounds service-principal-configure \
--name $CICD_USER \
--deployment-domain $PLATFORM \
--perimeter $PERIMETER \
--from-obproject-toml \
--github-actions

- name: Deploy Project
Expand All @@ -62,4 +49,3 @@ jobs:
COMMENTS_URL: ${{ github.event.pull_request.comments_url }}
PYTHONUNBUFFERED: 1
run: obproject-deploy

65 changes: 0 additions & 65 deletions azure-pipelines.yml

This file was deleted.

2 changes: 1 addition & 1 deletion obproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# ⬇️ Change this to match the URL of your Outerbounds deployment
platform = 'dev-silverwing.outerbounds.xyz'
platform = 'dev-yellow.outerbounds.xyz'

# ⬇️ Change these to match your project name
project = 'ob_project_empty'
Expand Down
Loading