In the root of your project, add .gitlab-ci.yml with the configuration below.
image: node:latest
stages:| variables: | |
| VERSION_ID: '1.0.$CI_PIPELINE_ID' | |
| stages: | |
| - build | |
| build: | |
| image: slauta93/electron-builder-win | |
| stage: build | |
| artifacts: |
This was initially posted in an kubernetes-sigs/kustomize issue.
We are using Kustomize's vars feature. Initially we didn't understand how to use it for our purpose, but it is a 100% fit. One example is our Ingress resource, which looks like this:
# file: base/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: servicesNotes and recommended reading from my talk at Yow! on The Future of Software Development
Feel free to talk to me on twitter: @chadfowler
| variables: | |
| VERSION_ID: '1.0.$CI_PIPELINE_ID' | |
| stages: | |
| - build | |
| build: | |
| image: slauta93/electron-builder-win | |
| stage: build | |
| artifacts: |
A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.
On a mac you can use homebrew by running the command brew install pandoc.
| http://atbrox.com/2009/09/21/how-to-get-pipvirtualenvfabric-working-on-cygwin/ | |
| wget https://bootstrap.pypa.io/ez_setup.py -O - | python | |
| easy_install pip | |
| pip install mercurial-keyring | |
| edit .hgrc with [auth] section |
| HTTP status code symbols for Rails | |
| Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
| Status Code Symbol | |
| 1xx Informational | |
| 100 :continue | |
| 101 :switching_protocols | |
| 102 :processing |