Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/9.2.0 #25

Merged
merged 30 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
6c1b311
Update test data to match recent changes
rowanseymour Apr 11, 2024
3922b3d
Update to go 1.22 and update deps
rowanseymour Apr 11, 2024
1a90f80
Merge pull request #95 from nyaruka/update_testdb
rowanseymour Apr 11, 2024
4ce213a
Merge pull request #96 from nyaruka/go1.22
rowanseymour Apr 11, 2024
a317dfd
Start replacing logrus with slog
norkans7 Oct 13, 2023
d12414f
Remove flows_flowrun.submitted_by
rowanseymour Apr 11, 2024
4dc7096
Merge pull request #91 from nyaruka/slog
rowanseymour Apr 12, 2024
c09fd50
Merge pull request #97 from nyaruka/rem_submitted_by
rowanseymour Apr 12, 2024
32e48d8
Finish switching to use slog for logging
norkans7 Oct 13, 2023
b3f4220
Merge pull request #92 from nyaruka/slog-2
rowanseymour Apr 12, 2024
3c3a6ea
Update CHANGELOG.md for v9.1.0
rowanseymour Apr 12, 2024
cf7d1b0
Add support for status=READ
rowanseymour Apr 25, 2024
03ebb1c
Merge pull request #98 from nyaruka/read_status
rowanseymour Apr 25, 2024
f449737
Update CHANGELOG.md for v9.1.1
rowanseymour Apr 25, 2024
79fe207
Update Github actions to latest versions
norkans7 May 16, 2024
9fca4ed
Merge pull request #99 from nyaruka/update-CI-actions
rowanseymour May 16, 2024
6f98234
Use std lib errors
norkans7 May 30, 2024
0c9d0a2
Merge pull request #100 from nyaruka/use-std-errors
rowanseymour Jun 3, 2024
f5389f1
Update deps
rowanseymour Jun 3, 2024
003d1f8
Update slog-multi
rowanseymour Jun 4, 2024
22d74e2
Update CHANGELOG.md for v9.1.2
rowanseymour Jun 4, 2024
5c7a842
Update goreleaser config to v2
rowanseymour Jun 5, 2024
59323de
Update README.md
rowanseymour Jun 5, 2024
5d57272
Test against postgresql 15
rowanseymour Jul 17, 2024
dcbf3f8
Update dependencies
rowanseymour Jul 17, 2024
7eea020
Update CHANGELOG.md for v9.2.0
rowanseymour Jul 17, 2024
1b4c8bd
Merge tag 'v9.2.0' of https://github.com/nyaruka/rp-archiver into upd…
rasoro Dec 17, 2024
aa7a873
update weni-changelog for 1.2.4-archiver-9.2.0
rasoro Dec 17, 2024
ff28666
allow build stg ire
rasoro Jan 6, 2025
174e870
don't fail ci if upload coverage fail
rasoro Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
elif grep -qs -e '^.*.*-staging' <<< "${TAG}" ; then
echo "Found environment: STAGING - ${TAG}"
echo "ENVIRONMENT=staging" | tee -a "${GITHUB_ENV}"
exit 1 # stop action
#elif grep -qs -e '^.*.*-staging' <<< "${TAG}" ; then
elif grep -qs -e '^.*.*' <<< "${TAG}" ; then
echo "No environment found, assuming: PRODUCTION - ${TAG}"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: CI
on: [push, pull_request]
env:
go-version: "1.21.x"
go-version: "1.22.x"
jobs:
test:
name: Test
runs-on: ubuntu-latest

services:
postgres:
image: postgis/postgis:14-3.3-alpine
image: postgres:15-alpine
env:
POSTGRES_DB: archiver_test
POSTGRES_USER: archiver_test
Expand All @@ -20,10 +20,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.go-version }}

Expand All @@ -35,10 +35,10 @@ jobs:

- name: Upload coverage
if: success()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
fail_ci_if_error: false

release:
name: Release
Expand All @@ -47,17 +47,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ env.go-version }}

- name: Publish release
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
env:
Expand Down
20 changes: 20 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
builds:
- main: ./cmd/rp-archiver/main.go
binary: rp-archiver
goos:
- darwin
- linux
goarch:
- amd64
- arm64

changelog:
filters:
exclude:
- "^Update CHANGELOG.md"

archives:
- files:
- LICENSE
- README.md
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
v9.2.0 (2024-07-17)
-------------------------
* Update dependencies
* Test against PostgreSQL 15

v9.1.2 (2024-06-04)
-------------------------
* Update deps
* Use std lib errors

v9.1.1 (2024-04-25)
-------------------------
* Add support for status=READ

v9.1.0 (2024-04-12)
-------------------------
* Remove flows_flowrun.submitted_by
* Replace logrus with slog
* Update to go 1.22 and update deps

v9.0.0 (2024-01-05)
-------------------------
* Update dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Archiver
# 🗜️ Archiver

[![Build Status](https://github.com/nyaruka/rp-archiver/workflows/CI/badge.svg)](https://github.com/nyaruka/rp-archiver/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/nyaruka/rp-archiver/branch/main/graph/badge.svg)](https://codecov.io/gh/nyaruka/rp-archiver)
Expand Down
4 changes: 4 additions & 0 deletions WENI-CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.2.4-archiver-9.2.0
----------
* update to rp-arciver v9.2.0

1.2.4-archiver-9.0.0
----------
* update to rp-arciver v9.0.0
Expand Down
Loading
Loading