Skip to content

Commit

Permalink
Change references to master branch into main
Browse files Browse the repository at this point in the history
  • Loading branch information
pitkley committed Jun 15, 2021
1 parent c21699a commit a9384ea
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cargo-bloat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: cargo-bloat
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: CI
on:
push:
branches:
- master
- main
- staging
- trying
pull_request:
branches:
- master
- main

jobs:
check-license-headers:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Docker
on:
push:
branches:
- master
- main
tags:
- '*'
pull_request:
branches:
- master
- main

jobs:
build-and-push-docker-image:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: GitHub Pages
on:
push:
branches:
- master
- main
tags:
- '*'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Integration tests
on:
push:
branches:
- master
- main
- staging
- trying
pull_request:
branches:
- master
- main

jobs:
build-test-binary:
Expand Down
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ build test binary for docker tests:
services:
- "docker:dind"
only:
- master
- main
dependencies: [] # don't download artifacts from previous jobs
cache:
paths:
Expand Down Expand Up @@ -193,7 +193,7 @@ package and push image for feature-branch:
only:
- branches
except:
- master
- main
- /^develop\/.*$/
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
Expand All @@ -214,15 +214,15 @@ package and push image for tags:
- docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}" .
- docker push "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}"

package and push image on master:
package and push image on main:
stage: package
image: docker:latest
tags:
- privileged
services:
- docker:dind
only:
- master
- main
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $CI_REGISTRY_IMAGE .
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

You can now specify the `expose_via_ipv6`-key within a wider-world-to-container-rule to configure whether the service should be exposed via IPv6 or not (the default is `true`).

_(Please note that further requirements need to be fulfilled such that exposing services via IPv6 to works, [see here](https://github.com/pitkley/dfw/blob/master/README.md#ipv6support).)_
_(Please note that further requirements need to be fulfilled such that exposing services via IPv6 to works, [see here](https://github.com/pitkley/dfw/blob/main/README.md#ipv6support).)_

* Ensure consistent behaviour regardless of whether `[global_defaults]` has been specified or not.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ But if you have, or are simply interested in trying DFW out, take a look at the
You can of course bind the port to `127.0.0.1`, but you have to be explicit about that, which is easy to forget.
</sub>

[example-reverseproxy]: https://github.com/pitkley/dfw/tree/master/examples/reverseproxy
[example-reverseproxy]: https://github.com/pitkley/dfw/tree/main/examples/reverseproxy

## <a name="gettingstarted"></a> Getting started

Expand Down Expand Up @@ -117,11 +117,11 @@ Once you have decided which backend you want to use, please consult the backend-
* [nftables][docs-nftables]
* [iptables][docs-iptables]

[migration-v0.x-to-v1.0]: https://github.com/pitkley/dfw/blob/master/docs/migration/v0.x-to-v1.0.md
[migration-v0.x-to-v1.2]: https://github.com/pitkley/dfw/blob/master/docs/migration/v0.x-to-v1.2.md
[migration-v1.x-to-v1.2]: https://github.com/pitkley/dfw/blob/master/docs/migration/v1.x-to-v1.2.md
[docs-nftables]: https://github.com/pitkley/dfw/blob/master/docs/GETTING-STARTED-nftables.md
[docs-iptables]: https://github.com/pitkley/dfw/blob/master/docs/GETTING-STARTED-iptables.md
[migration-v0.x-to-v1.0]: https://github.com/pitkley/dfw/blob/main/docs/migration/v0.x-to-v1.0.md
[migration-v0.x-to-v1.2]: https://github.com/pitkley/dfw/blob/main/docs/migration/v0.x-to-v1.2.md
[migration-v1.x-to-v1.2]: https://github.com/pitkley/dfw/blob/main/docs/migration/v1.x-to-v1.2.md
[docs-nftables]: https://github.com/pitkley/dfw/blob/main/docs/GETTING-STARTED-nftables.md
[docs-iptables]: https://github.com/pitkley/dfw/blob/main/docs/GETTING-STARTED-iptables.md

## <a name="configuration"></a> Configuration

Expand Down Expand Up @@ -158,7 +158,7 @@ The general configuration happens across six categories:
**See the [examples][examples] and [configuration types][types.rs] for detailed descriptions and examples of every configuration section.**

[docker-networks]: https://docs.docker.com/engine/userguide/networking/
[examples]: https://github.com/pitkley/dfw/tree/master/examples
[examples]: https://github.com/pitkley/dfw/tree/main/examples
[types.rs]: https://dfw.rs/latest/dfw/types/index.html

## <a name="ipv6support"></a> IPv6 support
Expand Down
2 changes: 1 addition & 1 deletion docs/GETTING-STARTED-iptables.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The general configuration happens across six categories:
**See the [examples][examples] and [configuration types][types.rs] for detailed descriptions and examples of every configuration section.**

[docker-networks]: https://docs.docker.com/engine/userguide/networking/
[examples]: https://github.com/pitkley/dfw/tree/master/examples
[examples]: https://github.com/pitkley/dfw/tree/main/examples
[types.rs]: https://dfw.rs/latest/dfw/types/index.html

## <a name="runningdfw"></a> Running DFW
Expand Down
2 changes: 1 addition & 1 deletion docs/GETTING-STARTED-nftables.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The general configuration happens across six categories:
**See the [examples][examples] and [configuration types][types.rs] for detailed descriptions and examples of every configuration section.**

[docker-networks]: https://docs.docker.com/engine/userguide/networking/
[examples]: https://github.com/pitkley/dfw/tree/master/examples
[examples]: https://github.com/pitkley/dfw/tree/main/examples
[types.rs]: https://dfw.rs/latest/dfw/types/index.html

## <a name="runningdfw"></a> Running DFW
Expand Down
2 changes: 1 addition & 1 deletion docs/migration/v1.x-to-v1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you are upgrading from a previous 1.x-version and:

Follow this document.

[migration-v0.x-to-v1.2]: https://github.com/pitkley/dfw/blob/master/docs/migration/v0.x-to-v1.2.md
[migration-v0.x-to-v1.2]: https://github.com/pitkley/dfw/blob/main/docs/migration/v0.x-to-v1.2.md

---

Expand Down

0 comments on commit a9384ea

Please sign in to comment.