Skip to content

Commit

Permalink
Merge pull request #19 from peaqnetwork/feat/enable_ci_on_dev_branch
Browse files Browse the repository at this point in the history
fix: build rule
  • Loading branch information
niazhussain authored Jan 12, 2022
2 parents 7bf7cde + d069920 commit c743776
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
24 changes: 20 additions & 4 deletions .lighthouse/jenkins-x/devbranch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,21 @@ spec:
taskSpec:
metadata: {}
stepTemplate:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@versionStream
env:
- name: NPM_CONFIG_USERCONFIG
value: /tekton/home/npm/.npmrc
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/javascript/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 0.2
memory: 1024Mi
limits:
cpu: 400m
memory: 600Mi
memory: 2048Mi
volumeMounts:
- mountPath: /tekton/home/npm
name: npmrc
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
Expand All @@ -26,7 +35,9 @@ spec:
resources: {}
- name: jx-variables
resources: {}
- name: build-make-build
- name: build-npm-install
resources: {}
- name: build-npm-test
resources: {}
- name: check-registry
resources: {}
Expand All @@ -42,7 +53,12 @@ spec:
#!/usr/bin/env sh
source .jx/variables.sh
jx promote -b --timeout 1h --no-poll --env qa
volumes:
- name: npmrc
secret:
optional: true
secretName: npmrc
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 12h0m0s
status: {}
status: {}
4 changes: 2 additions & 2 deletions .lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ spec:
resources:
requests:
cpu: 0.2
memory: 1025Mi
memory: 1024Mi
limits:
cpu: 400m
memory: 2049Mi
memory: 2048Mi
volumeMounts:
- mountPath: /tekton/home/npm
name: npmrc
Expand Down

0 comments on commit c743776

Please sign in to comment.