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: [
|
containers: [
|
||||||
containerTemplate(
|
containerTemplate(
|
||||||
name: 'semantic-releasing',
|
name: 'semantic-releasing',
|
||||||
image: 'freeleaps/ci-essentials:0.0.1',
|
image: 'freeleaps/ci-essentials:0.0.2',
|
||||||
ttyEnabled: true,
|
ttyEnabled: true,
|
||||||
command: 'sleep',
|
command: 'sleep',
|
||||||
args: 'infinity'
|
args: 'infinity'
|
||||||
@ -600,7 +600,7 @@ spec:
|
|||||||
containers: [
|
containers: [
|
||||||
containerTemplate(
|
containerTemplate(
|
||||||
name: "argo-app-version-updater",
|
name: "argo-app-version-updater",
|
||||||
image: "freeleaps/ci-essentials:0.0.1",
|
image: "freeleaps/ci-essentials:0.0.2",
|
||||||
ttyEnabled: true,
|
ttyEnabled: true,
|
||||||
command: 'sleep',
|
command: 'sleep',
|
||||||
args: 'infinity'
|
args: 'infinity'
|
||||||
@ -673,7 +673,7 @@ spec:
|
|||||||
effect: "NoSchedule"
|
effect: "NoSchedule"
|
||||||
containers:
|
containers:
|
||||||
- name: commit-message-linter
|
- name: commit-message-linter
|
||||||
image: docker.io/freeleaps/ci-essentials:0.0.1
|
image: docker.io/freeleaps/ci-essentials:0.0.2
|
||||||
command:
|
command:
|
||||||
- cat
|
- cat
|
||||||
tty: true
|
tty: true
|
||||||
|
|||||||
@ -44,12 +44,10 @@ RUN mkdir -p "$NVM_DIR"; \
|
|||||||
source $NVM_DIR/nvm.sh; \
|
source $NVM_DIR/nvm.sh; \
|
||||||
nvm install --lts --latest-npm
|
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
|
# 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 \
|
||||||
@semantic-release/changelog \
|
@semantic-release/changelog \
|
||||||
@semantic-release/git \
|
@semantic-release/git \
|
||||||
@ -60,6 +58,4 @@ RUN npm install -g \
|
|||||||
@commitlint/config-conventional \
|
@commitlint/config-conventional \
|
||||||
@commitlint/config-angular
|
@commitlint/config-angular
|
||||||
|
|
||||||
RUN mkdir -p /workspace
|
|
||||||
WORKDIR /workspace
|
|
||||||
USER root
|
USER root
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user