diff --git a/Jenkinsfile b/Jenkinsfile index 869706d4a5d7effd6aaeb4fb9c26480fded1bcb8..80e56505dfd84f8de926064615a3e29ae842f3bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,6 @@ -@Library('common-shared') _ +@Library('releng-pipeline') _ -hugoWebsitePipeline appname: 'events.eclipse.org' +hugo ( + appName: 'events.eclipse.org', + productionDomain: 'events.eclipse.org', +) diff --git a/k8s/deployments.jsonnet b/k8s/deployments.jsonnet deleted file mode 100644 index a29674a82a143cadfc190f5c0e7ea544d0075a9a..0000000000000000000000000000000000000000 --- a/k8s/deployments.jsonnet +++ /dev/null @@ -1,5 +0,0 @@ -local deployment = import "../../releng/hugo-websites/kube-deployment.jsonnet"; - -deployment.newProductionDeploymentWithStaging( - "events.eclipse.org", "events-staging.eclipse.org" -) \ No newline at end of file diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index b06fd692284cb264e6823797a9026645625a0f81..0000000000000000000000000000000000000000 --- a/netlify.toml +++ /dev/null @@ -1,33 +0,0 @@ -[build] -publish = "public" -command = "npm run build_netlify && hugo --gc --minify -b https://eclipsefdn-events.netlify.com" - -[build.environment] - NODE_VERSION = "12.18.3" - -[context.production.environment] -HUGO_VERSION = "0.76.5" -HUGO_ENV = "production" -HUGO_ENABLEGITINFO = "true" - -[context.split1] -command = "npm run build_netlify && hugo --gc --minify --enableGitInfo" - -[context.split1.environment] -HUGO_VERSION = "0.76.5" -HUGO_ENV = "production" - -[context.deploy-preview] -command = "npm run build_netlify && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" - -[context.deploy-preview.environment] -HUGO_VERSION = "0.76.5" - -[context.branch-deploy] -command = "npm run build_netlify && hugo --gc --minify -b $DEPLOY_PRIME_URL" - -[context.branch-deploy.environment] -HUGO_VERSION = "0.76.5" - -[context.next.environment] -HUGO_ENABLEGITINFO = "true" diff --git a/package.json b/package.json index e26bc5ae86e80c41420ee6f9d613084d0324f105..3a019056de6486c9c5d6ba4b86e24b895629fc6f 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,6 @@ "hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", "production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js", "postinstall": "NODE_ENV=production npm run production", - "disallow_robots_txt": "echo \"User-agent: *\r\nDisallow: /\" > layouts/robots.txt", - "build_netlify": "NODE_ENV=production npm run disallow_robots_txt && npm run production", "test": "jest" }, "dependencies": {