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

🚚 Release v0.30.0 #3086

Merged
merged 130 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
9e51e22
feat(agent): remove legacy scrape mechanism.
Nov 30, 2023
c0fe3ff
feat(ignore): add python-test .idea to gitignore.
Nov 30, 2023
0ec7d7a
feat(sinks): add config_data and format to GET /sinks.
Nov 30, 2023
0a110c3
feat(agent): cleanup.
Nov 30, 2023
25fa194
feat(sinks): make return of grpc to contain pages and remove opentele…
Nov 30, 2023
ded808b
fix(all): remove default add to opentelemetry:enabled.
Dec 6, 2023
bc877ec
Merge branch 'develop' into eng-1580-remove-opentelemetry-field-from-…
Dec 7, 2023
3eb434f
Merge branch 'develop' into eng-5-response-of-get-and-put-requests-to…
Dec 7, 2023
06e66e7
Merge branch 'develop' into eng-1631-remove-option-to-set-otel-to-fal…
Dec 7, 2023
d8cd543
fix(sinks): apply suggestion manually.
Dec 7, 2023
9904122
fix: bump lukechampine.com/uint128 from 1.2.0 to 1.3.0
dependabot[bot] Dec 25, 2023
7be7380
fix: bump mkdocs-material from 9.5.2 to 9.5.3
dependabot[bot] Dec 25, 2023
cb6d44c
Merge pull request #2896 from orb-community/dependabot/go_modules/luk…
mfiedorowicz Dec 27, 2023
218a1e9
fix: bump github.com/aws/aws-sdk-go from 1.45.26 to 1.49.10
dependabot[bot] Dec 27, 2023
008d6d0
fix: bump k8s.io/api from 0.26.3 to 0.29.0
dependabot[bot] Dec 27, 2023
4c74d96
fix: bump github.com/docker/cli
dependabot[bot] Dec 27, 2023
a9f030f
Merge pull request #2897 from orb-community/dependabot/go_modules/git…
mfiedorowicz Dec 27, 2023
10731fa
fix: bump github.com/gofrs/uuid
dependabot[bot] Dec 27, 2023
9a92e9c
Merge pull request #2898 from orb-community/dependabot/go_modules/git…
mfiedorowicz Dec 27, 2023
033b334
Merge pull request #2906 from orb-community/dependabot/go_modules/git…
mfiedorowicz Dec 27, 2023
0b1b3c6
fix: bump github.com/jaegertracing/jaeger from 1.51.0 to 1.52.0
dependabot[bot] Dec 27, 2023
d226a24
Merge pull request #2905 from orb-community/dependabot/pip/mkdocs-mat…
mfiedorowicz Dec 27, 2023
6e44a2b
Merge pull request #2904 from orb-community/dependabot/go_modules/git…
mfiedorowicz Dec 27, 2023
a59f989
upgrade k8s.io/client-go to v0.29.0
mfiedorowicz Dec 27, 2023
70b138a
Merge pull request #2885 from orb-community/dependabot/go_modules/k8s…
mfiedorowicz Dec 27, 2023
a75ca9a
fix: bump google.golang.org/grpc from 1.59.0 to 1.60.1
dependabot[bot] Dec 27, 2023
342ce2c
Merge pull request #2902 from orb-community/dependabot/go_modules/goo…
mfiedorowicz Dec 27, 2023
0dad072
fix: bump github.com/go-openapi/jsonreference from 0.20.2 to 0.20.4
dependabot[bot] Dec 27, 2023
45c693c
Merge pull request #2903 from orb-community/dependabot/go_modules/git…
mfiedorowicz Dec 27, 2023
a509fb8
fix: bump golang.org/x/crypto from 0.16.0 to 0.17.0
dependabot[bot] Dec 27, 2023
26d66e5
Merge pull request #2907 from orb-community/dependabot/go_modules/gol…
mfiedorowicz Dec 27, 2023
3959c01
removing things in parallel (#2908)
manrodrigues Dec 27, 2023
093d2c8
fix: bump github.com/eclipse/paho.mqtt.golang from 1.4.2 to 1.4.3
dependabot[bot] Jan 1, 2024
c757ad8
fix: bump github.com/nats-io/nkeys from 0.4.6 to 0.4.7
dependabot[bot] Jan 1, 2024
e69fe28
fix: bump golang.org/x/tools from 0.16.0 to 0.16.1
dependabot[bot] Jan 1, 2024
51336e6
fix: bump github.com/go-redis/redis/v8 from 8.11.4 to 8.11.5
dependabot[bot] Jan 1, 2024
8004ddc
fix: bump github.com/prometheus/procfs from 0.11.1 to 0.12.0
dependabot[bot] Jan 1, 2024
c6ecefa
fix: bump github.com/pierrec/lz4/v4 from 4.1.18 to 4.1.19
dependabot[bot] Jan 1, 2024
6918151
Merge pull request #2909 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
9112a0a
fix: bump github.com/aws/aws-sdk-go from 1.49.10 to 1.49.13
dependabot[bot] Jan 2, 2024
2d19908
fix: bump github.com/gorilla/websocket from 1.5.0 to 1.5.1
dependabot[bot] Jan 2, 2024
76c6543
Merge pull request #2910 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
354b6d6
Merge pull request #2911 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
9b3c916
Merge pull request #2912 from orb-community/dependabot/go_modules/gol…
mfiedorowicz Jan 2, 2024
b29b75e
fix: bump github.com/andybalholm/brotli from 1.0.5 to 1.0.6
dependabot[bot] Jan 2, 2024
c846a2d
Merge pull request #2913 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
a41072b
Merge pull request #2914 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
bb42a31
fix: bump github.com/go-cmd/cmd from 1.4.1 to 1.4.2
dependabot[bot] Jan 2, 2024
2c4d6d0
Merge pull request #2915 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
0c001de
Merge pull request #2916 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
70443aa
Merge pull request #2917 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
1fc08a8
Merge pull request #2918 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 2, 2024
b7d8ebd
Merge branch 'develop' into eng-1580-remove-opentelemetry-field-from-…
lpegoraro Jan 2, 2024
4c78f99
Merge pull request #2839 from lpegoraro/eng-1631-remove-option-to-set…
lpegoraro Jan 2, 2024
fa9abaa
Merge pull request #2840 from lpegoraro/eng-5-response-of-get-and-put…
lpegoraro Jan 2, 2024
3e6541d
fix(sinks): fix blank.
Jan 2, 2024
13fbb2e
fix(agent): remove scraper it was used on legacy code, cleaning up.
Jan 2, 2024
f16a72f
fix(agent): clean up and tidy.
Jan 2, 2024
d042647
Merge pull request #2919 from lpegoraro/eng-1631-remove-option-to-set…
lpegoraro Jan 2, 2024
a927cd6
Merge pull request #2853 from lpegoraro/eng-1580-remove-opentelemetry…
lpegoraro Jan 2, 2024
b34933f
fix(agent): remove policy id as tap.
Jan 2, 2024
bfabcd1
fix(agent): remove blankline.
Jan 2, 2024
c8769c5
Merge pull request #2920 from lpegoraro/eng-1847-orb-agent-should-not…
lpegoraro Jan 2, 2024
f13b298
fix: bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#2931)
dependabot[bot] Jan 9, 2024
3ac36e9
chore(go.mod): update dependencies from dependabot (#2933)
lpegoraro Jan 10, 2024
2844c24
fix(sinks): add default format as json. (#2921)
lpegoraro Jan 10, 2024
b104d54
feat(sinks): Remove opentelemetry flag when retrieving sinks, also re…
lpegoraro Jan 12, 2024
4a497c1
fix(agent): Remote reset fix (#2934)
lpegoraro Jan 17, 2024
3405d45
chore(deps): update dependabot's all in one PR (#2948)
lpegoraro Jan 22, 2024
e55437f
fix(migrate): add all migrations to orb-migrate image. (this will not…
lpegoraro Jan 23, 2024
f130d79
feat(deps): update deps (#2963)
lpegoraro Jan 24, 2024
29c12a9
fix: bump github.com/docker/cli
dependabot[bot] Jan 24, 2024
c0ce553
Merge pull request #2964 from orb-community/dependabot/go_modules/git…
mfiedorowicz Jan 24, 2024
dc99047
fix: docker dependency (#2965)
mfiedorowicz Jan 24, 2024
3795536
fix(workflow): add orb-migrate to main and fix its requirements on go…
lpegoraro Jan 25, 2024
8acc26b
fix(agent): add more timeout for python_test (#2949)
lpegoraro Jan 25, 2024
98f3e11
fix: bump github.com/opencontainers/runc from 1.1.5 to 1.1.12
mfiedorowicz Feb 1, 2024
463916f
fix: bump mkdocs-material from 9.5.4 to 9.5.6
mfiedorowicz Feb 1, 2024
bcd40eb
fix: bump selenium from 4.16.0 to 4.17.2
mfiedorowicz Feb 1, 2024
439404d
fix: bump colorlog from 6.8.0 to 6.8.2
mfiedorowicz Feb 1, 2024
4e8b32b
fix: bump github.com/nats-io/nats.go from 1.31.0 to 1.32.0
mfiedorowicz Feb 1, 2024
ed6cc7d
fix: bump peter-evans/repository-dispatch from 2 to 3
mfiedorowicz Feb 1, 2024
57e0156
fix: bump dorny/paths-filter from 2 to 3
mfiedorowicz Feb 1, 2024
0241020
Merge pull request #2985 from orb-community/chore-bulk-dependabot
mfiedorowicz Feb 1, 2024
6cce138
fix: bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1
dependabot[bot] Feb 1, 2024
4c0e2de
Merge pull request #2980 from orb-community/dependabot/go_modules/git…
mfiedorowicz Feb 1, 2024
e8817ed
fix: bump prometheus-client from 0.19.0 to 0.20.0
dependabot[bot] Feb 19, 2024
50942bb
support for token authentication
pburrows-ns1 Jul 10, 2024
739e722
return correct status codes, and dont disable create button
pburrows-ns1 Jul 10, 2024
3673b95
fix unit test
pburrows-ns1 Jul 10, 2024
08d1944
more validaton for basic and token auth
pburrows-ns1 Jul 11, 2024
c922517
chore: upgrade to go 1.22
mfiedorowicz Aug 8, 2024
388e177
chore: gofmt
mfiedorowicz Aug 8, 2024
d86f9c9
Merge pull request #3080 from orb-community/chore/go122
mfiedorowicz Aug 8, 2024
6c7197c
merge latest changes
pburrows-ns1 Aug 9, 2024
52b8ceb
better auth error names
pburrows-ns1 Aug 9, 2024
f2ba656
remove redundant comma from structs and use single const block
pburrows-ns1 Aug 9, 2024
da710e4
fix: bump pyyaml from 6.0.1 to 6.0.2
dependabot[bot] Aug 12, 2024
759362b
fix: bump github.com/docker/docker
dependabot[bot] Aug 19, 2024
3bf966f
Merge pull request #3082 from orb-community/dependabot/go_modules/git…
mfiedorowicz Aug 19, 2024
51ba22c
fix: bump github.com/docker/docker
dependabot[bot] Aug 19, 2024
f246b04
Merge pull request #3083 from orb-community/dependabot/go_modules/git…
mfiedorowicz Aug 19, 2024
295a2fb
Merge pull request #3004 from orb-community/dependabot/pip/prometheus…
mfiedorowicz Aug 19, 2024
a11c1ff
fix: bump mkdocs-material from 9.5.6 to 9.5.31
dependabot[bot] Aug 19, 2024
ff26962
Merge pull request #3081 from orb-community/dependabot/pip/pyyaml-6.0.2
mfiedorowicz Aug 19, 2024
74f83e9
fix: bump docker from 7.0.0 to 7.1.0
dependabot[bot] Aug 19, 2024
a157439
fix: bump codecov/codecov-action from 3 to 4
dependabot[bot] Aug 19, 2024
d1736fb
Merge pull request #2991 from orb-community/dependabot/github_actions…
mfiedorowicz Aug 19, 2024
eb7f314
Merge pull request #3079 from orb-community/dependabot/pip/mkdocs-mat…
mfiedorowicz Aug 19, 2024
2a6f7b9
fix: bump jsonschema from 4.21.1 to 4.23.0
dependabot[bot] Aug 19, 2024
da2640f
Merge pull request #3078 from orb-community/dependabot/pip/jsonschema…
mfiedorowicz Aug 19, 2024
6d6cb04
fix: bump deepdiff from 6.7.1 to 7.0.1
dependabot[bot] Aug 19, 2024
a27258f
Merge pull request #3041 from orb-community/dependabot/pip/deepdiff-7…
mfiedorowicz Aug 19, 2024
0f33bf7
fix: bump mkdocs from 1.5.3 to 1.6.0
dependabot[bot] Aug 19, 2024
0b3c2ee
Merge pull request #3056 from orb-community/dependabot/pip/mkdocs-1.6.0
mfiedorowicz Aug 19, 2024
03e4775
Merge pull request #3077 from orb-community/dependabot/pip/docker-7.1.0
mfiedorowicz Aug 19, 2024
347a38b
fix: bump psutil from 5.9.8 to 6.0.0
dependabot[bot] Aug 19, 2024
679a06a
Merge pull request #3076 from orb-community/dependabot/pip/psutil-6.0.0
mfiedorowicz Aug 19, 2024
edea7c6
fix: bump selenium from 4.17.2 to 4.23.1
dependabot[bot] Aug 19, 2024
f59e7c8
Merge pull request #3074 from orb-community/dependabot/pip/selenium-4…
mfiedorowicz Aug 19, 2024
e2f2329
fix: bump webdriver-manager from 4.0.1 to 4.0.2
dependabot[bot] Aug 19, 2024
9fb811a
Merge pull request #3075 from orb-community/dependabot/pip/webdriver-…
mfiedorowicz Aug 19, 2024
f43a4cb
fix: bump docker/build-push-action from 5 to 6
dependabot[bot] Aug 19, 2024
a1eb427
Merge pull request #3073 from orb-community/dependabot/github_actions…
mfiedorowicz Aug 19, 2024
9920aa2
fix casing
pburrows-ns1 Aug 19, 2024
eca8480
Merge pull request #3061 from pburrows-ns1/develop
mfiedorowicz Aug 19, 2024
a790900
feat: remove diode backend and agent
mfiedorowicz Aug 19, 2024
fc3d956
Merge pull request #3084 from orb-community/remove-diode-backend-agent
mfiedorowicz Aug 19, 2024
9aca47e
bump version to 0.30.0
mfiedorowicz Aug 19, 2024
5ac58d7
Merge pull request #3085 from orb-community/bump-version-0.30.0
mfiedorowicz Aug 19, 2024
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
2 changes: 1 addition & 1 deletion .github/actions/go-lint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-buster
FROM golang:1.22-alpine

LABEL author="Everton Haise Taques<[email protected]>"
LABEL maintainer="netboxlabs"
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/go-report/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine
FROM golang:1.22-alpine

LABEL author="Everton Haise Taques<[email protected]>"
LABEL maintainer="netboxlabs"
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pktvisor_tag:
description: 'pktvisor agent docker tag to package'
default: "develop"
diode_tag:
description: 'diode agent docker tag to package'
default: "develop"
orb_tag:
description: 'orb agent docker tag to package'
default: "develop"
Expand All @@ -26,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Get branch name
shell: bash
Expand Down Expand Up @@ -203,9 +200,9 @@ jobs:
shell: bash
run: |
if [ "${{ github.event.inputs.pktvisor_tag }}" == "" ]; then
DIODE_TAG=${{ env.REF_TAG }} PKTVISOR_TAG=${{ env.REF_TAG }} ORB_TAG=${{ env.REF_TAG }} make agent_full
PKTVISOR_TAG=${{ env.REF_TAG }} ORB_TAG=${{ env.REF_TAG }} make agent_full
else
DIODE_TAG=${{ github.event.inputs.diode_tag }} PKTVISOR_TAG=${{ github.event.inputs.pktvisor_tag }} ORB_TAG=${{ github.event.inputs.orb_tag }} make agent_full
PKTVISOR_TAG=${{ github.event.inputs.pktvisor_tag }} ORB_TAG=${{ github.event.inputs.orb_tag }} make agent_full
fi

- name: Login to Docker Hub orbcommunity
Expand Down
33 changes: 16 additions & 17 deletions .github/workflows/go-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
VERSION: ${{ env.VERSION }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
if: ${{ needs.prebuild.outputs.docs == 'true' && github.event_name != 'pull_request' }}
with:
token: ${{ secrets.GH_ORB_ACCESS_TOKEN }}
Expand All @@ -116,7 +116,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.agent == 'true' || github.event_name != 'pull_request' }}
Expand All @@ -140,7 +140,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ needs.prebuild.outputs.agent == 'true' || github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
version: "v0.1.15"
files: coverage.xml
Expand All @@ -155,7 +155,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
Expand All @@ -179,7 +179,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
version: "v0.1.15"
files: coverage.xml
Expand All @@ -194,7 +194,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
Expand All @@ -218,7 +218,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
version: "v0.1.15"
files: coverage.xml
Expand All @@ -233,7 +233,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
Expand All @@ -257,7 +257,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
version: "v0.1.15"
files: coverage.xml
Expand All @@ -272,7 +272,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
Expand All @@ -296,7 +296,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
version: "v0.1.15"
files: coverage.xml
Expand All @@ -311,7 +311,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
Expand All @@ -335,7 +335,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ needs.prebuild.outputs.orb == 'true' || github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
version: "v0.1.15"
files: coverage.xml
Expand Down Expand Up @@ -539,7 +539,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -612,8 +612,7 @@ jobs:

package-migrate:
needs:
- package-ui-dependencies
- package-ui
- prebuild
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
46 changes: 38 additions & 8 deletions .github/workflows/go-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
VERSION: ${{ env.VERSION }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand All @@ -37,6 +37,11 @@ jobs:
- 'cmd/sinks/**'
- 'sinker/**'
- 'cmd/sinker/**'
- 'maestro/**'
- 'cmd/maestro/**'
migrate:
- 'migrate/**'
- 'cmd/migrate/**'
ui:
- 'ui/**'
- name: Set branch name
Expand Down Expand Up @@ -65,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
run: SERVICE=agent make test_service
Expand All @@ -78,7 +83,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -92,7 +97,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -106,7 +111,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -120,7 +125,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -134,7 +139,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand Down Expand Up @@ -332,7 +337,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -384,6 +389,30 @@ jobs:
run: |
docker push -a orbcommunity/orb-ui

package-migrate:
needs:
- prebuild
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build orb migrate service image
if: ${{ needs.prebuild.outputs.migrate == 'true' }}
run: |
SERVICE=migrate make build_docker

- name: Login to Docker Hub orbcommunity
if: ${{ needs.prebuild.outputs.migrate == 'true' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.ORB_DOCKERHUB_USERNAME }}
password: ${{ secrets.ORB_DOCKERHUB_TOKEN }}

- name: Push orb migrate service image orbcommunity
if: ${{ needs.prebuild.outputs.migrate == 'true' }}
run: |
docker push -a orbcommunity/orb-migrate

release:
needs:
- prebuild
Expand All @@ -392,6 +421,7 @@ jobs:
- package-sinker
- package-sinks
- package-ui
- package-migrate
runs-on: ubuntu-latest
# if this is a push into one of our main branches (rather than just a pull request), we will also package
if: github.event_name != 'pull_request'
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/go-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
VERSION: ${{ env.VERSION }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.agent == 'true' }}
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
run: |
Expand All @@ -100,7 +100,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -114,7 +114,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -128,7 +128,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
if: ${{ needs.prebuild.outputs.orb == 'true' }}
Expand All @@ -142,7 +142,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: '1.22'

- name: Go unit tests
run: |
Expand Down Expand Up @@ -353,7 +353,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
Expand Down Expand Up @@ -559,7 +559,7 @@ jobs:
IMAGE_NAME: orbcommunity/orb-agent:latest
IMAGE_NAME_2: orbcommunity/orb-agent:${{ env.VERSION }}-${{ steps.commit_hash.outputs.sha_short }}

uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
build/*
localconfig/
.vscode/
python-test/.idea

**/.env

Expand Down
Loading
Loading