Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up CI with Azure Pipelines #14

Merged
merged 13 commits into from
Jan 18, 2019
Merged

Set up CI with Azure Pipelines #14

merged 13 commits into from
Jan 18, 2019

Conversation

fredrikhr
Copy link
Collaborator

@fredrikhr fredrikhr commented Jan 17, 2019

Adds Azure DevOps Build pipeline definition to a new ci subfolder.

In order to properly forward linting warnings and errors produced by ESLint, the ci subfolder contains the ci-lint.ps1 PowerShell script that is executed by the build agent. The ci-lint.ps1 script parses the JSON output from ESLint and formats proper ##vso[task.logissue] messages that Azure understands. See couven92/dust-webapp -- Build 35 (2019-01-17-rev15) for an example how linting errors are displayed. I added a task that downloads the LoggingCommandFunctions.ps1 file from the offical Microsoft Azure Pipelines Task SDK repository for that purpose.

The CI build produces the a build artifact which can be downloaded once the build succeeds. It contains the output produced from running the npm run build script.

@Pwntus I'll help you set up the build pipeline on your Azure DevOps account, since it's your repo, you should also own the Build Pipeline. Note: The build pipeline depends on a secure file .env.local that must be added to the Azure DevOps Build Library.

@Pwntus Pwntus merged commit 8e196bc into Pwntus:master Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants