-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ViewSonic monitor #3163
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
Open
tijuks
wants to merge
41
commits into
github:main
Choose a base branch
from
Global-Information-Systems:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ViewSonic monitor #3163
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
619f90c
Initial commit
tijuks af5131d
Create tijuks.github.com
tijuks e5352b2
change md refs
tijuks 94bfee6
commit all
tijuks 09fa819
install it
tijuks fd051a7
Create azure-webapps-node.yml
tijuks ee79e59
Update config.json
tijuks e6b8284
Add GitHub Actions workflow for npm package publishing
tijuks 42f8374
Create package.json with Azure Webpack configuration and dependencies
tijuks 23fa17d
Create package.json with Azure integration setup
tijuks f5be871
Create .env.example file with Azure Storage and Authentication config…
tijuks d66ccd7
Merge branch 'github:main' into main
tijuks 7104a3e
Add files via upload
tijuks 91dcdd5
Merge pull request #1 from tijuks/codespace-effective-guacamole-x5546…
tijuks 89df6ad
Create webpack.yml
tijuks 2eb7155
Update webpack.yml
tijuks 56ed0de
Create README.md
tijuks a0f332f
Merge pull request #2 from Openwira/main
tijuks 5829d8f
Create devcontainer.json
tijuks 0bcda84
Merge branch 'tijuks:main' into main
tijuks f3b6105
Merge branch 'github:main' into main
tijuks 718c088
Create Revise.prompt.yml
tijuks c9efeb3
Merge branch 'github:main' into main
tijuks 0046b2d
Create devcontainer.json
tijuks 21b6170
Rename node.js.yml to nodejs.yml
tijuks c8fca9b
Create main.yml
tijuks 590171b
Merge branch 'github:main' into main
tijuks 97959a7
Create SECURITY.md
tijuks ce1f08b
Update no-response.yml
tijuks 8ab22bc
Merge branch 'Global-Information-Systems:main' into main
tijuks 209b2b4
Merge pull request #5 from Openwira/main
tijuks 823bcdb
Merge branch 'github:main' into main
tijuks cce7b3b
Create runner.yml
tijuks 732e47f
Create src.json
tijuks 62813d7
Create Funding.yml
tijuks 4bc85a8
Merge branch 'github:main' into main
tijuks 974e6d1
Update Revise.prompt.yml
tijuks 4601365
Update Revise.prompt.yml
tijuks 96f3470
Merge branch 'github:main' into main
tijuks 37201a9
Merge branch 'github:main' into main
tijuks 95ba693
Merge branch 'github:main' into main
tijuks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,4 @@ | ||
| gh pr checkout 2{ | ||
| "image": "mcr.microsoft.com/devcontainers/universal:2", | ||
| "features": {} | ||
| } |
This file contains hidden or 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,12 @@ | ||
| # Azure Storage Configuration | ||
| AZURE_STORAGE_ACCOUNT_NAME=your-storage-account-name | ||
| AZURE_STORAGE_CONTAINER_NAME=your-container-name | ||
|
|
||
| # Azure Authentication | ||
| # For local development, you can use: | ||
| # 1. Azure CLI: az login | ||
| # 2. Environment variables: AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID | ||
| # 3. Managed Identity (when running on Azure) | ||
|
|
||
| # Node Environment | ||
| NODE_ENV=development | ||
This file contains hidden or 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,78 @@ | ||
| # This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch. | ||
| # | ||
| # This workflow assumes you have already created the target Azure App Service web app. | ||
| # For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli | ||
| # | ||
| # To configure this workflow: | ||
| # | ||
| # 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal. | ||
| # For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials | ||
| # | ||
| # 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret. | ||
| # For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret | ||
| # | ||
| # 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below. | ||
| # | ||
| # For more information on GitHub Actions for Azure: https://github.com/Azure/Actions | ||
| # For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | ||
| # For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| workflow_dispatch: | ||
|
|
||
| env: | ||
| AZURE_WEBAPP_NAME: your-app-name # set this to your application's name | ||
| AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root | ||
| NODE_VERSION: '20.x' # set this to the node version to use | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ env.NODE_VERSION }} | ||
| cache: 'npm' | ||
|
|
||
| - name: npm install, build, and test | ||
| run: | | ||
| npm install | ||
| npm run build --if-present | ||
| npm run test --if-present | ||
|
|
||
| - name: Upload artifact for deployment job | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: node-app | ||
| path: . | ||
|
|
||
| deploy: | ||
| permissions: | ||
| contents: none | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| environment: | ||
| name: 'Development' | ||
| url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} | ||
|
|
||
| steps: | ||
| - name: Download artifact from build job | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: node-app | ||
|
|
||
| - name: 'Deploy to Azure WebApp' | ||
| id: deploy-to-webapp | ||
| uses: azure/webapps-deploy@v2 | ||
| with: | ||
| app-name: ${{ env.AZURE_WEBAPP_NAME }} | ||
| publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} | ||
| package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} |
This file contains hidden or 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,34 @@ | ||
| - name: Execute Job | ||
| # You may pin to the exact commit or the version. | ||
| # uses: parasoft/execute-job-action@1899d360584e281e027c537d2df0f75a1115776e | ||
| uses: parasoft/execute-job-action@1.0.7 | ||
| with: | ||
| # CTP URL | ||
| ctpUrl: | ||
| # CTP Username | ||
| ctpUsername: | ||
| # CTP Password | ||
| ctpPassword: | ||
| # CTP Test Execution Job Name | ||
| ctpJob: | ||
| # Abort the job after timeout exceeded | ||
| abortOnTimeout: # optional | ||
| # Timeout value in minutes | ||
| timeoutInMinutes: # optional | ||
| # Publish test execution results to DTP | ||
| publishReport: # optional | ||
| # DTP URL | ||
| dtpUrl: # optional | ||
| # DTP Username | ||
| dtpUsername: # optional | ||
| # DTP Password | ||
| dtpPassword: # optional | ||
| # DTP Project Name | ||
| dtpProject: # optional | ||
| # Build ID to send to DTP | ||
| buildId: # optional | ||
| # Session Tag to send to DTP | ||
| sessionTag: # optional | ||
| # Append the test variable set environment name to the session tag | ||
| appendEnvironment: # optional | ||
|
|
This file contains hidden or 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 hidden or 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,31 @@ | ||
| # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
|
||
| name: Node.js CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| matrix: | ||
| node-version: [18.x, 20.x, 22.x] | ||
| # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
| cache: 'npm' | ||
| - run: npm ci | ||
| - run: npm run build --if-present | ||
| - run: npm test |
This file contains hidden or 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,33 @@ | ||
| # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
| # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
|
||
| name: Node.js Package | ||
|
|
||
| on: | ||
| release: | ||
| types: [created] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| - run: npm ci | ||
| - run: npm test | ||
|
|
||
| publish-npm: | ||
| needs: build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| registry-url: https://registry.npmjs.org/ | ||
| - run: npm ci | ||
| - run: npm publish | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{secrets.npm_token}} |
This file contains hidden or 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,138 @@ | ||
| - name: Deploy GitHub Runner to AWS (EC2) | ||
| # You may pin to the exact commit or the version. | ||
| # uses: bitovi/github-actions-deploy-github-runner-to-ec2@6e35bdc2c305bec7608655b84227b88ac75c5961 | ||
| uses: bitovi/github-actions-deploy-github-runner-to-ec2@v0 | ||
| with: | ||
| # Specifies if this action should checkout the code | ||
| checkout: # optional, default is true | ||
| # Will run only the generation phase of BitOps, where the Terraform and Ansible code is built. | ||
| bitops_code_only: # optional | ||
| # Store BitOps code as a GitHub artifact | ||
| bitops_code_store: # optional | ||
| # Repo URL for the runner to listen to | ||
| repo_url: | ||
| # Repo access token | ||
| repo_access_token: | ||
| # AWS access key ID | ||
| aws_access_key_id: # optional | ||
| # AWS secret access key | ||
| aws_secret_access_key: # optional | ||
| # AWS session token | ||
| aws_session_token: # optional | ||
| # AWS default region | ||
| aws_default_region: # optional, default is us-east-1 | ||
| # Set to override the AWS resource identifier for the deployment. Defaults to `${org}-{repo}-{branch}`. Use with destroy to destroy specific resources. | ||
| aws_resource_identifier: # optional | ||
| # A JSON object of additional tags that will be included on created resources. Example: `{"key1": "value1", "key2": "value2"}` | ||
| aws_additional_tags: # optional | ||
| # Set to "true" to Destroy the stack through Terraform. | ||
| tf_stack_destroy: # optional | ||
| # Change this to be anything you want to. Carefull to be consistent here. A missing file could trigger recreation, or stepping over destruction of non-defined objects. | ||
| tf_state_file_name: # optional | ||
| # Append a string to the tf-state-file. Setting this to `unique` will generate `tf-state-aws-unique`. Can co-exist with the tf_state_file_name variable. | ||
| tf_state_file_name_append: # optional | ||
| # AWS S3 bucket to use for Terraform state. Defaults to `${org}-${repo}-{branch}-tf-state` | ||
| tf_state_bucket: # optional | ||
| # Force purge and deletion of S3 bucket defined. Any file contained there will be destroyed. `tf_stack_destroy` must also be `true` | ||
| tf_state_bucket_destroy: # optional | ||
| # Secret name to pull env variables from AWS Secret Manager, could be a comma separated list, read in order. Expected JSON content. | ||
| env_aws_secret: # optional | ||
| # File containing environment variables to be used with the app | ||
| env_repo: # optional | ||
| # `.env` file to be used with the app from Github secrets | ||
| env_ghs: # optional | ||
| # `.env` file to be used with the app from Github variables | ||
| env_ghv: # optional | ||
| # Define if an EC2 instance should be created | ||
| aws_ec2_instance_create: # optional | ||
| # AWS AMI Filter string. Will be used to lookup for lates image based on the string. Defaults to `ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*`. | ||
| aws_ec2_ami_filter: # optional | ||
| # Owner of AWS AMI image. This ensures the provider is the one we are looking for. Defaults to `099720109477`, Canonical (Ubuntu). | ||
| aws_ec2_ami_owner: # optional | ||
| # AWS AMI ID. Will default to lookup for latest image of the `aws_ec2_ami_filter` string. This will override `aws_ec2_ami_filter` lookup. | ||
| aws_ec2_ami_id: # optional | ||
| # Set this to true if you want to recreate the EC2 instance if there is a newer version of the AMI. | ||
| aws_ec2_ami_update: # optional | ||
| # The AWS IAM instance profile to use for the EC2 instance | ||
| aws_ec2_iam_instance_profile: # optional | ||
| # The AWS Instance type | ||
| aws_ec2_instance_type: # optional | ||
| # Define the volume size (in GiB) for the root volume on the AWS Instance. | ||
| aws_ec2_instance_root_vol_size: # optional | ||
| # Set this to true to avoid deletion of root volume on termination. Defaults to false. | ||
| aws_ec2_instance_root_vol_preserve: # optional | ||
| # The name of the EC2 security group | ||
| aws_ec2_security_group_name: # optional | ||
| # Generates and manages a secret manager entry that contains the public and private keys created for the ec2 instance. | ||
| aws_ec2_create_keypair_sm: # optional | ||
| # Add a public IP to the instance or not. (Not an Elastic IP) | ||
| aws_ec2_instance_public_ip: # optional | ||
| # List of ports to be enabled as an ingress rule in the EC2 SG, in a [xx,yy] format - Not the ELB | ||
| aws_ec2_port_list: # optional | ||
| # Relative path in the repo for a user provided script to be executed with Terraform EC2 Instance creation. | ||
| aws_ec2_user_data_file: # optional, default is no-file-provided | ||
| # If user_data file changes, instance will stop and start. Hence public IP will change. Defaults to true. | ||
| aws_ec2_user_data_replace_on_change: # optional | ||
| # A JSON object of additional tags that will be included on created resources. Example: `{"key1": "value1", "key2": "value2"}` | ||
| aws_ec2_additional_tags: # optional | ||
| # Define if a VPC should be created | ||
| aws_vpc_create: # optional | ||
| # Set a specific name for the VPC | ||
| aws_vpc_name: # optional | ||
| # Define Base CIDR block which is divided into subnet CIDR blocks. Defaults to 10.0.0.0/16. | ||
| aws_vpc_cidr_block: # optional | ||
| # Comma separated list of public subnets. Defaults to 10.10.110.0/24 | ||
| aws_vpc_public_subnets: # optional | ||
| # Comma separated list of private subnets. If none, none will be created. | ||
| aws_vpc_private_subnets: # optional | ||
| # Comma separated list of availability zones. Defaults to `aws_default_region. | ||
| aws_vpc_availability_zones: # optional | ||
| # AWS VPC ID. Accepts `vpc-###` values. | ||
| aws_vpc_id: # optional | ||
| # Specify a Subnet to be used with the instance. If none provided, will pick one. | ||
| aws_vpc_subnet_id: # optional | ||
| # Enables NAT gateway | ||
| aws_vpc_enable_nat_gateway: # optional | ||
| # Creates only one NAT gateway | ||
| aws_vpc_single_nat_gateway: # optional | ||
| # Comma separated list of IP IDS to reuse in the NAT gateways | ||
| aws_vpc_external_nat_ip_ids: # optional | ||
| # A JSON object of additional tags that will be included on created resources. Example: `{"key1": "value1", "key2": "value2"}` | ||
| aws_vpc_additional_tags: # optional | ||
| # | ||
| aws_secret_env: # optional | ||
| # | ||
| repo_env: # optional | ||
| # | ||
| dot_env: # optional | ||
| # | ||
| ghv_env: # optional | ||
| # | ||
| stack_destroy: # optional | ||
| # | ||
| additional_tags: # optional | ||
| # | ||
| ec2_instance_profile: # optional | ||
| # | ||
| ec2_instance_type: # optional | ||
| # | ||
| ec2_ami_id: # optional | ||
| # | ||
| ec2_ami_update: # optional | ||
| # | ||
| ec2_volume_size: # optional | ||
| # | ||
| ec2_root_preserve: # optional | ||
| # | ||
| ec2_security_group_name: # optional | ||
| # | ||
| ec2_create_keypair_sm: # optional | ||
| # | ||
| ec2_instance_public_ip: # optional | ||
| # | ||
| ec2_user_data_file: # optional, default is no-file-provided | ||
| # | ||
| ec2_user_data_replace_on_change: # optional | ||
| # | ||
| ec2_additional_tags: # optional | ||
|
|
This file contains hidden or 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 @@ | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.