Skip to content
Snippets Groups Projects
Commit 1a01f550 authored by Christopher Guindon's avatar Christopher Guindon :palm_tree:
Browse files

Merge branch 'cguindon/master/migrate-away-netlify' into 'master'

Migrate EF websites to our new preview framework

See merge request eclipsefdn/it/websites/edgenative.eclipse.org!92
parents 18ee984b 07af2d81
No related branches found
No related tags found
No related merge requests found
@Library('common-shared') _
@Library('releng-pipeline') _
hugoWebsitePipeline appname: 'edgenative.eclipse.org'
hugo (
appName: 'edgenative.eclipse.org',
productionDomain: 'edgenative.eclipse.org',
)
# edgenative.eclipse.org
The [https://eclipsefdn-edgenative.netlify.com](https://eclipsefdn-edgenative.netlify.com) website is generated with [Hugo](https://gohugo.io/documentation/). This project is a work in progress.
The [https://edgenative.eclipse.org](https://edgenative.eclipse.org) website is generated with [Hugo](https://gohugo.io/documentation/). This project is a work in progress.
The Edge Native WG delivers production-ready open platforms for edge native applications deployed where compute and storage are physically distributed.
......@@ -39,7 +39,7 @@ Images, less and JavaScript files for the Eclipse Foundation look and feel.
### [EclipseFdn/hugo-solstice-theme](https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/)
Hugo theme of the Eclipse Foundation look and feel.
Hugo theme of the Eclipse Foundation look and feel.
## Bugs and feature requests
......
local deployment = import "../../releng/hugo-websites/kube-deployment.jsonnet";
deployment.newProductionDeploymentWithStaging(
"edgenative.eclipse.org", "edgenative-staging.eclipse.org"
)
\ No newline at end of file
[build]
publish = "public"
command = "npm run build_netlify && hugo --gc --minify -b https://eclipsefdn-edgenative.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"
......@@ -17,9 +17,7 @@
"watch": "NODE_ENV=development webpack --watch --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
"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"
"postinstall": "NODE_ENV=production npm run production"
},
"dependencies": {
"eclipsefdn-hugo-solstice-theme": "0.0.153"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment