Remove gitlab-ci.yml and discontinue use of gitlab pipelines

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
Collin J. Doering 2018-07-13 17:18:08 -04:00
parent a35aa7743b
commit 81064e68aa
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022

View File

@ -1,43 +0,0 @@
stages:
- build
# - test
- deploy
variables:
AWS_DEFAULT_REGION: us-east-1
build:
stage: build
image: haskell:8.2
artifacts:
name: "${CI_PROJECT_NAME}__${CI_COMMIT_TAG}__${CI_COMMIT_REF_NAME}__${CI_COMMIT_SHA}"
paths:
- _site/*
script:
- cabal update
- cabal install --enable-tests --force-reinstalls
- ./site configure
- ./site make
- ./site build
# test:
# stage: test
# image: node:7.8
# variables:
# CI: "true"
# script:
# - ./site configure
# - ./site test
deploy:
stage: deploy
image: cgswong/aws:latest
variables:
S3_BUCKET: blog-rekahsoft-s3bucket-7pigtftqm4v8
script:
- aws s3 sync _site/ s3://$S3_BUCKET
environment:
name: Rekahsoft Blog
url: http://blog.rekahsoft.com
only:
- master