File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ release:
1616 --PLATFORM = linux \
1717 --ARCH = amd64 \
1818 --ARCH = arm64
19+
20+ BUILD +uninstall-script
1921
2022 BUILD +install-script
2123
@@ -32,6 +34,9 @@ release-fips:
3234 --ARCH = arm64 \
3335 --FIPS = true
3436
37+ BUILD +uninstall-script \
38+ --FIPS = true
39+
3540 BUILD +install-script \
3641 --FIPS = true
3742
@@ -46,6 +51,8 @@ nightly:
4651 --ARCH = amd64 \
4752 --ARCH = arm64
4853
54+ BUILD +uninstall-script
55+
4956 BUILD +install-script
5057
5158nightly-fips :
@@ -61,6 +68,9 @@ nightly-fips:
6168 --ARCH = arm64 \
6269 --FIPS = true
6370
71+ BUILD +uninstall-script \
72+ --FIPS = true
73+
6474 BUILD +install-script \
6575 --FIPS = true
6676
@@ -96,6 +106,20 @@ palette-agent:
96106
97107 SAVE ARTIFACT /workdir/palette-agent AS LOCAL ./build/${BIN_NAME }
98108
109+ uninstall-script :
110+ FROM +ubuntu
111+
112+ ARG FIPS= false
113+ ARG PE_VERSION= $(head -n 1 PE_VERSION)
114+ ARG PLATFORM= linux
115+ ARG ARCH= amd64
116+ ARG STYLUS_IMAGE= ${SPECTRO_PUB_REPO }/edge/stylus-agent-mode-${PLATFORM }-${ARCH }:${PE_VERSION }
117+
118+ WORKDIR /workdir
119+ COPY (+stylus-image/opt/spectrocloud/scripts/spectro-uninstall.sh --PLATFORM = ${PLATFORM } --ARCH = ${ARCH } --STYLUS_IMAGE = ${STYLUS_IMAGE }) /workdir/spectro-uninstall.sh
120+
121+ SAVE ARTIFACT /workdir/spectro-uninstall.sh AS LOCAL ./build/spectro-uninstall-${PLATFORM }-${ARCH }.sh
122+
99123package-tar :
100124 FROM +ubuntu
101125
You can’t perform that action at this time.
0 commit comments