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

Update suse customization process with V4 build #397

Merged
merged 225 commits into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
b1d8453
WIP
nwmac Apr 30, 2020
2685de7
Add theme migration
nwmac May 1, 2020
6ded30a
File moves
nwmac May 1, 2020
5f6bf7d
Merge remote-tracking branch 'origin/angular9-filemoves' into angular9
nwmac May 1, 2020
453b680
WIP
nwmac Apr 30, 2020
d7a98cb
Add theme migration
nwmac May 1, 2020
fa6dfdf
Start to make core a separate library
nwmac May 2, 2020
a70a4b6
Tweaks
nwmac May 4, 2020
052d53a
WIP
richard-cox May 21, 2020
b6e8d86
Merge remote-tracking branch 'origin/angular9' into v4-a9-build
nwmac May 22, 2020
77c0dab
Fix package imports
nwmac May 22, 2020
57154d0
Fix migration script
nwmac May 22, 2020
cc35806
First pass at permission effects
richard-cox May 22, 2020
27e23fd
Fix merge issues
nwmac May 22, 2020
a79d15d
Merge remote-tracking branch 'origin/master' into v4-a9-build
nwmac May 22, 2020
94135c1
First pass at reducer
richard-cox May 22, 2020
d10eda2
Tidy up logging
nwmac May 22, 2020
2c19de2
Fix dark theme support
nwmac May 23, 2020
eca176d
Final set of cloud-foundry code out of common
richard-cox May 26, 2020
b737611
TIdy up and get themable packages working
nwmac May 26, 2020
be291ab
Tidy up custom build code
nwmac May 27, 2020
b601979
Tidy ups
nwmac May 27, 2020
97fd2f8
Set defaults when no stratos.yaml file is present
nwmac May 27, 2020
f0b6bb2
FIx migrate script for when stratos.yaml not present
nwmac May 27, 2020
8e60e81
Remove comments
nwmac May 27, 2020
eae7afc
Disable scss linter from code climate
nwmac May 27, 2020
614cba3
Rejig example extensions to be a package for v4 build
nwmac May 27, 2020
790b889
Renames, todos
richard-cox May 27, 2020
5f12456
Minor fixes
richard-cox May 27, 2020
304fbdd
Fix frontend unit test
nwmac May 27, 2020
bce115d
Fix removed e2e target
nwmac May 27, 2020
2f627ce
Merge remote-tracking branch 'origin/master' into v4-a9-build
nwmac May 27, 2020
62248fc
Fix unit tests
richard-cox May 27, 2020
32022a5
Merge branch 'v4-a9-build' into v4-build-examples
nwmac May 27, 2020
4814eec
Tweaks
richard-cox May 28, 2020
bd60914
Merge remote-tracking branch 'origin/master' into filemoves-permissions
richard-cox May 28, 2020
7a584a8
Finish todos
richard-cox May 28, 2020
5093799
Fix transition from space summary to app summary page
richard-cox May 28, 2020
ac762cd
Add comment, tidy up rootUpdatingKey
richard-cox May 28, 2020
6e7576a
Fix issue where gitlab summary tab threw errors in console
richard-cox May 28, 2020
4b037b2
Push combine of permission configs into checkers
richard-cox May 29, 2020
d9deb52
Fix issue where default add/remove setting in change role by username…
richard-cox May 29, 2020
a3c17c1
Merge remote-tracking branch 'origin/fix-add-remove-role-by-username'…
richard-cox May 29, 2020
c82a8a8
Merge remote-tracking branch 'origin/master' into entity-service-fixes
richard-cox Jun 1, 2020
eceb2c3
Fix store-test-helper
richard-cox Jun 1, 2020
e01405d
Merge remote-tracking branch 'origin/master' into filemoves-permissions
richard-cox Jun 1, 2020
dd578a1
Merge remote-tracking branch 'origin/master' into entity-service-fixes
richard-cox Jun 1, 2020
a0fbb70
Update readme following move to Travis-ci.com
nwmac Jun 1, 2020
9011c81
Ensure the correct key is used metacard favourite info (#4321)
richard-cox Jun 2, 2020
0741ba6
Merge pull request #4340 from cloudfoundry/travisci-com-move
richard-cox Jun 2, 2020
5a76775
Merge pull request #4339 from cloudfoundry/helm-recreate-pods
richard-cox Jun 2, 2020
c1c46ae
Merge remote-tracking branch 'origin/master' into fix-git-summary
richard-cox Jun 2, 2020
630f2b5
Fix display of details in endpoint card in endpoint list (#4319)
richard-cox Jun 2, 2020
16fff4d
Merge remote-tracking branch 'origin/master' into fix-add-remove-role…
richard-cox Jun 2, 2020
f4d6df9
Clean default/blocked logic
richard-cox Jun 2, 2020
8e08234
Merge pull request #4320 from cloudfoundry/entity-service-fixes
richard-cox Jun 2, 2020
4c92c83
Rename @stratos to @stratosui
nwmac Jun 2, 2020
8828d89
FIx references in tsconfig.json
nwmac Jun 2, 2020
65a69a9
Merge pull request #4326 from cloudfoundry/fix-git-summary
richard-cox Jun 2, 2020
c3bcc93
Merge pull request #4334 from cloudfoundry/fix-add-remove-role-by-use…
richard-cox Jun 3, 2020
d7bb6fa
Merge pull request #4341 from cloudfoundry/stratosui
richard-cox Jun 3, 2020
eb92f4b
Merge remote-tracking branch 'origin/master' into v4-a9-build
nwmac Jun 3, 2020
b968bbf
Revert change to @stratosui in code
nwmac Jun 3, 2020
faa1db0
Revert change to @stratosui in code
nwmac Jun 3, 2020
44716d3
Merge remote-tracking branch 'origin/master' into filemoves-permissions
richard-cox Jun 3, 2020
75d0f4f
Fix endpoint connect
richard-cox Jun 3, 2020
74f5d93
Fix unit test
richard-cox Jun 3, 2020
df2a958
Fix e2e test
richard-cox Jun 3, 2020
619e9b3
Change following review #1
richard-cox Jun 4, 2020
01d5025
Bump github.com/gorilla/websocket from 1.4.1 to 1.4.2 in /src/jetstre…
dependabot-preview[bot] Jun 4, 2020
cf3a004
Fix errors in console log during setup screens
nwmac Jun 4, 2020
0fca667
Helm: Change default image pull policy to Always
nwmac Jun 4, 2020
29a1887
Add copy address and edit to endpoint list view
nwmac Jun 4, 2020
6930b23
Use icon that is less confusing with refresh
nwmac Jun 4, 2020
4d21e5a
Change following review #2
richard-cox Jun 4, 2020
ac2e441
Add newline at end for codeclimate
nwmac Jun 4, 2020
8f5a909
Tidy up code and add some more comments
nwmac Jun 4, 2020
1799e8e
Fix for buildpack filename wrapping on card
nwmac Jun 4, 2020
afb9df2
Fix code climate issue
nwmac Jun 4, 2020
2210850
Fix compilation issues
nwmac Jun 4, 2020
cfb64d5
Update endpoint-list.helpers.ts
nwmac Jun 4, 2020
2ac957e
Improve naming
nwmac Jun 4, 2020
b814838
Tidy up
nwmac Jun 4, 2020
ea6dc9f
Update .gitignore
nwmac Jun 4, 2020
6f2dbe5
Tidy up. Build tools in dist/tools
nwmac Jun 5, 2020
faee14b
Merge remote-tracking branch 'origin/v4-a9-build' into v4-build-examples
nwmac Jun 5, 2020
5be880b
Merge pull request #4314 from cloudfoundry/filemoves-permissions
richard-cox Jun 5, 2020
7d2946e
Merge pull request #4345 from cloudfoundry/image-pull-policy
richard-cox Jun 5, 2020
d3c1160
Merge pull request #4344 from cloudfoundry/fix-setup-console-log
richard-cox Jun 5, 2020
5918989
Change following review
richard-cox Jun 5, 2020
09c16da
Merge remote-tracking branch 'origin/master' into endpoint-list-actions
richard-cox Jun 5, 2020
7ba4027
Merge pull request #4353 from cloudfoundry/recent-activity-icon
richard-cox Jun 5, 2020
cfb41b6
Merge pull request #4354 from cloudfoundry/fix-buildpack-filename-wra…
richard-cox Jun 5, 2020
6a4fbd8
Merge pull request #4350 from cloudfoundry/endpoint-list-actions
richard-cox Jun 5, 2020
69dfc22
Rename tools to devkit. Add schematics
nwmac Jun 5, 2020
194b7db
More improvements and theme schematic added.
nwmac Jun 5, 2020
531bd0d
Bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 in /src/jetstream (#4336)
dependabot-preview[bot] Jun 5, 2020
620a43a
Remove unused import
nwmac Jun 5, 2020
21b25a6
Remove unused import
nwmac Jun 5, 2020
d1237cc
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4 (#4356)
dependabot-preview[bot] Jun 8, 2020
3af3d39
Hide deployment info card if not space developer
richard-cox Jun 9, 2020
c190ec2
Only space developers can create/unmap/delete routes in app routes table
richard-cox Jun 9, 2020
d4bb0e9
Only Space Developers should be able to change count, terminate or ss…
richard-cox Jun 9, 2020
7565ee0
Permissions: Only Space Developers should be able to create/edit/dele…
richard-cox Jun 9, 2020
a291040
Users with no developer roles could click on add app button
richard-cox Jun 9, 2020
ab2dd37
Fix tests
richard-cox Jun 11, 2020
a5d1de0
Fail CI build if imagelist generation fails
nwmac Jun 11, 2020
8e0bc42
Org Managers: Disable org role checkboxes in roles stepper if not adm…
richard-cox Jun 11, 2020
85e27e2
Routes List: Filter by org breaks when user is an org auditor
richard-cox Jun 11, 2020
050dd82
Rename the e2e cf helper file
richard-cox Jun 11, 2020
d19213c
Fix autoscaler tab
richard-cox Jun 16, 2020
ead3453
Merge pull request #4364 from cloudfoundry/ci-imagelist
richard-cox Jun 16, 2020
be21060
Changes following review
richard-cox Jun 16, 2020
89f1b4d
Merge remote-tracking branch 'origin/space-dev-perms' into space-dev-…
richard-cox Jun 16, 2020
93ef2e2
A few minor tidy-ups to help with review
nwmac Jun 17, 2020
56d9129
Fix several space developer permission bugs (#4362)
richard-cox Jun 17, 2020
2e8e72b
Merge remote-tracking branch 'origin/master' into space-dev-perms-2
richard-cox Jun 17, 2020
3058d8a
Fix service stepper navigation (#4366)
richard-cox Jun 17, 2020
9349e7b
Move base-entity-* to store package
nwmac Jun 17, 2020
59ce497
Add snackbar
nwmac Jun 17, 2020
5da1c51
Remove pathget
nwmac Jun 18, 2020
bfea458
Remove more store -> core dependencies
nwmac Jun 18, 2020
7b885af
Move extension-types to store
nwmac Jun 18, 2020
19b013d
Move favourite mgr and helper from core to store
nwmac Jun 18, 2020
aab424d
Move user fav manager and helper to store package
nwmac Jun 18, 2020
f72361c
More references
nwmac Jun 18, 2020
4d1e8aa
Fix logger service removal
nwmac Jun 18, 2020
77eed6c
Fix build
nwmac Jun 18, 2020
a2fe03c
Merge pull request #4371 from cloudfoundry/move-base-entity
richard-cox Jun 18, 2020
fa54046
Merge remote-tracking branch 'origin/master' into space-dev-perms-2
richard-cox Jun 18, 2020
8602a1c
Merge pull request #4378 from cloudfoundry/snackbar-svc
richard-cox Jun 18, 2020
6c4ff6a
Merge remote-tracking branch 'origin/master' into store-core-2
nwmac Jun 18, 2020
11360b5
Merge remote-tracking branch 'origin/master' into move-core-ext
nwmac Jun 18, 2020
d997664
Merge remote-tracking branch 'origin/master' into move-fav-mgr
nwmac Jun 18, 2020
2291273
Address PR feedback
nwmac Jun 18, 2020
e05fbb4
Merge remote-tracking branch 'origin/move-core-ext' into store-core-2
nwmac Jun 18, 2020
387f0bb
Merge remote-tracking branch 'origin/move-fav-mgr' into store-core-2
nwmac Jun 18, 2020
c30340c
Fix LoggerService after code moves
nwmac Jun 18, 2020
a7cb5d7
Fix logger service ref
nwmac Jun 18, 2020
22566f4
Fix build issues
nwmac Jun 18, 2020
2b12099
Merge branch 'store-core' into store-core-2
nwmac Jun 18, 2020
304d172
Merge pull request #4380 from cloudfoundry/move-core-ext
richard-cox Jun 18, 2020
f1b99b0
Merge pull request #4379 from cloudfoundry/store-core-2
richard-cox Jun 18, 2020
b438b10
Merge pull request #4365 from cloudfoundry/space-dev-perms-2
richard-cox Jun 18, 2020
35a7568
Fix health check import
nwmac Jun 18, 2020
a671bd1
Move sortStringify (only used once)
nwmac Jun 18, 2020
85f3da8
NonOptionalKeys - only used once
nwmac Jun 18, 2020
3c9aea9
Move KnownKeys
nwmac Jun 18, 2020
3a1520d
Move BrowserStandardEncoder
nwmac Jun 18, 2020
1bffe92
Remove last environment link
nwmac Jun 18, 2020
ffedabd
Move favourite config mapper
nwmac Jun 18, 2020
74a6ca3
Remove dependency on StratosScopeStrings
nwmac Jun 18, 2020
d4d20ae
Move BaseEndpointAuth
nwmac Jun 18, 2020
2b682be
Move StratosTheme
nwmac Jun 18, 2020
bd51864
Move ThemeService
nwmac Jun 18, 2020
d4bcc8c
Move types from utils.service that are only used once in store
nwmac Jun 18, 2020
20921dc
Move PermissionValues
nwmac Jun 18, 2020
6393755
Move http and jetstream helpers
nwmac Jun 18, 2020
ed65a6f
Move StyleService
nwmac Jun 18, 2020
2e2f903
Move MetricQueryType
nwmac Jun 18, 2020
d74fcf1
Move getFullEndpointApiUrl
nwmac Jun 18, 2020
0b84a67
Move StratosStatus
nwmac Jun 18, 2020
fdd7ede
Move generateStratosEntities back to core
nwmac Jun 19, 2020
b86f912
Finish store -> core sep
nwmac Jun 19, 2020
91f889b
Address PR feedback
nwmac Jun 22, 2020
80e9745
Fix compilation issue
nwmac Jun 22, 2020
64b430d
Merge pull request #4382 from cloudfoundry/store-core-more
richard-cox Jun 23, 2020
c14407e
Merge remote-tracking branch 'origin/master' into store-core-more2
richard-cox Jun 23, 2020
083c78f
Fix merge weirdness
richard-cox Jun 23, 2020
103c63f
Merge remote-tracking branch 'origin/store-core-more2' into store-cor…
richard-cox Jun 23, 2020
7e4fb63
Merge downstream (#4369)
richard-cox Jun 23, 2020
acb1cbe
Address PR feedback
nwmac Jun 23, 2020
d48c815
Merge branch 'store-core-more2' of github.com:cloudfoundry/stratos in…
nwmac Jun 23, 2020
57ed23a
Merge remote-tracking branch 'upstream/v4-a9-build' into v4-build
richard-cox Jun 23, 2020
4c0c7d8
Changes following first run of script
richard-cox Jun 23, 2020
5b0bcf0
Changes following npm install
richard-cox Jun 23, 2020
0e60818
Merge pull request #4383 from cloudfoundry/store-core-more2
richard-cox Jun 23, 2020
855561c
Merge pull request #4385 from cloudfoundry/store-core-final
richard-cox Jun 23, 2020
70207e4
Update custom-src to new model
richard-cox Jun 23, 2020
9ceb2e8
update naming... custom extensions --> suse extensions
richard-cox Jun 23, 2020
1262f47
Merge remote-tracking branch 'origin/master' into v4-a9-build
richard-cox Jun 24, 2020
de987ba
Merge pull request #4312 from cloudfoundry/v4-a9-build
richard-cox Jun 24, 2020
a03980b
Merge remote-tracking branch 'origin/master' into v4-build-examples
richard-cox Jun 24, 2020
209a30c
fix build
richard-cox Jun 24, 2020
3e33210
whitespace changes
richard-cox Jun 24, 2020
1ab2f9e
Fix in core public-api after merge
richard-cox Jun 24, 2020
4b89dfe
Fix duplicated k8s docs
nwmac Jun 24, 2020
720aed7
Merge pull request #4390 from cloudfoundry/k8s-docs
richard-cox Jun 24, 2020
fda133e
Typed access to actions and entities via catalog entity: Core Stratos…
richard-cox Jun 24, 2020
3abb8c5
Merge remote-tracking branch 'upstream/master' into v4-build
richard-cox Jun 24, 2020
5cc01fc
Fixes following merge from upstream
richard-cox Jun 24, 2020
0975a5d
Merge pull request #4313 from cloudfoundry/v4-build-examples
richard-cox Jun 24, 2020
9613daf
Merge remote-tracking branch 'upstream/master' into v4-build
richard-cox Jun 24, 2020
1569c4e
Theming improvements for header
nwmac Jun 25, 2020
9168c68
Tweaks, Migration Script Docs & Notes on others (#4389)
richard-cox Jun 25, 2020
8ec2e56
Build devkit outside of dist folder
nwmac Jun 25, 2020
f151847
Ignore example packages when there's a stratos config file
richard-cox Jun 25, 2020
b967d56
Add dist-devkit to git ignore
richard-cox Jun 25, 2020
d768c2e
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox Jun 25, 2020
e39db77
Changes following review
richard-cox Jun 25, 2020
836c841
Merge pull request #4398 from cloudfoundry/fix-devkit-dist
richard-cox Jun 25, 2020
9b4bffe
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox Jun 25, 2020
a3aac08
Merge remote-tracking branch 'upstream/theming-improvements' into mer…
richard-cox Jun 25, 2020
d7a0b6d
Merge remote-tracking branch 'upstream/ignore-example-packages-when-c…
richard-cox Jun 25, 2020
2c117f6
Merge remote-tracking branch 'origin/merge-upstream' into v4-build
richard-cox Jun 25, 2020
a57b29f
Changes following merge
richard-cox Jun 25, 2020
190ac56
Merge pull request #4395 from cloudfoundry/theming-improvements
richard-cox Jun 25, 2020
cbd38e2
Update dir names, remove examples folder
richard-cox Jun 25, 2020
e4948ae
Add back in custom-src deploy content, also add product version to co…
richard-cox Jun 25, 2020
68b6800
Revert change needed downstream... (only needed when suse extension i…
richard-cox Jun 25, 2020
c4b63e8
Ignore example packages when there's a stratos config file (#4399)
richard-cox Jun 25, 2020
ee8b14c
Fix CF App Restage (#4393)
richard-cox Jun 26, 2020
d1daa7f
Merge remote-tracking branch 'origin/master' into merge-upstream
richard-cox Jun 26, 2020
7c14287
Fix after merge
richard-cox Jun 26, 2020
f48d616
Merge remote-tracking branch 'origin/merge-upstream' into v4-build
richard-cox Jun 29, 2020
16ef0b0
Move new terminal & config code to plugin, fix more build files
richard-cox Jun 29, 2020
93c3e2f
Update icons (#4404)
nwmac Jun 29, 2020
ee0e1b3
Improve theming to reduce need to override in a hacky way (#4407)
nwmac Jun 29, 2020
d0ee56b
Merge remote-tracking branch 'upstream/master' into merge-upstream
richard-cox Jun 29, 2020
9fb4b81
Change following merge
richard-cox Jun 29, 2020
3d31a3d
Merge remote-tracking branch 'origin/merge-upstream' into v4-build
richard-cox Jun 29, 2020
f9a5a83
Fix kube config connect after merge, also fix subtype & error on connect
richard-cox Jun 29, 2020
ce27bc8
Fix e2e
richard-cox Jun 29, 2020
b9fcf31
Remove strange merge artifacts
richard-cox Jun 29, 2020
e76026d
Merge remote-tracking branch 'origin/master' into v4-build
richard-cox Jun 29, 2020
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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ Tested with Browserstack
## License

The work done has been licensed under Apache License 2.0. The license file can be found [here](LICENSE).

This file was deleted.

4 changes: 2 additions & 2 deletions deploy/ci/tasks/dev-releases/create-chart-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ patchHelmChartAppVersion() {
local CHART_PATH=$1
local STRATOS_FOLDER=$2

if [ -f "${STRATOS_FOLDER}/custom-src/stratos.yaml" ]; then
PROD_VERSION=$(cat "${STRATOS_FOLDER}/custom-src/stratos.yaml" | grep "productVersion")
if [ -f "${STRATOS_FOLDER}/stratos.yaml" ]; then
PROD_VERSION=$(cat "${STRATOS_FOLDER}/stratos.yaml" | grep "productVersion")
if [ ! -z "${PROD_VERSION}" ]; then
PROD_VERSION=$(echo $PROD_VERSION | grep --extended --only-matching '[0-9\.]+')
if [ ! -z "${PROD_VERSION}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions deploy/ci/tasks/dev-releases/create-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ run:
updateHelmDependency
# Run customization script if there is one
if [ -f "${STRATOS}/custom-src/deploy/kubernetes/customize-helm.sh" ]; then
if [ -f "${STRATOS}/deploy/kubernetes/custom/customize-helm.sh" ]; then
echo "Applying Helm Chart customizations"
${STRATOS}/custom-src/deploy/kubernetes/customize-helm.sh "${STRATOS}/deploy/kubernetes/console"
${STRATOS}/deploy/kubernetes/custom/customize-helm.sh "${STRATOS}/deploy/kubernetes/console"
fi
# Generate imagelist
Expand Down
8 changes: 4 additions & 4 deletions deploy/kubernetes/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ __DIRNAME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
STRATOS_PATH=${__DIRNAME}/../../
source "${STRATOS_PATH}/deploy/common-build.sh"

if [ -f "${STRATOS_PATH}/custom-src/deploy/kubernetes/custom-build.sh" ]; then
source "${STRATOS_PATH}/custom-src/deploy/kubernetes/custom-build.sh"
if [ -f "${STRATOS_PATH}/deploy/kubernetes/custom/custom-build.sh" ]; then
source "${STRATOS_PATH}/deploy/kubernetes/custom/custom-build.sh"
HAS_CUSTOM_BUILD="true"
fi

Expand Down Expand Up @@ -238,9 +238,9 @@ rm -rf "${DEST_HELM_CHART_PATH}/**/*.orig"

# Run customization script if there is one
# This can do things like provide a custom __stratos.tpl file
if [ -f "${STRATOS_PATH}/custom-src/deploy/kubernetes/customize-helm.sh" ]; then
if [ -f "${STRATOS_PATH}/deploy/kubernetes/custom/customize-helm.sh" ]; then
printf "${YELLOW}${BOLD}Applying Helm Chart customizations${RESET}\n"
"${STRATOS_PATH}/custom-src/deploy/kubernetes/customize-helm.sh" "${DEST_HELM_CHART_PATH}"
"${STRATOS_PATH}/deploy/kubernetes/custom/customize-helm.sh" "${DEST_HELM_CHART_PATH}"
fi

# Fetch subcharts
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/console/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ version: 0.1.0
appVersion: 0.1.0
sources:
- https://github.com/cloudfoundry/stratos
icon: https://github.com/cloudfoundry/stratos/raw/master/deploy/kubernetes/console/icon.png
icon: https://raw.githubusercontent.com/cloudfoundry/stratos/master/deploy/kubernetes/console/icon.png
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ echo -e "${CYAN}Patching Chart.yaml${RESET}"
sed -i.bak -e 's@https://github.com/cloudfoundry/stratos@https://github.com/SUSE/stratos@g' ${CHART_PATH}/Chart.yaml

# Change the URL of the icon to be the SUSE one
ICON_URL="https://raw.githubusercontent.com/cloudfoundry/stratos/master/deploy/kubernetes/icon.png"
SUSE_ICON_URL="https://raw.githubusercontent.com/SUSE/stratos/custom-src/deploy/kubernetes/icon.png"
ICON_URL="https://raw.githubusercontent.com/cloudfoundry/stratos/master/deploy/kubernetes/console/icon.png"
SUSE_ICON_URL="https://raw.githubusercontent.com/SUSE/stratos/master/deploy/kubernetes/custom/icon.png"
sed -i.bak -e 's@'"${ICON_URL}"'@'"${SUSE_ICON_URL}"'@g' ${CHART_PATH}/Chart.yaml

SRC="A Helm chart for deploying Stratos UI Console"
Expand Down
4 changes: 2 additions & 2 deletions deploy/kubernetes/imagelist-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ STRATOS_FOLDER="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd ../../ && pwd )"
# Add any customizations
function addCustomizations() {

if [ -f "${STRATOS_FOLDER}/custom-src/deploy/kubernetes/imagelist.txt" ];then
if [ -f "${STRATOS_FOLDER}/deploy/kubernetes/custom/imagelist.txt" ];then
echo "Including custom imagelist contents"
cat "${STRATOS_FOLDER}/custom-src/deploy/kubernetes/imagelist.txt" >> ./imagelist.txt
cat "${STRATOS_FOLDER}/deploy/kubernetes/custom/imagelist.txt" >> ./imagelist.txt

# Update version number
VERSION=$(grep -Po 'consoleVersion: \K(.*)' ./values.yaml)
Expand Down
2 changes: 1 addition & 1 deletion docs/customizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To aid in migrating we've provided these instructions.
1) Check that your ts config file defines the public api file.
- `src/tsconfig.json` file's `compilerOptions/paths` section should contain something like `"@custom/extensions": ["frontend/packages/custom_extensions/src/public-api.ts"]`.
1) Check that your new package's package.json defines your custom module and if application custom-routing module.
- See `src/frontend/packages/suse_extensions/package.json` file's `stratos` section.
- See `src/frontend/packages/custom_extensions/package.json` file's `stratos` section.
- Note your `routingModule` entry label should not have a preceding `_`.
1) Build Stratos in your usual way, for instance `npm run build`.
- It could be that this fails due to TypeScript import issues, if so go through these and fix.
Expand Down
Binary file not shown.
5 changes: 0 additions & 5 deletions examples/custom-src/frontend/assets/eula.html

This file was deleted.

Binary file removed examples/custom-src/frontend/assets/login-bg.jpg
Binary file not shown.
Binary file removed examples/custom-src/frontend/assets/logo.png
Binary file not shown.
Binary file removed examples/custom-src/frontend/favicon.ico
Binary file not shown.
38 changes: 0 additions & 38 deletions examples/custom-src/frontend/loading.css

This file was deleted.

3 changes: 0 additions & 3 deletions examples/custom-src/frontend/loading.html

This file was deleted.

18 changes: 0 additions & 18 deletions examples/custom-src/frontend/sass/custom.scss

This file was deleted.

7 changes: 0 additions & 7 deletions examples/custom-src/frontend/sass/custom/acme-colors.scss

This file was deleted.

71 changes: 0 additions & 71 deletions examples/custom-src/frontend/sass/custom/acme.scss

This file was deleted.

2 changes: 0 additions & 2 deletions examples/custom-src/stratos.yaml

This file was deleted.

Loading