Commit Graph

70 Commits

Author SHA1 Message Date
Scott Anderson a79e0ffc19 Automatically deploy from any branch, PR comments on deploy (#638)
## Description:

- Automatically deploy from any branch
- Add a PR comment on deployment


![image](https://github.com/user-attachments/assets/895560de-b4b0-4b2a-90fd-e3d1818f3090)

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-05-02 12:45:13 -07:00
evan 2bef39408c add otel secrets to github deployment 2025-05-01 11:10:48 -07:00
Scott Anderson 03440e1dd1 deploy (#627)
## Description:

## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [ ] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-29 20:22:18 -07:00
Scott Anderson 7e64b21450 Fix push hook (#626)
## Description:

## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [ ] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-29 20:08:27 -07:00
Scott Anderson c2a519ef55 deploy (#623)
## Description:

## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [ ] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-29 14:44:18 -07:00
Scott Anderson b8fd55077b deploy (#622)
## Description:

## Please complete the following:

- [ ] I have added screenshots for all UI updates
- [ ] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [ ] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

<DISCORD USERNAME>

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-29 14:17:04 -07:00
evan 3e5a1eacdb add ssh-keyscan to github deploy workflow 2025-04-29 14:10:51 -07:00
Scott Anderson ff4e1a4e4f Migrate subdomain deployments to their own GitHub environment (#590)
## Description:

Migrate subdomain deployments to their own GitHub environment, so that
subdomain deployments do not overwrite other subdomains.

| Before | After |
| --- | --- |
|
![image](https://github.com/user-attachments/assets/53be73ab-a01b-4c01-be4f-6f99d358361d)
|
![image](https://github.com/user-attachments/assets/a30d3673-859a-4dec-bea9-d77dd5fdc9ff)
|

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-27 17:17:35 -07:00
evan cfe292cec7 deploy to main.openfront.dev on main commit 2025-04-21 14:54:42 -07:00
Scott Anderson dc65da68c0 🚀 Deploy (#580)
## Description:

Related to #504


![image](https://github.com/user-attachments/assets/4d55ec7b-7d51-4214-bc29-613845bc5886)

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-21 09:18:38 -07:00
Scott Anderson b6ec41f350 Deploy workflow (#500)
## Description:

Adds a github workflow to deploy changes to staging or production.

## Steps to enable this workflow

1. Create two github environments at
https://github.com/openfrontio/OpenFrontIO/settings/environments.
- They have to be named `production` and `staging`, unless you modify
the yaml.
2. In each github environment, create two two variables:
    -  `DOCKERHUB_REPO`
    - `DOCKERHUB_USERNAME`
3. In each github environment, create four secrets:
    - `DOCKERHUB_TOKEN`
    - `SERVER_HOST`
    - `SERVER_USERNAME`
    - `SSH_PRIVATE_KEY`

Fixes #504 

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-12 18:36:05 -07:00
Scott Anderson 9a3983d014 ESLint improvements (#388)
## Description

Adds various features to improve the DX with eslint:

### Webpack

- Use `eslint-webpack-plugin` for better observability of lint errors
during development.

### Ignored files

- Enable `.gitignore` support for eslint.

### Commit hook

- Add `eslint --fix` to pre-commit hook.

### Github actions
- Add eslint check to a new github action workflow.
- Use `eslint-formatter-gha` to annotate PR files with lint failures
(see the Files changed tab,
[example](https://github.com/openfrontio/OpenFrontIO/pull/388/commits/73862230be5aad7b18e122b1cd4ab05fc9570b2c)).


![image](https://github.com/user-attachments/assets/b399b92e-8eb0-48e1-92b7-ce630ccf12e1)

## Testing

These changes have been validated through local testing and through
Github workflows.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

fake.neo

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
2025-04-02 09:09:38 -07:00
evanpelle b1c78ccca7 add test action (#281) 2025-03-17 16:52:32 -07:00
Evan 2c075fc382 Revert "initial bun setup"
This reverts commit 5236f7a212.

bun was causing code 1006 websocket errors
2025-03-16 20:37:04 -07:00
BeGj 5236f7a212 initial bun setup 2025-03-07 15:45:29 +00:00
Evan 3751a548e3 don't install submodules on github ci 2025-03-02 12:08:57 -08:00
Evan 2df3db7292 format root dir 2025-02-12 08:38:56 -08:00
Evan a3236653d3 add prettier command 2025-02-12 08:38:38 -08:00
evanpelle 5e3aa1977e Update ci.yml 2024-09-09 15:36:45 -07:00
evanpelle 05f55c490f First Commit 2024-08-04 19:51:23 -07:00