forked from cloudfoundry/stratos
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/INT-2933-initial-support-for-ca-c…
…ert-endpoints
- Loading branch information
Showing
844 changed files
with
21,691 additions
and
22,688 deletions.
There are no files selected for viewing
This file contains 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,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 |
This file contains 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 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,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 |
This file contains 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 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
Oops, something went wrong.