Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bazelbuild/rules_docker into dock…
Browse files Browse the repository at this point in the history
…er_run_args
  • Loading branch information
psigen committed Aug 23, 2021
2 parents 20c45d7 + a71881c commit 922e466
Show file tree
Hide file tree
Showing 107 changed files with 3,526 additions and 3,007 deletions.
438 changes: 192 additions & 246 deletions .bazelci/presubmit.yml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ test:remote --google_default_credentials=true

test:remote --remote_timeout=3600
test:remote --keep_going

# Configuration specific to buildkite CI testing the default workspace
test:buildkite --action_env=PATH
test:buildkite --define=ENV_KEY=my_key # for tests/container:set_env_make_vars_test
test:buildkite --define=ENV_VALUE=my_value # for tests/container:set_env_make_vars_test
test:buildkite --test_output=errors
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @smukherj1 @alexeagle @pcj @gravypod
77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
name: "\U0001F41EBug report"
about: Report a bug in rules_docker
---
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅
Oh hi there! 😄
To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->


# 🐞 bug report

### Affected Rule

<!-- Can you pin-point one or more rules as the source of the bug? -->
<!-- ✍️edit: --> The issue is caused by the rule:


### Is this a regression?

<!-- Did this behavior use to work in the previous version? -->
<!-- ✍️--> Yes, the previous version in which this bug was not present was: ....


### Description

<!-- ✍️--> A clear and concise description of the problem...


## 🔬 Minimal Reproduction

<!--
Please create and share minimal reproduction of the issue. For the purpose you can create a GitHub repository and share a link. Make sure you don't upload any confidential files.
-->

## 🔥 Exception or Error

<pre><code>
<!-- If the issue is accompanied by an exception or an error, please share it below: -->
<!-- (Please run your build with --define=VERBOSE_LOGS=1 to gather more info for us to understand the problem.) -->
<!-- ✍️-->

</code></pre>


## 🌍 Your Environment

**Operating System:**

<pre>
<code>

</code>
</pre>

**Output of `bazel version`:**

<pre>
<code>

</code>
</pre>

**Rules_docker version:**

<pre>
<code>

</code>
</pre>

**Anything else relevant?**

45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: "\U0001F680Feature request"
about: Suggest a feature for rules_docker

---
<!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅
Oh hi there! 😄
To expedite issue processing please search open and closed issues before submitting a new one.
Existing issues often contain information about workarounds, resolution, or progress updates.
🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->


# 🚀 feature request

### Relevant Rules

<!-- Tell us if you want to add a feature to an existing rule or add a new rule -->

<!--
If you're looking for a new rule first make sure you check awesome-bazel for an
curated list of existing bazel rules https://github.com/jin/awesome-bazel
If you don't find what you're looking for there, before opening a feature request make sure
this repository is the right place for that.
-->

### Description

<!-- ✍️--> A clear and concise description of the problem or missing capability...


### Describe the solution you'd like

<!-- ✍️--> If you have a solution in mind, please describe it.


### Describe alternatives you've considered

<!-- ✍️--> Have you considered any alternative solutions or workarounds?

44 changes: 44 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## PR Checklist

Please check if your PR fulfills the following requirements:

- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)


## PR Type

What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:


## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number: N/A


## What is the new behavior?


## Does this PR introduce a breaking change?

- [ ] Yes
- [ ] No


<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->


## Other information

59 changes: 59 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# See https://github.com/marketplace/actions/close-stale-issues

name: Mark stale issues and pull requests

on:
schedule:
# run at 01:45 UTC daily
- cron: "45 1 * * *"

jobs:
stale:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# NB: We start with very long duration while trimming existing ones,
# and hope to reduce them if the project is well-maintained.

# The number of days old an issue can be before marking it stale.
days-before-stale: 180
# Number of days of inactivity before a stale issue is closed
days-before-close: 30

# If an issue/PR is assigned, trust the assignee to stay involved
# Can revisit if these get stale
exempt-all-assignees: true
# Issues with these labels will never be considered stale
exempt-issue-labels: "need: discussion,cleanup"

# Label to use when marking an issue as stale
stale-issue-label: 'Can Close?'
stale-pr-label: 'Can Close?'

stale-issue-message: >
This issue has been automatically marked as stale because it has not had
any activity for 180 days.
It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely.
Thanks for your contributions to rules_docker!
stale-pr-message: >
This Pull Request has been automatically marked as stale because it has not had
any activity for 180 days.
It will be closed if no further activity occurs in 30 days.
Collaborators can add an assignee to keep this open indefinitely.
Thanks for your contributions to rules_docker!
close-issue-message: >
This issue was automatically closed because it went 30 days without a reply
since it was labeled "Can Close?"
close-pr-message: >
This PR was automatically closed because it went 30 days without a reply
since it was labeled "Can Close?"
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ bazel-genfiles
bazel-out
bazel-testlogs

# Bazel IDE dlugin Directories
.ijwb

# Eclipse and PyDev
.project
.pydevproject

# Npm packages
node_modules
node_modules

# JetBrains garbage
.idea/
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See CONTRIBUTING.md for instructions.
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/keith/pre-commit-buildifier
rev: 4.0.1.1
hooks:
- id: buildifier
args: &args
# Keep this argument in sync with .bazelci/presubmit.yml
- --warnings=-function-docstring-args,-print,-provider-params,-unnamed-macro
- id: buildifier-lint
args: *args
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

## Formatting

Starlark files should be formatted by buildifier.
We suggest using a pre-commit hook to automate this.
First [install pre-commit](https://pre-commit.com/#installation),
then run

```shell
pre-commit install
```

Otherwise the Buildkite CI will yell at you about formatting/linting violations.

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Expand Down
11 changes: 0 additions & 11 deletions OWNERS

This file was deleted.

Loading

0 comments on commit 922e466

Please sign in to comment.