Skip to content

Commit 9631524

Browse files
authored
Merge branch 'master' into remove-logshipper
2 parents 3055413 + de8948b commit 9631524

File tree

981 files changed

+30653
-4474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

981 files changed

+30653
-4474
lines changed

.circleci/config.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ jobs:
127127
- setup_remote_docker:
128128
reusable: true # default - false
129129
exclusive: true # default - true
130-
# Temporary workaround for Circle CI issue
131-
# https://discuss.circleci.com/t/setup-remote-docker-connection-failures/26434
132-
version: 18.05.0-ce
130+
version: 19.03.14
133131
- run:
134132
name: Docker version
135133
command: |
@@ -176,7 +174,7 @@ jobs:
176174
docker cp . st2-packages-vol:${ST2_GITDIR}
177175
- run:
178176
name: Pull dependent Docker Images
179-
command: .circle/docker-compose2.sh pull ${DISTRO}
177+
command: .circle/docker-compose2.sh pull ${DISTRO} || .circle/docker-compose2.sh pull ${DISTRO}
180178
working_directory: ~/st2-packages
181179
- run:
182180
name: Build the ${DISTRO} Packages
@@ -186,14 +184,6 @@ jobs:
186184
mkdir -p ~/st2/packages/${DISTRO}/log/
187185
docker cp st2-packages-vol:/root/build/. ~/st2/packages/${DISTRO}
188186
working_directory: ~/st2-packages
189-
# # TODO: It works! (~0.5-1min speed-up) Enable CircleCI2.0 cache for pip and wheelhouse later
190-
# - run:
191-
# name: Build the ${DISTRO} Packages 2nd time (compare with pip/wheelhouse cached)
192-
# command: |
193-
# .circle/docker-compose2.sh build ${DISTRO}
194-
# # Once build container finishes we can copy packages directly from it
195-
# docker cp st2-packages-vol:/root/build /tmp/st2-packages
196-
# working_directory: ~/st2-packages
197187
- run:
198188
name: Test the Packages
199189
command: .circle/docker-compose2.sh test ${DISTRO}
@@ -229,7 +219,7 @@ jobs:
229219
deploy:
230220
docker:
231221
# The primary container is an instance of the first list image listed. Your build commands run in this container.
232-
- image: circleci/ruby:2.4
222+
- image: circleci/ruby:2.7
233223
working_directory: /tmp/deploy
234224
environment:
235225
- DISTROS: "bionic focal el7 el8"

.github/workflows/checks.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Checks
2+
3+
on:
4+
pull_request:
5+
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
6+
branches:
7+
- master
8+
- v[0-9]+.[0-9]+
9+
10+
jobs:
11+
# Changelog checker will verify if CHANGELOG.rst was updated for every PR
12+
# See: https://keepachangelog.com/en/1.0.0/
13+
changelog-checker:
14+
name: Add CHANGELOG.rst
15+
runs-on: ubuntu-20.04
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Changelog check
19+
# https://github.com/marketplace/actions/changelog-checker
20+
uses: Zomzog/changelog-checker@v1.2.0
21+
with:
22+
fileName: CHANGELOG.rst
23+
checkNotification: Simple
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)