-
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into allow-custom-codename
- Loading branch information
Showing
238 changed files
with
9,766 additions
and
5,294 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[flake8] | ||
max-line-length = 200 | ||
ignore = E126,E241,E741,W504 | ||
include = | ||
system | ||
exclude = | ||
system/env |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Based on https://github.com/aptly-dev/aptly/blob/master/.travis.yml | ||
|
||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
defaults: | ||
run: | ||
# see: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell | ||
shell: bash --noprofile --norc -eo pipefail -x {0} | ||
|
||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
|
||
jobs: | ||
build: | ||
name: test | ||
runs-on: ubuntu-20.04 | ||
continue-on-error: ${{ matrix.allow_failure }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
go: [1.14, 1.15, 1.16] | ||
run_long_tests: [no] | ||
allow_failure: [false] | ||
include: | ||
# Disable this for now as it's not clear how to select the latest master branch | ||
# version of go using actions/setup-go@v2. | ||
# - go: master | ||
# run_long_tests: no | ||
# allow_failure: true | ||
- go: 1.17 | ||
run_long_tests: yes | ||
allow_failure: false | ||
|
||
env: | ||
NO_FTP_ACCESS: yes | ||
BOTO_CONFIG: /dev/null | ||
GO111MODULE: "on" | ||
GOPROXY: "https://proxy.golang.org" | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install O/S packages | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y graphviz gnupg1 gnupg2 gpgv1 gpgv2 git gcc make | ||
- name: Install Python packages | ||
run: | | ||
pip install six packaging appdirs virtualenv | ||
pip install -U pip setuptools | ||
pip install -r system/requirements.txt | ||
- name: Get aptly version | ||
run: | | ||
make version | ||
- name: Make prepare | ||
run: | | ||
make prepare | ||
- name: Make | ||
env: | ||
RUN_LONG_TESTS: ${{ matrix.run_long_tests }} | ||
run: | | ||
make |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ build/ | |
|
||
pgp/keyrings/aptly2*.gpg | ||
pgp/keyrings/aptly2*.gpg~ | ||
pgp/keyrings/.#* |
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 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 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 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 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 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
Oops, something went wrong.