Skip to content
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

Release/0.60.0 #1074

Merged
merged 14 commits into from
Dec 21, 2023
Merged

Release/0.60.0 #1074

merged 14 commits into from
Dec 21, 2023

Conversation

harishv7
Copy link
Contributor

v0.60.0

  • fix: add conditional sha calc #1072
  • feat(dockerfile): migrate fetching keys to script too #1070
  • ref(ts migration): replaced all instances of any with explicit types in repoService.ts #1066
  • fix(ci): update commands #1069
  • feat(docker): setup github stuff to be parity with efs #1067
  • IS-835 Removed all instances of any from GitHubService.ts #1063
  • feat(docker): shift app to docker #1059
  • release/0.59.0 #1061
  • fix(ci): update jest command cefefc1
  • fix(ci-9): update to use 3da4d1c
  • fix(ci): update command f36c524

harishv7 and others added 14 commits December 18, 2023 11:39
* feat(docker): add docker config

* refactor(package): update command

* fix(dockerfile): remove extra copy

* refactor(dockerfile): update docker file

* fix(docker): update dockerfile to have git + efs vol
* removed all instances of any from GitHubService.ts

* added more explicit types to gitTree and message

* removed unnecessary gitTree declartion as string
**NOTE: Setup changes required after this PR is merged!!!**
## Problem
Docker setup previously couldn't push to github due to lacking ssh creds + git config. This PR solves that issue.

Closes [insert issue #]

## Solution
- copy over stuff from a local `.ssh` folder into docker 
- add git + ssh clients
- add github to trusted hosts 

## Setup instructions
- This assumes that your `git.config` is **global**; if this isn't so, remedy by following the instructions [here](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup)
- Copy over your `ssh` creds for github into a `.ssh` folder **rooted inside our workdir** (that's `isomercms-backend/`). Name the public key `github.pub` and hte private key `github`
- ensure that your local `DB_URI` is `postgres://isomer:password@postgres:5432/isomercms_dev` (updated alr in 1pw)
## Problem
CI tests were failing as `docker compose up` is timing out despite working fine on local

## Solution
don't use docker compose, just pass a command directly
…in repoService.ts (#1066)

* replaced all instances of any with explict types in repoService.ts

* remove unnecessary return type and unused import

* refactored changeRepoPrivacy to use ResultAsync properly

* made several properties optional in GithubRepoInfo

* fixed test
* feat(dockerfile): migrate fetching keys to script too

* feat(dockerfile): rework and add dockerignore
* fix: add conditional sha calc

* fix(media): remove unused query and set small limit

* fix: remove debug statements

* fix: refactor code

* fix: add sha for listDirectoryContents

---------

Co-authored-by: Hsu Zhong Jun <[email protected]>
@mergify mergify bot mentioned this pull request Dec 21, 2023
@harishv7 harishv7 requested a review from seaerchin December 21, 2023 07:47
@harishv7 harishv7 merged commit 549270e into master Dec 21, 2023
34 checks passed
@mergify mergify bot deleted the release/0.60.0 branch December 21, 2023 08:07
This was referenced Jun 27, 2024
@dcshzj dcshzj mentioned this pull request Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants