Skip to content

Commit

Permalink
Merge branch 'release/4.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mafolz committed Nov 10, 2023
2 parents f34f428 + 10cc7ab commit 7c1f8a6
Show file tree
Hide file tree
Showing 1,021 changed files with 26,531 additions and 25,685 deletions.
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.DOCKERHUB_USERNAME}}
password: ${{secrets.DOCKERHUB_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

0 comments on commit 7c1f8a6

Please sign in to comment.