-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into wip/sections-flexbox-self
- Loading branch information
Showing
101 changed files
with
474 additions
and
607 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 |
---|---|---|
@@ -1,28 +1,30 @@ | ||
**/*.*proj.user | ||
**/*.dbmdl | ||
**/*.jfm | ||
**/.classpath | ||
**/.dockerignore | ||
**/.env | ||
**/.eslint | ||
**/.eslintcache | ||
**/.git | ||
**/.gitattributes | ||
**/.github | ||
**/.gitignore | ||
**/.prettierrc | ||
**/.project | ||
**/.settings | ||
**/.toolstarget | ||
**/.vs | ||
**/.vscode | ||
**/*.*proj.user | ||
**/*.dbmdl | ||
**/*.jfm | ||
**/azds.yaml | ||
**/charts | ||
**/docker-compose* | ||
**/Dockerfile* | ||
**/node_modules | ||
**/npm-debug.log | ||
**/obj | ||
**/secrets.dev.yaml | ||
**/values.dev.yaml | ||
**/yarn-debug.log | ||
|
||
# project specific | ||
README.md | ||
**/.gitattributes | ||
**/.github | ||
**/.git | ||
manifests | ||
**/.env.development* | ||
**/.env.test* | ||
**/build | ||
**/dist | ||
|
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: 'Odyssey UI plugin build action' | ||
description: 'Composite action to build Odyssey UI plugin from monorepo.' | ||
inputs: | ||
plugin-name: | ||
description: "Name of the plugin (the part after packages/plugin_)" | ||
required: true | ||
version: | ||
description: "The version being build" | ||
required: true | ||
registry-server: | ||
description: "Docker registry server" | ||
required: true | ||
registry-user: | ||
description: "Docker registry authentication username" | ||
required: true | ||
registry-pass: | ||
description: "Docker registry authentication password" | ||
required: true | ||
github-token: | ||
description: "Github authentication token" | ||
required: true | ||
k8s-credentials: | ||
description: "K8s credentials" | ||
required: true | ||
plugin-dir: | ||
description: "Optional directory, if it is not the same as plugin-name" | ||
required: false | ||
deploy-name: | ||
description: "Optional naming used for deployment, if it is not the same as plugin-name" | ||
required: false | ||
runs: | ||
using: "composite" | ||
steps: | ||
- id: build-plugin | ||
name: Build ${{ inputs.plugin-name }} | ||
uses: momentum-xyz/[email protected] | ||
with: | ||
registry-server: ${{ inputs.registry-server }} | ||
registry-user: ${{ inputs.registry-user }} | ||
registry-pass: ${{ inputs.registry-pass }} | ||
github-token: ${{ inputs.github-token }} | ||
image-name: plugin-${{ inputs.plugin-name }} | ||
multistage-target: plugin-runtime | ||
extra-args: --build-arg PLUGIN=${{ inputs.plugin-dir || inputs.plugin-name }} | ||
- id: deploy-dev | ||
name: Deploy to development environment | ||
if: github.ref == 'refs/heads/develop' | ||
uses: momentum-xyz/deploy-action@v1 | ||
with: | ||
project: plugin-${{ inputs.deploy-name || inputs.plugin-name }} | ||
version: ${{ inputs.version }} | ||
k8s-credentials: ${{ inputs.k8s-credentials }} | ||
|
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: build-deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
|
@@ -34,93 +35,35 @@ jobs: | |
with: | ||
version: ${{ env.VERSION }} | ||
k8s-credentials: ${{ secrets[secrets.REF_K8S_DEV2] }} | ||
build-miro: | ||
runs-on: self-hosted # ubuntu-latest | ||
needs: build-app | ||
steps: | ||
- id: build-miro | ||
uses: momentum-xyz/[email protected] | ||
with: | ||
registry-server: ${{ secrets.REGISTRY_LOGIN_SERVER }} | ||
registry-user: ${{ secrets.REGISTRY_USERNAME }} | ||
registry-pass: ${{ secrets.REGISTRY_PASSWORD }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
image-name: plugin-miro | ||
multistage-target: plugin-runtime | ||
extra-args: --build-arg PLUGIN=miro | ||
outputs: | ||
version: ${{ steps.build.outputs.version }} | ||
dev2-deploy-miro: | ||
runs-on: self-hosted | ||
needs: build-miro | ||
if: github.ref == 'refs/heads/develop' | ||
concurrency: dev-deploy-${{ github.ref }} | ||
steps: | ||
- id: deploy-dev | ||
uses: momentum-xyz/deploy-action@v1 | ||
with: | ||
project: plugin-miro | ||
version: ${{ env.VERSION }} | ||
k8s-credentials: ${{ secrets[secrets.REF_K8S_DEV2] }} | ||
build-gdrive: | ||
runs-on: self-hosted # ubuntu-latest | ||
needs: build-app | ||
steps: | ||
- id: build-gdrive | ||
uses: momentum-xyz/[email protected] | ||
with: | ||
registry-server: ${{ secrets.REGISTRY_LOGIN_SERVER }} | ||
registry-user: ${{ secrets.REGISTRY_USERNAME }} | ||
registry-pass: ${{ secrets.REGISTRY_PASSWORD }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
image-name: plugin-gdrive | ||
multistage-target: plugin-runtime | ||
extra-args: --build-arg PLUGIN=google_drive | ||
outputs: | ||
version: ${{ steps.build.outputs.version }} | ||
dev2-deploy-gdrive: | ||
build-plugins: | ||
runs-on: self-hosted | ||
needs: build-gdrive | ||
if: github.ref == 'refs/heads/develop' | ||
concurrency: dev-deploy-${{ github.ref }} | ||
steps: | ||
- id: deploy-dev | ||
uses: momentum-xyz/deploy-action@v1 | ||
with: | ||
project: plugin-google-drive | ||
version: ${{ env.VERSION }} | ||
k8s-credentials: ${{ secrets[secrets.REF_K8S_DEV2] }} | ||
build-video: | ||
runs-on: self-hosted # ubuntu-latest | ||
needs: build-app | ||
strategy: | ||
matrix: | ||
plugin: ["miro", "gdrive", "video"] | ||
include: | ||
- plugin: gdrive | ||
directory: google_drive | ||
deploy: google-drive | ||
steps: | ||
- id: build-video | ||
uses: momentum-xyz/[email protected] | ||
- name: "Checkout" | ||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.0.3 | ||
- id: build-plugin | ||
name: Build plugin | ||
uses: ./.github/actions/build-plugin | ||
with: | ||
plugin-name: ${{ matrix.plugin }} | ||
version: ${{ needs.build-app.outputs.version }} | ||
registry-server: ${{ secrets.REGISTRY_LOGIN_SERVER }} | ||
registry-user: ${{ secrets.REGISTRY_USERNAME }} | ||
registry-pass: ${{ secrets.REGISTRY_PASSWORD }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
image-name: plugin-video | ||
multistage-target: plugin-runtime | ||
extra-args: --build-arg PLUGIN=video | ||
outputs: | ||
version: ${{ steps.build.outputs.version }} | ||
dev2-deploy-video: | ||
runs-on: self-hosted | ||
needs: build-video | ||
if: github.ref == 'refs/heads/develop' | ||
concurrency: dev-deploy-${{ github.ref }} | ||
steps: | ||
- id: deploy-dev | ||
uses: momentum-xyz/deploy-action@v1 | ||
with: | ||
project: plugin-video | ||
version: ${{ env.VERSION }} | ||
k8s-credentials: ${{ secrets[secrets.REF_K8S_DEV2] }} | ||
plugin-dir: ${{ matrix.directory }} | ||
deploy-name: ${{ matrix.deploy }} | ||
ops-deploy: | ||
runs-on: ubuntu-latest | ||
needs: [build-app, build-miro, build-gdrive, build-video] | ||
needs: [build-app, build-plugins] | ||
if: ${{ startsWith(github.ref, 'refs/tags/') }} | ||
env: | ||
PROJECT_NAME: ${{ github.event.repository.name }} | ||
|
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
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
Oops, something went wrong.