-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/add-domain-name-model
- Loading branch information
Showing
11 changed files
with
78 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
token: ${{ secrets.OXOTITAN_GITHUB_KEY }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
token: ${{ secrets.OXOTITAN_GITHUB_KEY }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,26 @@ name: Upload Python Package | |
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
token: ${{ secrets.OXOTITAN_GITHUB_KEY }} | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '18.0.0' | ||
- name: Install Node dependencies | ||
run: npm install | ||
working-directory: src/oxotitan | ||
- name: Generate Nuxt | ||
run: npm run generate | ||
working-directory: src/oxotitan | ||
- name: Copy Nuxt output | ||
run: cp -r src/oxotitan/.output/public src/ostorlab/ui/static | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -41,29 +51,22 @@ jobs: | |
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
push_to_store: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to ostorlab store | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.store_user }} | ||
password: ${{ secrets.store_password }} | ||
- name: truncate current tag | ||
run: echo "TAG=$(echo $GITHUB_REF | cut -c12-17)" >> $GITHUB_ENV | ||
- name: Build image and push to ostorlab Container Registry | ||
uses: docker/build-push-action@v2 | ||
with: | ||
# relative path to the place where source code with Dockerfile is located | ||
context: . | ||
tags: | | ||
ostorlab/oxo:${{env.TAG}} | ||
ostorlab/oxo:latest | ||
push: true | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Login to ostorlab store | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.store_user }} | ||
password: ${{ secrets.store_password }} | ||
- name: truncate current tag | ||
run: echo "TAG=$(echo $GITHUB_REF | cut -c12-17)" >> $GITHUB_ENV | ||
- name: Build image and push to ostorlab Container Registry | ||
uses: docker/build-push-action@v2 | ||
with: | ||
# relative path to the place where source code with Dockerfile is located | ||
context: . | ||
tags: | | ||
ostorlab/oxo:${{env.TAG}} | ||
ostorlab/oxo:latest | ||
push: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters