27266c9b27
ara_git_mirror_credentials was defined in ara but can't be used outside of the project. It needs to be defined here as well and have a unique name. Change-Id: I4cf37ee374f2fbdf7281242ebe9c14e4a3173ee3
111 lines
5.3 KiB
YAML
111 lines
5.3 KiB
YAML
- job:
|
|
name: ara-web-unit-tests
|
|
parent: nodejs-npm
|
|
description: Run unit tests
|
|
files:
|
|
- src/.*
|
|
- public/.*
|
|
- package.json
|
|
- package-lock.json
|
|
- .zuul.yaml
|
|
- zuul-playbooks/.*
|
|
vars:
|
|
node_version: 10
|
|
run: zuul-playbooks/test.yaml
|
|
|
|
- job:
|
|
name: ara-web-build-dashboard
|
|
# https://zuul.openstack.org/job/build-javascript-content
|
|
parent: build-javascript-content
|
|
description: |
|
|
Uses a Ubuntu Xenial VM with Node 8 to run "npm run build" and make the
|
|
results available for browsing during code review on review.opendev.org.
|
|
It sets the homepage parameter from package.json to the URL where logs will
|
|
be uploaded and configures the API server to api.demo.recordsansible.org.
|
|
success-url: 'npm/html/'
|
|
files:
|
|
- src/.*
|
|
- public/.*
|
|
- package.json
|
|
- package-lock.json
|
|
- .zuul.yaml
|
|
- zuul-playbooks/.*
|
|
vars:
|
|
node_version: 10
|
|
npm_command: build
|
|
javascript_content_dir: build
|
|
pre-run: zuul-playbooks/pre.yaml
|
|
run: zuul-playbooks/build-dashboard.yaml
|
|
|
|
- secret:
|
|
name: ara_web_git_mirror_credentials
|
|
data:
|
|
user: git
|
|
host: github.com
|
|
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQ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Pop1qX/CtBaZJBF6GGGCPj+SghldEXzd7luA94vRC
|
|
0wIgfFChOrdmrTKy1cAmMS87hztW6bdVhBNwXqCQXZwJehsnpwxvU2ZdeId9UrOey3mIJ
|
|
gvFWcSYIJIzopDDemE8I6jgrmTrT6Y3T121kffWKzk0AwMmHOadfKTgMyBVI2c=
|
|
- DMdv73orwDReyNO+Dpb+gaN84KMceQCVgY0rIZ1U6FC2pn85uCTFE5CpaDRSro0GKVZ9z
|
|
LuZXTber4RAjm5/QM4nao+k6cxFY48r1ZZQHIIjsp4KfIG9fU0dcDJJscHO2suI2a1DS6
|
|
zgpD6gr+jfr0Evl1ZeEDHuYoW0BBedeK99w+TVYKptL0wlOcvSg+yPq2k5my4NiAUuWBo
|
|
++4WaC/zKsI7XjDA15uj8Rj5fOg1nmPb+/Is+5hQlcbV8l5dOkq4sc7TPSdWbmXnguYTS
|
|
vBKO4fChthiTUxhmGi/CdTiWYVIXhnRgPwJ8hLmsQnqJh9Bp8qaSle+rjjLhxg53p3V8N
|
|
WCIQWN2GIzDo4edaeSVm4LZANOak5Y6l0K77dFYwq4ICVxymPt0VPxgKq2HfQrK7Sre9f
|
|
dD9Bwd2xRq1PBh8d9m6wWU1LWUecOCzLOvelFZIbQEKcGFZZBA3uXg91KCyveYFvA0Do7
|
|
l576+GaBHHZQcfWeJo9+x441KwP8/Hu5/VhPO74D5t6VQQPDjISbTSc2S0I6TeCrW2H6s
|
|
ZLWlyEtN83UEBZ+H46CEx/vY5GipBZ+peA9wRhh6kGuOlDTGqfczUEYpC5TKAJ4dfPpmp
|
|
sYW15rzSqyGFB8KwGXCRmlrzTYonulW+rmEMquv6hm68uooseosC9ZSAvsuV1k=
|
|
|
|
- job:
|
|
name: ara-web-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: Mirrors recordsansible/ara-web to ansible-community/ara-web
|
|
allowed-projects: recordsansible/ara-web
|
|
vars:
|
|
git_mirror_repository: ansible-community/ara-web
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: ara_web_git_mirror_credentials
|
|
pass-to-parent: true
|
|
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- ara-web-unit-tests
|
|
- ara-web-build-dashboard
|
|
gate:
|
|
jobs:
|
|
- ara-web-unit-tests
|
|
post:
|
|
jobs:
|
|
- ara-web-upload-git-mirror
|