Merge branch 'develop'
This commit is contained in:
13
.circleci/old.config.yml
Normal file
13
.circleci/old.config.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
|
||||||
|
version: 2.1
|
||||||
|
# Use a package of configuration called an orb.
|
||||||
|
orbs:
|
||||||
|
# Declare a dependency on the welcome-orb
|
||||||
|
welcome: circleci/welcome-orb@0.4.1
|
||||||
|
# Orchestrate or schedule a set of jobs
|
||||||
|
workflows:
|
||||||
|
# Name the workflow "welcome"
|
||||||
|
welcome:
|
||||||
|
# Run the welcome/run job in its own container
|
||||||
|
jobs:
|
||||||
|
- welcome/run
|
||||||
@@ -59,6 +59,7 @@ async function buildTheme(cb) {
|
|||||||
await exec(
|
await exec(
|
||||||
`cd ${themeDir} && node ${themeDir}/node_modules/webpack/bin/webpack.js --config ${themeDir}/webpack.prod.js`
|
`cd ${themeDir} && node ${themeDir}/node_modules/webpack/bin/webpack.js --config ${themeDir}/webpack.prod.js`
|
||||||
);
|
);
|
||||||
|
cb();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear ./static/dist
|
// Clear ./static/dist
|
||||||
@@ -130,9 +131,9 @@ module.exports = {
|
|||||||
buildLunr: gulp.series(cleanJS, minifyJS, insertLunrJS),
|
buildLunr: gulp.series(cleanJS, minifyJS, insertLunrJS),
|
||||||
buildBlog: gulp.series([
|
buildBlog: gulp.series([
|
||||||
buildSearch,
|
buildSearch,
|
||||||
buildHugo,
|
|
||||||
buildTheme,
|
buildTheme,
|
||||||
minifyImages,
|
|
||||||
gulp.series(cleanJS, minifyJS, insertLunrJS),
|
gulp.series(cleanJS, minifyJS, insertLunrJS),
|
||||||
|
buildHugo,
|
||||||
|
minifyImages,
|
||||||
]),
|
]),
|
||||||
};
|
};
|
||||||
|
|||||||
Submodule blog/themes/panaetius-theme updated: 78641f4935...bde22342b4
1
infrastructure/.vscode/settings.json
vendored
Normal file
1
infrastructure/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@@ -17,7 +17,8 @@
|
|||||||
.PHONY: apply destroy-backend destroy destroy-target plan-destroy plan plan-target prep
|
.PHONY: apply destroy-backend destroy destroy-target plan-destroy plan plan-target prep
|
||||||
|
|
||||||
-include Makefile.env
|
-include Makefile.env
|
||||||
VARS="variables/$(ENV)-$(REGION).tfvars"
|
# VARS="variables/$(ENV)-$(REGION).tfvars"
|
||||||
|
VARS="$(ENV)-$(REGION).tfvars"
|
||||||
CURRENT_FOLDER=$(shell basename "$$(pwd)")
|
CURRENT_FOLDER=$(shell basename "$$(pwd)")
|
||||||
S3_BUCKET="$(ENV)-$(REGION)-$(PROJECT)-terraform"
|
S3_BUCKET="$(ENV)-$(REGION)-$(PROJECT)-terraform"
|
||||||
DYNAMODB_TABLE="$(ENV)-$(REGION)-$(PROJECT)-terraform"
|
DYNAMODB_TABLE="$(ENV)-$(REGION)-$(PROJECT)-terraform"
|
||||||
|
|||||||
@@ -85,9 +85,9 @@ data "archive_file" "lambda_main" {
|
|||||||
# }
|
# }
|
||||||
|
|
||||||
resource "aws_lambda_function" "directory_indexes" {
|
resource "aws_lambda_function" "directory_indexes" {
|
||||||
provider = aws.us_east_1
|
provider = aws.us_east_1
|
||||||
function_name = "${var.stage}-${var.name}-directory_indexes"
|
function_name = "${var.stage}-${var.name}-directory_indexes"
|
||||||
filename = "${var.source_file}.zip"
|
filename = "${var.source_file}.zip"
|
||||||
source_code_hash = data.archive_file.lambda_main.output_base64sha256
|
source_code_hash = data.archive_file.lambda_main.output_base64sha256
|
||||||
# s3_bucket = aws_s3_bucket.lambda_s3.id
|
# s3_bucket = aws_s3_bucket.lambda_s3.id
|
||||||
# s3_key = var.lambda_key
|
# s3_key = var.lambda_key
|
||||||
|
|||||||
Reference in New Issue
Block a user