This file contains 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
package image // import "github.com/go-vela/worker/internal/image" | |
import ( | |
"context" | |
dist "github.com/docker/distribution" | |
"github.com/docker/distribution/reference" | |
"github.com/docker/docker/api/types" | |
"github.com/docker/docker/distribution" | |
"github.com/docker/docker/dockerversion" |
This file contains 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
suite: Config files | |
templates: | |
# primary template files | |
- deployments.yaml | |
- jobs.yaml | |
# included templates must also be listed | |
- configmaps_packs.yaml | |
- configmaps_rbac.yaml | |
- configmaps_st2-conf.yaml |
This file contains 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
$ ./pants lint :: 1 | |
15:28:39.56 [INFO] Completed: lint - Shellcheck succeeded. | |
15:29:51.95 [INFO] Completed: lint - Flake8 succeeded. | |
15:29:58.13 [INFO] Completed: lint - Black succeeded. | |
All done! ✨ 🍰 ✨ | |
1283 files would be left unchanged. | |
15:31:44.47 [WARN] Completed: lint - Pylint failed (exit code 2). | |
************* Module file_watch_sensor |
This file contains 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
Please see https://github.com/cognifloyd/gentoo/tree/sys-libs-tapi-11 | |
If you can pick it up, please do. I don't have time to continue working on it. |
This file contains 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 mirrors cmake-*-prefix-dirs.patch | |
It add EPREFIX to search paths for c/cxx headers. | |
It also adds EPREFIX/MacOSX.sdk to search paths for c and Frameworks. | |
Assumes that c++ lib and headers will be installed in the prefix. | |
Also, a couple of args are populated by inspecting the SDK, | |
so, default to EPREFIX/MacOSX.sdk when the sysroot is not specified. | |
(This does NOT set sysroot). |
This file contains 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
Please see https://github.com/cognifloyd/prefix/blob/wip_darwin/scripts/bootstrap-prefix.sh |
This file contains 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
from opsdroid.helper import add_skill_attributes | |
from opsdroid.matchers import * | |
from opsdroid.skill import Skill | |
class StackStormSkill(Skill): | |
_action_alias_matchers: list | |
def match_action_alias(self, func): | |
def matcher(func): |
This file contains 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
skills: | |
- name: st2_opsdroid | |
path: /opt/stackstorm/chatops/opsdroid-skills/st2 | |
config: | |
prefix: '!' |
This file contains 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
# coding: utf-8 | |
from pony.orm import * | |
from .models import attach_models | |
from .config import db_config_params | |
db = Database() | |
attach_models(db) | |
db.bind(**db_config_params) | |
db.generate_mapping() |
This file contains 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
- name: a loop that surprised me | |
stat: "{{ item }}" | |
loop: | |
- path: /some/file/path | |
- path: /another/file/path | |
- name: a loop the way I normally do it (maybe not for stat, but for modules with multiple paramaters) | |
stat: | |
path: "{{ item.path }}" | |
loop: |
NewerOlder