Repository navigation
Dev #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #120
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| AUTH0_DOMAIN={Your Auth0 domain}.auth0.com | ||
| AUTH0_CLIENT_ID={Your Auth0 client id} | ||
| AUTH0_CLIENT_SECRET={Your Auth0 secret} | ||
|
|
||
| AZURE_BLOB_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName={Your azure blob storage connection string} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # SharpEngine Pipelines | ||
|
|
||
| ## Pull Request pipelines | ||
|
|
||
|
|
||
|
|
||
| ## Deployment Pipelines | ||
|
|
||
| SharpEngine consists of 5 different deployment pipelines: | ||
| - Publish Core | ||
| - Publish Asset Store | ||
| - Publish Web | ||
| - Publish Docs | ||
| - Publish Launcher | ||
|
|
||
| All of these pipelines are responsible of building and exposing the respective components of the system. | ||
|
|
||
| ### Publish Core | ||
| The `publish-core.yml` creates a zip file of the engine and adds a tag to github and the zip to the releases section. That tag is also added for the commit that it was built off. If a tag for the commit this is being run-off is already found, we don't want to create another copy of the essentially the same version so we skip it. | ||
|
|
||
| ### Publish Asset Store | ||
| The `publish-asset-store.yml` is responsible of deploying the Asset Store web interface, API and Database into Azure. | ||
|
|
||
| All Asset Store's resources can be found under the `rg-asset-store` resource group. | ||
| TODO: Enable from selected access ips | ||
|
|
||
| ### Publish Web | ||
| The `publish-web.yml` is responsible of (similarly to the Asset Store) deploying the SharpEngine web interface, API and Database into Azure. | ||
|
|
||
| All SharpEngine Web's resources can be found under the `rg-sharpengine-web` resource group. | ||
|
|
||
| ### Publish Docs | ||
| The `publish-docs.yml` deploys the documentation files under the ´./docs´ in the root of the repository into the `docs.sharpengine.com` site. | ||
|
|
||
| ### Publish Launcher | ||
| The `` |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: Publish Asset Store _ Temp | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - test | ||
| pull_request: | ||
| branches: | ||
| - test | ||
|
|
||
| jobs: | ||
| echo: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Echo message | ||
| run: echo "Hello from the test branch 👋" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Publish NuGet Package | ||
| name: Publish Core | ||
|
|
||
| on: | ||
| push: | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||||||||||||||||
| name: Publish Docs | ||||||||||||||||||||
|
|
||||||||||||||||||||
| on: | ||||||||||||||||||||
| push: | ||||||||||||||||||||
| branches: | ||||||||||||||||||||
| - test | ||||||||||||||||||||
| pull_request: | ||||||||||||||||||||
| branches: | ||||||||||||||||||||
| - test | ||||||||||||||||||||
|
|
||||||||||||||||||||
| jobs: | ||||||||||||||||||||
| echo: | ||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||
| steps: | ||||||||||||||||||||
| - name: Echo message | ||||||||||||||||||||
| run: echo "Hello from the test branch 👋" | ||||||||||||||||||||
|
Comment on lines
+13
to
+16
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 10 months ago To fix the problem, add an explicit The best-practice fix is to set Edit
Suggested changeset
1
.github/workflows/publish-docs.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
Refresh and try again.
|
||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||||||||||||||||
| name: Publish Launcher | ||||||||||||||||||||
|
|
||||||||||||||||||||
| on: | ||||||||||||||||||||
| push: | ||||||||||||||||||||
| branches: | ||||||||||||||||||||
| - test | ||||||||||||||||||||
| pull_request: | ||||||||||||||||||||
| branches: | ||||||||||||||||||||
| - test | ||||||||||||||||||||
|
|
||||||||||||||||||||
| jobs: | ||||||||||||||||||||
| echo: | ||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||
| steps: | ||||||||||||||||||||
| - name: Echo message | ||||||||||||||||||||
| run: echo "Hello from the test branch 👋" | ||||||||||||||||||||
|
Comment on lines
+13
to
+16
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Copilot AutofixAI 10 months ago To fix this problem, explicitly declare a This involves editing permissions: {}No dependencies, imports, or further code changes are required.
Suggested changeset
1
.github/workflows/publish-launcher.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
Refresh and try again.
|
||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: Publish Web | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - test | ||
| pull_request: | ||
| branches: | ||
| - test | ||
|
|
||
| jobs: | ||
| echo: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Echo message | ||
| run: echo "Hello from the test branch 👋" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -262,3 +262,5 @@ __pycache__/ | |
|
|
||
| # Registry file for setting the .sharpengine file type | ||
| /Editor/shortcut.reg | ||
|
|
||
| .env | ||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 10 months ago
To fix the problem, an explicit
permissionsblock should be added to the workflow, limiting the permissions of the automatically providedGITHUB_TOKEN. The most restrictive option—unless a specific permission is required—ispermissions: {} at the workflow root or at the relevant job level (here, the entire workflow only echoes a message and does not require any permissions). Place the new permissions block at the root, just after thenamekey and before theon` key, to apply to all jobs by default. No additional imports, methods, or code are required beyond the insertion of this YAML block.