Skip to content

Commit

Permalink
⤵️ automation(synchronize) Applying changes from upstream repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
Megabyte Labs committed Apr 7, 2022
1 parent f9e15d2 commit 7fdd22f
Show file tree
Hide file tree
Showing 9 changed files with 148 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .config/docs/readme-playbook/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ The easiest way to run the entire playbook, outlined in the `main.yml` file, is
To test it out with Vagrant, you can run the following commands which will open up an interactive dialog where you can pick which operating system and virtualization provider you wish to test the installation with:

```shell
bash .config/scripts/start.sh # Only required if you do not have the dependencies (i.e. Task) already installed
bash start.sh # Only required if you do not have the dependencies (i.e. Task) already installed
task ansible:test:vagrant
```

### macOS/Linux

```shell
curl -sS https://gitlab.com/megabyte-labs/gas-station/-/raw/master/files/quickstart.sh | bash
curl -sSL https://gitlab.com/megabyte-labs/gas-station/-/raw/master/scripts/quickstart.sh | bash
```

### Windows
Expand Down
9 changes: 6 additions & 3 deletions .config/hadolint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
ignored:
- DL3002 # Last USER should not be root
- DL3004 # Do not use sudo
- DL3007 # Do not use `latest` images
# Last USER should not be root
- DL3002
# Do not use sudo
- DL3004
# Do not use `latest` images
- DL3007
6 changes: 3 additions & 3 deletions .config/taskfiles/npm/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,14 @@ tasks:
- node-prune

publish:
vars:
REGISTRY_ADDRESS:
sh: jq -r '.publishConfig["@megabyte:registry"]' package.json
summary: |
Following shows how to configure to publish to GitLab if needed in future:
npm config set -- '{{.REGISTRY_ADDRESS}}:_authToken' '${GITLAB_TOKEN}'
npm publish
vars:
REGISTRY_ADDRESS:
sh: jq -r '.publishConfig["@megabyte:registry"]' package.json
cmds:
- 'true'

Expand Down
26 changes: 13 additions & 13 deletions .config/taskfiles/release/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,19 +260,6 @@ tasks:
- task: notes:introduction
- task: notes:project-specific

notes:introduction:
cmds:
- echo 'Grab this version by running:\n\n'

notes:project-specific:
deps:
- notes:ansible
- notes:docker
- notes:go
- notes:npm
- notes:packer
- notes:python

notes:ansible:
vars:
PKG_NAME:
Expand Down Expand Up @@ -312,6 +299,10 @@ tasks:
status:
- '[ -z "$RELEASE_GO" ]'

notes:introduction:
cmds:
- echo 'Grab this version by running:\n\n'

notes:npm:
vars:
FLAG:
Expand All @@ -338,6 +329,15 @@ tasks:
status:
- '[ -z "$RELEASE_PACKER" ]'

notes:project-specific:
deps:
- notes:ansible
- notes:docker
- notes:go
- notes:npm
- notes:packer
- notes:python

notes:python:
vars:
PKG_NAME:
Expand Down
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
include:
- remote: https://gitlab.com/megabyte-labs/gitlab-ci/-/raw/master/common.gitlab-ci.yml
- remote: https://gitlab.com/megabyte-labs/gitlab-ci/-/raw/master/publish/semantic-release.gitlab-ci.yml
- remote: https://gitlab.com/megabyte-labs/gitlab-ci/-/raw/master/test/ansible/role.gitlab-ci.yml
- remote: https://gitlab.com/megabyte-labs/gitlab-ci/-/raw/master/test/ansible/role.macos.gitlab-ci.yml
- remote: https://gitlab.com/megabyte-labs/gitlab-ci/-/raw/master/test/ansible/role.windows.gitlab-ci.yml
43 changes: 42 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"codetour.customTourDirectory": ".config/codetour.yml",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"eslint.alwaysShowStatus": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"eslint.lintTask.options": "-c package.json --no-eslintrc --cache --cache-location .cache/eslintcache .",
"eslint.packageManager": "pnpm",
"eslint.validate": [
"html",
"javascript",
Expand All @@ -52,10 +58,45 @@
"vue",
"yaml"
],
"git.autoStash": true,
"git.autofetch": true,
"github.codespaces.showPerformanceExplorer": true,
"gitlab.showPipelineUpdateNotifications": true,
"gitlens.showWelcomeOnInstall": false,
"gitlens.showWhatsNewAfterUpgrades": false,
"go.lintFlags": ["--fast"],
"go.lintTool": "golangci-lint",
"html.format.endWithNewline": true,
"html.format.indentHandlebars": true,
"html.format.indentInnerHtml": true,
"html.format.templating": true,
"javascript.format.semicolons": "remove",
"javascript.suggest.completeFunctionCalls": true,
"ltex.additionalRules.enablePickyRules": true,
"ltex.completionEnabled": true,
"markdown-preview-enhanced.previewTheme": "solarized-light.css",
"material-icon-theme.showWelcomeMessage": false,
"merge-conflict.autoNavigateNextConflict.enabled": true,
"npm.enableRunFromFolder": true,
"npm.packageManager": "pnpm",
"prettier.printWidth": 120,
"prettier.singleQuote": true,
"python.languageServer": "Pylance",
"security.workspace.trust.banner": "never",
"security.workspace.trust.enabled": false,
"telemetry.telemetryLevel": "crash",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.format.semicolons": "remove",
"typescript.implementationsCodeLens.enabled": true,
"typescript.inlayHints.enumMemberValues.enabled": true,
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
"typescript.inlayHints.parameterTypes.enabled": true,
"typescript.inlayHints.variableTypes.enabled": true,
"typescript.preferences.quoteStyle": "single",
"typescript.referencesCodeLens.enabled": true,
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.referencesCodeLens.showOnAllFunctions": true,
"typescript.suggest.completeFunctionCalls": true,
"typescript.tsdk": "node_modules/typescript/lib",
"yaml.format.printWidth": 160,
"yaml.format.singleQuote": true
}
Loading

0 comments on commit 7fdd22f

Please sign in to comment.