![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
grunt-cideploy
Advanced tools
Readme
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-cideploy --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-cideploy');
In your project's Gruntfile, add a section named cideploy
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
ci_deploy: {
options: {
before: function (grunt, options) { },
msbuild: {},
buildtasks: ["nugetrestore", "msbuild"],
testtasks: ["eslint"],
after: function (grunt, options) { },
obtainProfile: function (tag) {
return tag.indexOf("Production") !== -1 ? "Production" : "Staging";
},
origin: "",
notifyInSharePoint: false,
removeTagAfterDeploy: false,
username: grunt.option("username"),
password: grunt.option("password"),
Project_x0020_NameId: 1,
Application_x0020_NameId: 12,
Title: 'Title'
}
});
Default: function (grunt, options) { }
This is a callback which is called before the deployment task is run.
In here you can stop the apppool on IIS for example.
before: function (grunt, options) {
generateConfig();
grunt.task.run("StopWebAppPool");
grunt.config('msbuild.target.options.buildParameters.DeployOnBuild', true);
console.log(JSON.stringify(grunt.config("msbuild")));
},
Default: null
This is the msbuild definition. For more information see https://www.npmjs.com/package/grunt-msbuild
msbuild: {
project: {
src: ['src/project/project.csproj'],
options: {
projectConfiguration: 'Release',
targets: ['Clean', 'Rebuild'],
buildParameters: {
OutputPath: process.cwd() + sep + "build" + sep + "service",
WarningLevel: 2,
DeployOnBuild: grunt.option('deploy') || false,
PublishProfile: grunt.option('profile') || "Staging",
Password: grunt.option('password') || credentials.msbuild_deploy.password,
PackageVersion: '<%= pkg.version %>',
FileVersion: '<%= pkg.version %>',
Version: '<%= pkg.version %>',
AssemblyVersion: '<%= pkg.version %>'
},
verbosity: 'minimal'
}
}
}
Default: []
Define the tasks to execute on build/deploy
buildtasks: ["clean", "nugetrestore", "msbuild"],
Default: []
Define the tasks to execute on test
buildtasks: ["clean", "nugetrestore", "msbuild"],
Default: function (grunt, options) { }
This is a callback which is called before the deployment task is run.
In here you can start the apppool on IIS for example.
after: function (grunt, options) {
grunt.task.run("StartWebAppPool");
},
Default:
function (tag) {
return tag.indexOf("Production") !== -1 ? "Production" : "Staging";
},
This callback is used to determine the publishprofile to use depending the incoming tag description.
Default: ""
This is the project remote git url.
This is needed to allow the gitlabrunner to commit changes to gitlab.
origin: "https://gitlab.com/project.git",
Default: false
Notify the publish in SharePoint.
Default: false
Delete the tag after deployment..
Default: grunt.option("username")
See https://www.npmjs.com/package/grunt-sharepoint-list
Default: grunt.option("password")
See https://www.npmjs.com/package/grunt-sharepoint-list
Default: 1
See https://www.npmjs.com/package/grunt-sharepoint-list
Default: 12
See https://www.npmjs.com/package/grunt-sharepoint-list
Default: "Title"
FAQs
Reynaers Deployment Task
The npm package grunt-cideploy receives a total of 0 weekly downloads. As such, grunt-cideploy popularity was classified as not popular.
We found that grunt-cideploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.