This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(init): created repository from template
- Loading branch information
0 parents
commit 7255d2f
Showing
19 changed files
with
16,993 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
version: 2.1 | ||
executors: | ||
node10: | ||
docker: | ||
- image: circleci/node:10-buster | ||
environment: | ||
NPM_CONFIG_PREFIX: "~/.npm-global" | ||
working_directory: ~/repo | ||
|
||
orbs: | ||
helix-post-deploy: adobe/helix-post-deploy@1.3.0 | ||
|
||
commands: | ||
setup: | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v3-dependencies-{{ arch }}-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: install latest npm | ||
command: sudo npm -g install npm | ||
- run: | ||
name: Installing Dependencies | ||
command: npm ci | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v3-dependencies-{{ arch }}-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: prepare test git user | ||
command: git config --global user.email "circleci@example.com" && git config | ||
--global user.name "CircleCi Build" | ||
|
||
jobs: | ||
build: | ||
executor: node10 | ||
steps: | ||
- setup | ||
- run: mkdir junit | ||
- run: | ||
name: Lint | ||
command: npm run lint | ||
- run: | ||
name: Getting Code Coverage | ||
command: npm run test-ci | ||
- store_test_results: | ||
path: junit | ||
- store_artifacts: | ||
path: junit | ||
|
||
semantic-release: | ||
executor: node10 | ||
steps: | ||
- setup | ||
- run: | ||
name: revert changes to package-lock.json | ||
command: git checkout -- package-lock.json | ||
- helix-post-deploy/config-wsk | ||
- helix-post-deploy/config-env | ||
- run: | ||
name: Semantic Release | ||
command: npm run semantic-release | ||
- run: | ||
name: Post-Deployment Integration Test | ||
command: npm run test-postdeploy | ||
- store_test_results: | ||
path: junit | ||
- run: | ||
name: Link Sequences | ||
command: npm run deploy-sequences | ||
# see https://circleci.com/orbs/registry/orb/adobe/helix-post-deploy | ||
# for more available parameters | ||
- helix-post-deploy/monitoring: | ||
incubator: Helix Data Embed # remove to promote service to production | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rofe
Contributor
|
||
statuspage_name: Delivery | ||
statuspage_group: Delivery Repeated Failure | ||
newrelic_group_policy: Development Repeated Failure | ||
|
||
branch-deploy: | ||
executor: node10 | ||
steps: | ||
- setup | ||
- run: | ||
name: revert changes to package-lock.json | ||
command: git checkout -- package-lock.json | ||
- helix-post-deploy/config-wsk | ||
- run: | ||
name: Branch Deployment | ||
command: npm run deploy-ci | ||
- run: | ||
name: Post-Deployment Integration Test | ||
command: npm run test-postdeploy | ||
- store_test_results: | ||
path: junit | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- build | ||
- branch-deploy: | ||
context: Project Helix | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
ignore: master | ||
- semantic-release: | ||
context: Project Helix | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.vscode/* | ||
coverage/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright 2019 Adobe. All rights reserved. | ||
* This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. You may obtain a copy | ||
* of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under | ||
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
* OF ANY KIND, either express or implied. See the License for the specific language | ||
* governing permissions and limitations under the License. | ||
*/ | ||
|
||
module.exports = { | ||
root: true, | ||
extends: '@adobe/helix', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
labels: bug | ||
|
||
--- | ||
|
||
**Description** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Version:** | ||
run: `$ hlx --version` | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: Discussion | ||
about: Start a new discussion | ||
labels: question | ||
|
||
--- | ||
|
||
## Overview | ||
whats' this discussion about? | ||
|
||
## Details | ||
more details | ||
|
||
## Proposed Actions | ||
and now? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
labels: enhancement | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Configuration for move-issues - https://github.com/dessant/move-issues | ||
|
||
# Delete the command comment when it contains no other content | ||
deleteCommand: true | ||
|
||
# Close the source issue after moving | ||
closeSourceIssue: true | ||
|
||
# Lock the source issue after moving | ||
lockSourceIssue: true | ||
|
||
# Mention issue and comment authors | ||
mentionAuthors: true | ||
|
||
# Preserve mentions in the issue content | ||
keepContentMentions: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Please ensure your pull request adheres to the following guidelines: | ||
- [ ] make sure to link the related issues in this description | ||
- [ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes | ||
|
||
## Related Issues | ||
|
||
|
||
Thanks for contributing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'master' | ||
|
||
jobs: | ||
ci_trigger: | ||
runs-on: ubuntu-latest | ||
name: Impersonated CI Trigger | ||
steps: | ||
- name: Trigger | ||
id: trigger | ||
uses: tripodsan/touch-action@v1.5.7 | ||
with: | ||
repo-token: ${{ secrets.MY_GITHUB_TOKEN }} | ||
user: renovate-bot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'master' | ||
|
||
jobs: | ||
ci_trigger: | ||
runs-on: ubuntu-latest | ||
name: Comment Semantic Release Status | ||
steps: | ||
- name: Comment | ||
id: comment | ||
uses: trieloff/semantic-release-comment-action@master | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
user: github-actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
coverage | ||
.nyc_output/ | ||
node_modules/ | ||
junit | ||
dist | ||
tmp | ||
logs | ||
.DS_Store | ||
test-results.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
coverage | ||
node_modules/ | ||
junit | ||
build | ||
logs | ||
test-results.xml | ||
.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
plugins: [ | ||
'@semantic-release/commit-analyzer', | ||
'@semantic-release/release-notes-generator', | ||
['@semantic-release/changelog', { | ||
changelogFile: 'CHANGELOG.md', | ||
}], | ||
["@semantic-release/npm", { | ||
npmPublish: false, | ||
}], | ||
['@semantic-release/git', { | ||
assets: ['package.json', 'package-lock.json', 'CHANGELOG.md'], | ||
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}' | ||
}], | ||
['@semantic-release/exec', { | ||
publishCmd: 'npm run deploy' | ||
}], | ||
'@semantic-release/github', | ||
], | ||
branch: 'master' | ||
}; |
Oops, something went wrong.
@trieloff hmm... did you write this manually, or was it filled in by the init script?