This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Run this script as: | |
# ./rename-go-module.sh example.com/old/module example.com/new-module | |
go mod edit -module "${2}" | |
find . -type f -name '*.go' -exec sed -i -e "s,\"${1}/,\"${2}/,g" {} \; | |
find . -type f -name '*.go' -exec sed -i -e "s,\"${1}\",\"${2}\",g" {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- restore_cache: | |
keys: | |
- gatsby-build-v1-{{ .Branch }}- | |
- run: | |
environment: | |
DATA_SOURCE_URL: << parameters.data-source-url >> | |
name: Gatsby Build (incremental) | |
# yarn or npm uses the same scripts section at package.json | |
# we are safe to use this command as main execution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----Main----- | |
- Go v1.13.4 | |
- GoTestSum v0.4.0 | |
-----Apt----- | |
NAME VERSION SIZE | |
-adduser 3.116ubuntu1 624K | |
-apparmor 2.12-4ubuntu5.1 1.8M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2.1 | |
workflows: | |
main: | |
jobs: | |
- unit-tests: | |
version: 6 | |
- unit-tests: | |
version: 8 | |
- unit-tests: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflows: | |
version: 2 | |
main: | |
jobs: | |
- unit-node6 | |
- unit-node8 | |
- unit-node10 | |
- lint | |
- integration | |
- ui |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... | |
.................................................................................................... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflows: | |
version: 2 | |
build-and-deploy: | |
jobs: | |
- build | |
- deploy: | |
requires: | |
- build | |
filters: | |
branches: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/openjdk:8-jdk | |
steps: | |
- checkout | |
- setup_remote_docker | |
- run: | |
name: install aws |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
environment: | |
GODIST: "go1.7.3.linux-amd64.tar.gz" | |
post: | |
- mkdir -p downloads | |
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST | |
- sudo rm -rf /usr/local/go | |
- sudo tar -C /usr/local -xzf download/$GODIST |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logs/* |
NewerOlder