File tree Expand file tree Collapse file tree 5 files changed +133
-3
lines changed Expand file tree Collapse file tree 5 files changed +133
-3
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # --------------------------------------------
4+ # Export vars for helper scripts to use
5+ # --------------------------------------------
6+ # name of app-sre "application" folder this component lives in; needs to match for quay
7+ export COMPONENT=" hccm"
8+ # IMAGE should match the quay repo set by app.yaml in app-interface
9+ export IMAGE=" quay.io/cloudservices/koku-ui-hccm"
10+ export WORKSPACE=${WORKSPACE:- $APP_ROOT } # if running in jenkins, use the build's workspace
11+ export APP_ROOT=$( pwd)
12+ export NODE_BUILD_VERSION=22
13+ COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master
14+
15+ set -exv
16+ # source is preferred to | bash -s in this case to avoid a subshell
17+ source <( curl -sSL $COMMON_BUILDER /src/frontend-build.sh)
18+ BUILD_RESULTS=$?
19+
20+ # Stubbed out for now
21+ mkdir -p $WORKSPACE /artifacts
22+ cat << EOF > $WORKSPACE /artifacts/junit-dummy.xml
23+ <testsuite tests="1">
24+ <testcase classname="dummy" name="dummytest"/>
25+ </testsuite>
26+ EOF
27+
28+ # teardown_docker
29+ exit $BUILD_RESULTS
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # --------------------------------------------
4+ # Export vars for helper scripts to use
5+ # --------------------------------------------
6+ # name of app-sre "application" folder this component lives in; needs to match for quay
7+ export COMPONENT=" hccm"
8+ # IMAGE should match the quay repo set by app.yaml in app-interface
9+ export IMAGE=" quay.io/cloudservices/koku-ui-hccm"
10+ export WORKSPACE=${WORKSPACE:- $APP_ROOT } # if running in jenkins, use the build's workspace
11+ export APP_ROOT=$( pwd)
12+ export NODE_BUILD_VERSION=22
13+ COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master
14+
15+ # --------------------------------------------
16+ # Options that must be configured by app owner
17+ # --------------------------------------------
18+ IQE_PLUGINS=" hccm"
19+ IQE_MARKER_EXPRESSION=" smoke"
20+ IQE_FILTER_EXPRESSION=" "
21+
22+ set -exv
23+ # source is preferred to | bash -s in this case to avoid a subshell
24+ source <( curl -sSL $COMMON_BUILDER /src/frontend-build.sh)
25+ BUILD_RESULTS=$?
26+
27+ # Stubbed out for now
28+ mkdir -p $WORKSPACE /artifacts
29+ cat << EOF > $WORKSPACE /artifacts/junit-dummy.xml
30+ <testsuite tests="1">
31+ <testcase classname="dummy" name="dummytest"/>
32+ </testsuite>
33+ EOF
34+
35+ # teardown_docker
36+ exit $BUILD_RESULTS
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # --------------------------------------------
4+ # Export vars for helper scripts to use
5+ # --------------------------------------------
6+ # name of app-sre "application" folder this component lives in; needs to match for quay
7+ export COMPONENT=" hccm"
8+ # IMAGE should match the quay repo set by app.yaml in app-interface
9+ export IMAGE=" quay.io/cloudservices/koku-ui-ros"
10+ export WORKSPACE=${WORKSPACE:- $APP_ROOT } # if running in jenkins, use the build's workspace
11+ export APP_ROOT=$( pwd)
12+ export NODE_BUILD_VERSION=22
13+ COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master
14+
15+ set -exv
16+ # source is preferred to | bash -s in this case to avoid a subshell
17+ source <( curl -sSL $COMMON_BUILDER /src/frontend-build.sh)
18+ BUILD_RESULTS=$?
19+
20+ # Stubbed out for now
21+ mkdir -p $WORKSPACE /artifacts
22+ cat << EOF > $WORKSPACE /artifacts/junit-dummy.xml
23+ <testsuite tests="1">
24+ <testcase classname="dummy" name="dummytest"/>
25+ </testsuite>
26+ EOF
27+
28+ # teardown_docker
29+ exit $BUILD_RESULTS
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # --------------------------------------------
4+ # Export vars for helper scripts to use
5+ # --------------------------------------------
6+ # name of app-sre "application" folder this component lives in; needs to match for quay
7+ export COMPONENT=" hccm"
8+ # IMAGE should match the quay repo set by app.yaml in app-interface
9+ export IMAGE=" quay.io/cloudservices/koku-ui-ros"
10+ export WORKSPACE=${WORKSPACE:- $APP_ROOT } # if running in jenkins, use the build's workspace
11+ export APP_ROOT=$( pwd)
12+ export NODE_BUILD_VERSION=22
13+ COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master
14+
15+ # --------------------------------------------
16+ # Options that must be configured by app owner
17+ # --------------------------------------------
18+ IQE_PLUGINS=" hccm"
19+ IQE_MARKER_EXPRESSION=" smoke"
20+ IQE_FILTER_EXPRESSION=" "
21+
22+ set -exv
23+ # source is preferred to | bash -s in this case to avoid a subshell
24+ source <( curl -sSL $COMMON_BUILDER /src/frontend-build.sh)
25+ BUILD_RESULTS=$?
26+
27+ # Stubbed out for now
28+ mkdir -p $WORKSPACE /artifacts
29+ cat << EOF > $WORKSPACE /artifacts/junit-dummy.xml
30+ <testsuite tests="1">
31+ <testcase classname="dummy" name="dummytest"/>
32+ </testsuite>
33+ EOF
34+
35+ # teardown_docker
36+ exit $BUILD_RESULTS
Original file line number Diff line number Diff line change 2424 "install:pkgs:links" : " npm run install:pkgs && npm install --install-links" ,
2525 "lint" : " npm exec --workspaces -- npm run lint" ,
2626 "test" : " npm exec --workspaces -- npm run test --" ,
27- "release:stage:ros " : " sh scripts/release-branch.sh -s " ,
28- "release:prod:hccm " : " sh scripts/release-branch.sh -p " ,
29- "release:prod: ros" : " sh scripts/release-branch.sh -r " ,
27+ "release:hccm:prod " : " sh scripts/release-branch.sh -p " ,
28+ "release:ros:prod " : " sh scripts/release-branch.sh -r " ,
29+ "release:ros:stage " : " sh scripts/release-branch.sh -s " ,
3030 "start:hccm" : " npm run -w @koku-ui/koku-ui-hccm start" ,
3131 "start:ros" : " npm run -w @koku-ui/koku-ui-ros start" ,
3232 "start:onprem" : " npm run -w @koku-ui/koku-ui-onprem start"
You can’t perform that action at this time.
0 commit comments