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

Merge the work from anynines back to the community #1

Merged
merged 33 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3cb4c7e
Make builds work and abstract away architecture (#1)
bmo-at-a9s Jul 14, 2023
0c5d0d7
Improvements in vulnerability checking (#8)
bmo-at-a9s Jul 18, 2023
c4f4d74
Fix the CVEs in the jetstream backend (#12)
bmo-at-a9s Aug 18, 2023
c6722bf
Fix backend unit tests (also code quality improvements) (#15)
bmo-at-a9s Aug 18, 2023
25377e7
Theme Builder: Cast types (#16)
bmo-at-a9s Aug 18, 2023
c4e5d5d
Update required disk space (#17)
bmo-at-a9s Aug 18, 2023
e3f866b
Migrate to github.com/pressly/goose (#18)
bmo-at-a9s Aug 18, 2023
081a242
Move repository/interfaces to its own submodule: api (#19)
bmo-at-a9s Aug 18, 2023
6f7e34d
Build and push base images on push to develop (#11)
bmo-at-a9s Aug 18, 2023
4f06db2
Add Helm support for local repos in desktop mode (#14)
bmo-at-a9s Aug 24, 2023
1de97cb
Fix dependency for database migrations (#20)
bmo-at-a9s Aug 29, 2023
973bafb
Adapt https://github.com/cloudfoundry/stratos/pull/4580: Update store…
bmo-at-a9s Sep 5, 2023
d1567f8
Fix database migrations by casting dialect correctly (#22)
bmo-at-a9s Sep 6, 2023
9dab9c9
add Github Actions for Backend and Frontend Tests (#29)
mafolz Sep 8, 2023
7276048
Add script to help with building as packages and fix devkit and packa…
bmo-at-a9s Sep 14, 2023
55f7f73
Fix typo (#31)
bmo-at-a9s Sep 14, 2023
3abe97e
Code quality improvements via `staticcheck` (#24)
bmo-at-a9s Sep 14, 2023
31cc4a7
tidy up github action workflow for backend tests to resolve wrong gol…
mafolz Sep 14, 2023
e987602
Update to node v20 (#34)
tmeier-a9s Sep 20, 2023
c305846
Remove sass-lint and stratos-protractor-reporter (#37)
bmo-at-a9s Sep 25, 2023
c0aa141
Apply changes from https://github.com/cloudfoundry/stratos/pull/4583 …
bmo-at-a9s Sep 25, 2023
bce7ac3
Upgrade code.cloudfoundry.org/cli to v8 (#42)
bmo-at-a9s Oct 10, 2023
21ac64f
Cherry pick commit 69ac7dc from other branch; now works without any r…
bmo-at-a9s Oct 11, 2023
dbe4bff
fix gogoproto related panic when retrieving logs upgrade github.com/c…
bmo-at-a9s Oct 17, 2023
83683da
Fix frontend CVEs (#40)
bmo-at-a9s Oct 23, 2023
61e3c00
feat: add errorz package to combine errors as enum in there (#47)
nedimakar Nov 2, 2023
10cc7ab
allow newer pgsql versions (#51)
nedimakar Nov 8, 2023
7c1f8a6
Merge branch 'release/4.5.0'
mafolz Nov 10, 2023
e3edf47
Bump @babel/traverse from 7.23.0 to 7.23.6 (#83)
dependabot[bot] Dec 19, 2023
e10a09b
Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#77)
dependabot[bot] Dec 19, 2023
1e90b30
Release 4.5.1 (#130)
bmo-at-a9s Mar 8, 2024
0ba12ea
Update container-push-base-images-develop.yaml (#135)
bmo-at-a9s Mar 8, 2024
ca5b2ee
Merge branch 'main'
bmo-at-a9s Mar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---

version: 2

updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/electron"
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/website"
schedule:
interval: "daily"

- package-ecosystem: "gomod"
directory: "src/jetstream/"
schedule:
interval: "daily"

35 changes: 35 additions & 0 deletions .github/workflows/backend_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Backend Tests

on:
push:
branches:
- develop
- master
pull_request:

jobs:
test_suite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21.0'
cache-dependency-path: |
src/jetstream/go.sum

- name: Create extra_plugins.go
run: |
echo 'package main
// This file is auto-generated - DO NOT EDIT
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/autoscaler"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/cloudfoundry"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/cfapppush"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/cfappssh"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/userinvite"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/analysis"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/kubernetes"
import _ "github.com/cloudfoundry-incubator/stratos/src/jetstream/plugins/monocular"' > src/jetstream/extra_plugins.go

- name: Run tests
run: build/bk-build.sh test
28 changes: 28 additions & 0 deletions .github/workflows/container-push-base-images-develop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: container-push-base-images-develop

on:
push:
branches:
- develop
workflow_dispatch:

jobs:
push-store-image:
runs-on: ubuntu-latest
permissions:
packages: write

steps:
- name: 'Log into GHCR'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{secrets.GH_PACKAGES_USER}}
password: ${{secrets.GH_PACKAGES_TOKEN}}
- name: 'Checkout current develop'
uses: actions/checkout@v3
with:
ref: "develop"
- name: 'Build stratos base images'
run: |
./deploy/stratos-base-images/build-base-images.sh -r ghcr.io -o anynines -p -s
43 changes: 43 additions & 0 deletions .github/workflows/frontend_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Frontend Tests

on:
push:
branches:
- develop
- master
pull_request:

env:
NODE_OPTIONS: --max-old-space-size=5500

jobs:
test_suite:
runs-on: ubuntu-latest
steps:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16

- uses: actions/checkout@v2

- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}

- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- name: Install Dependencies
run: npm install

- name: Run Tests
uses: coactions/setup-xvfb@v1
with:
run: npm run test
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
!.vscode/extensions.json

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down Expand Up @@ -139,6 +140,9 @@ website/versioned_sidebars
website/versions.json
website/versions-repo

# Npm package builds
/npm_pkg

/scan_tmp

# Desktop app using Electron
Expand Down
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
### 4.5.0 - 2023-11-10
* Make builds work and abstract away architecture (#1)
* Improvements in vulnerability checking (#8)
* Fix the CVEs in the jetstream backend (#12)
* Fix backend unit tests (also code quality improvements) (#15)
* Theme Builder: Cast types (#16)
* Update required disk space (#17)
* Migrate to github.com/pressly/goose (#18)
* Move repository/interfaces to its own submodule: api (#19)
* Build and push base images on push to develop (#11)
* Add Helm support for local repos in desktop mode (#14)
* Fix dependency for database migrations (#20)
* Adapt https://github.com/cloudfoundry/stratos/pull/4580: Update store references in core package to refer to @stratosui/store (#26)
* Fix database migrations by casting dialect correctly (#22)
* add Github Actions for Backend and Frontend Tests (#29)
* Add script to help with building as packages and fix devkit and package info
* Fix typo (#31)
* Code quality improvements via `staticcheck` (#24)
* tidy up github action workflow for backend tests to resolve wrong golang version during tests (#32)
* Update to node v20 (#34)
* Remove sass-lint and stratos-protractor-reporter (#37)
* Apply changes from https://github.com/cloudfoundry/stratos/pull/4583 (#33)
* Upgrade code.cloudfoundry.org/cli to v8 (#42)
* Cherry pick commit 69ac7dc from other branch; now works without any restrictions; original commit message: (#45)
* fix gogoproto related panic when retrieving logs upgrade github.com/cloudfoundry/noaa/consumer to 2.3.0 (#46)
* Fix frontend CVEs (#40)
* feat: add errorz package to combine errors as enum in there (#47)
* allow newer pgsql versions (#51)

# Change Log

## 4.4.0
Expand Down
Loading
Loading