feat(ci): update ci-essentials images to version 0.0.2 in pipeline and Dockerfile
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
4e2cf2ed34
commit
f13ad45fb5
@ -329,7 +329,7 @@ spec:
|
||||
containers: [
|
||||
containerTemplate(
|
||||
name: 'semantic-releasing',
|
||||
image: 'freeleaps/ci-essentials:0.0.1',
|
||||
image: 'freeleaps/ci-essentials:0.0.2',
|
||||
ttyEnabled: true,
|
||||
command: 'sleep',
|
||||
args: 'infinity'
|
||||
@ -600,7 +600,7 @@ spec:
|
||||
containers: [
|
||||
containerTemplate(
|
||||
name: "argo-app-version-updater",
|
||||
image: "freeleaps/ci-essentials:0.0.1",
|
||||
image: "freeleaps/ci-essentials:0.0.2",
|
||||
ttyEnabled: true,
|
||||
command: 'sleep',
|
||||
args: 'infinity'
|
||||
@ -673,7 +673,7 @@ spec:
|
||||
effect: "NoSchedule"
|
||||
containers:
|
||||
- name: commit-message-linter
|
||||
image: docker.io/freeleaps/ci-essentials:0.0.1
|
||||
image: docker.io/freeleaps/ci-essentials:0.0.2
|
||||
command:
|
||||
- cat
|
||||
tty: true
|
||||
|
||||
@ -44,12 +44,10 @@ RUN mkdir -p "$NVM_DIR"; \
|
||||
source $NVM_DIR/nvm.sh; \
|
||||
nvm install --lts --latest-npm
|
||||
|
||||
# Add node and npm to path so the commands are available
|
||||
ENV NODE_PATH=$NVM_DIR/versions/v$NODE_VERSION/lib/node_modules
|
||||
ENV PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
|
||||
|
||||
# Install semantic release and conventional commits cli
|
||||
RUN npm install -g \
|
||||
RUN npm config set prefix /usr/local; \
|
||||
npm install -g \
|
||||
semantic-release \
|
||||
@semantic-release/changelog \
|
||||
@semantic-release/git \
|
||||
@ -60,6 +58,4 @@ RUN npm install -g \
|
||||
@commitlint/config-conventional \
|
||||
@commitlint/config-angular
|
||||
|
||||
RUN mkdir -p /workspace
|
||||
WORKDIR /workspace
|
||||
USER root
|
||||
|
||||
Loading…
Reference in New Issue
Block a user