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

Develop #50

Merged
merged 79 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
0646361
fix: refactor routes in flask, refactor InventoryList.jsx, change del…
wojtekzyla Feb 1, 2023
71cec71
fix: add permissions to the release job in workflow
wojtekzyla Jun 2, 2023
ef02ddb
Update ci-build.yaml
wojtekzyla Jul 4, 2023
be8a89f
fix: fix invalid escape sequence \s in .releaserc
wojtekzyla Jul 4, 2023
af58564
fix: remove extra quotation mark in .releaserc
wojtekzyla Jul 4, 2023
6159070
fix: update .releaserc
wojtekzyla Jul 5, 2023
b07613c
fix: update .releaserc
wojtekzyla Jul 5, 2023
4710923
fix: fix matches in .releaserc
wojtekzyla Jul 5, 2023
2b8ff5c
chore(release): 1.0.0-beta.1
semantic-release-bot Jul 5, 2023
13e48d0
fix: refactor routes in flask, refactor InventoryList.jsx, change del…
wojtekzyla Feb 1, 2023
f3e450a
fix: Add apply changes
wojtekzyla Apr 18, 2023
4420748
fix: change gunicorn log-level to info
wojtekzyla Jul 7, 2023
fea03d5
Merge pull request #14 from splunk/fix/add-apply-changes-functionality
wojtekzyla Jul 7, 2023
30f6d90
fix: enable compound indices in profiles and configuration of hosts i…
wojtekzyla Jun 26, 2023
1e146c9
fix: add conditional profiles
wojtekzyla Jul 3, 2023
6604c8f
fix: update semantic-release-action version
wojtekzyla Jul 7, 2023
3f7bbdf
fix: update __string_value_to_numeric method
wojtekzyla Jul 7, 2023
564830a
Merge pull request #26 from splunk/fix/new-features-from-sc4snmp
wojtekzyla Jul 7, 2023
052582c
fix: update node version in workflows
wojtekzyla Jul 7, 2023
399726a
fix: downgrade semantic-release-action
wojtekzyla Jul 7, 2023
d2a1a99
fix: downgrade node in workflows
wojtekzyla Jul 7, 2023
a9dc102
fix: refactor and add new tests for flask backend.
wojtekzyla Jul 6, 2023
f58270c
fix: bump semantic_version to 20 and cycjimmy/semantic-release-action…
wojtekzyla Jul 11, 2023
1fb717b
fix: bump node-version for semantic release and change extra plugin @…
wojtekzyla Jul 11, 2023
5d1dc3f
fix: change jpoehnelt/semantic-release-replace-plugin to semantic-rel…
wojtekzyla Jul 11, 2023
59a6518
Merge pull request #27 from splunk/fix/flask-unit-tests
wojtekzyla Jul 11, 2023
5d45a28
fix: use [email protected]
wojtekzyla Jul 11, 2023
39992eb
fix: bump semantic-release-replace-plugin
wojtekzyla Jul 11, 2023
434da60
fix: use @google/[email protected] plugin
wojtekzyla Jul 11, 2023
addccef
fix: use @google/[email protected] plugin
wojtekzyla Jul 11, 2023
7fbdedb
fix: use @google/[email protected] plugin
wojtekzyla Jul 11, 2023
a3122b5
fix: in .releaserc use semantic-release-replace-plugin and in ci-rele…
wojtekzyla Jul 11, 2023
94bdc57
fix: in .releaserc use semantic-release-replace-plugin and in ci-rele…
wojtekzyla Jul 11, 2023
9949783
fix: use [email protected]
wojtekzyla Jul 11, 2023
163a598
chore(release): 1.0.0-beta.2
semantic-release-bot Jul 11, 2023
edc60a3
fix: unit tests of inventory form, refactor contexts
wojtekzyla Jul 14, 2023
0a4758c
fix: add unit tests for groups forms, add tests for varbinds, smart p…
wojtekzyla Jul 17, 2023
2e6dd22
fix: finish AddProfileModal tests, add test for snmpv3 in the inventory
wojtekzyla Jul 18, 2023
cf3088d
fix: delete Manager.unit.jsx
wojtekzyla Jul 18, 2023
e1c2e36
Merge pull request #29 from splunk/fix/react-unit-tests
wojtekzyla Jul 18, 2023
fbea3ab
chore(release): 1.0.0-beta.3
semantic-release-bot Jul 18, 2023
8a6cb01
fix: add warnings when deleting groups or profiles which are configur…
wojtekzyla Jul 19, 2023
fb615f6
fix: save mongo configuration to values.yaml
wojtekzyla Jul 25, 2023
50c6136
Merge pull request #31 from splunk/fix/issues-found-in-testing
wojtekzyla Jul 27, 2023
4e668b1
chore(release): 1.0.0-beta.4
semantic-release-bot Jul 27, 2023
f025b9c
fix: add selectors for tests
wojtekzyla Jul 26, 2023
c0245a4
Merge pull request #33 from splunk/fix/test-selectors-for-ui-elements
wojtekzyla Jul 27, 2023
35af5fd
chore(release): 1.0.0-beta.5
semantic-release-bot Jul 27, 2023
4bf090f
fix: stay on the same page after refreshing the browser
wojtekzyla Jul 27, 2023
54afa93
Merge pull request #34 from splunk/fix/keep-tab-after-refreshing
wojtekzyla Jul 27, 2023
714bf85
chore(release): 1.0.0-beta.6
semantic-release-bot Jul 27, 2023
d9bed2d
fix: validation of the same varBinds, conditions and patterns in one …
wojtekzyla Jul 28, 2023
f11f712
Merge pull request #35 from splunk/fix/validate-same-varbind-and-same…
wojtekzyla Jul 28, 2023
ed90421
chore(release): 1.0.0-beta.7
semantic-release-bot Jul 28, 2023
4ed7634
fix: add unit tests to pipeline
wojtekzyla Jul 28, 2023
b1080a9
Merge pull request #36 from splunk/fix/add-unit-tests-to-github-actions
wojtekzyla Jul 28, 2023
7e4e8ef
chore(release): 1.0.0-beta.8
semantic-release-bot Jul 28, 2023
86b4cff
fix: add groups and single hosts in separate fields. Clear notoficati…
wojtekzyla Aug 2, 2023
8522242
chore(release): 1.0.0-beta.9
semantic-release-bot Aug 2, 2023
68d32a5
fix: update test ids (#39)
wojtekzyla Aug 7, 2023
6011b0f
chore(release): 1.0.0-beta.10
semantic-release-bot Aug 7, 2023
9edebff
fix: upgrade varbinds validation (#40)
wojtekzyla Aug 10, 2023
2fc2ee6
fix: group name can't start with a number (#41)
wojtekzyla Aug 10, 2023
401193a
chore(release): 1.0.0-beta.11
semantic-release-bot Aug 10, 2023
b954c4e
Fix/remove indices from test ids (#42)
wojtekzyla Aug 14, 2023
cf1967a
fix: trigger release (#43)
wojtekzyla Aug 14, 2023
2383ada
chore(release): 1.0.0-beta.12
semantic-release-bot Aug 14, 2023
599f475
fix: fix bug with deleted inventory records reappearing after deletin…
wojtekzyla Sep 11, 2023
bcd7337
chore(release): 1.0.0-beta.13
semantic-release-bot Sep 11, 2023
bad506e
fix: fix typos in groups (#45)
wojtekzyla Sep 11, 2023
d2c1a0a
chore(release): 1.0.0-beta.14
semantic-release-bot Sep 11, 2023
8d72e17
fix: fix apply changes api message (#46)
wojtekzyla Sep 12, 2023
95d17b3
chore(release): 1.0.0-beta.15
semantic-release-bot Sep 12, 2023
b9ad7d7
fix: add max walk interval validation, fix clicking on group names, a…
wojtekzyla Sep 12, 2023
3e68a2f
chore(release): 1.0.0-beta.16
semantic-release-bot Sep 12, 2023
a34ab61
fix: add regex and negation options for conditional profiles (#48)
wojtekzyla Sep 15, 2023
12922d0
chore(release): 1.0.0-beta.17
semantic-release-bot Sep 15, 2023
ccb482d
fix: fix typos in ui (#49)
wojtekzyla Oct 4, 2023
91fe988
chore(release): 1.0.0-beta.18
semantic-release-bot Oct 4, 2023
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
80 changes: 0 additions & 80 deletions .github/workflows/ci-build-backend.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
# ########################################################################

name: ci-build-frontend
name: ci-build
on:
pull_request:
branches:
Expand All @@ -30,9 +30,12 @@ on:
- "v*"

jobs:
release:
name: Release
build-frontend:
name: build-frontend
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -50,7 +53,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
- name: Docker meta - frontend
id: docker_meta
uses: docker/metadata-action@v3
with:
Expand All @@ -63,13 +66,12 @@ jobs:
type=semver,pattern={{major}}
type=semver,pattern={{version}}
type=ref,event=branch
type=ref,event=pr
- name: Build and push action - frontend
id: docker_action_build_frontend
uses: docker/build-push-action@v2
with:
context: frontend
push: true
push: false
platforms: linux/amd64,linux/arm64
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
Expand All @@ -78,3 +80,52 @@ jobs:
with:
node-version: "14"

build-backend:
name: build-backend
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
with:
submodules: false
persist-credentials: false

#Build docker images
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Packages Docker Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta - backend
id: docker_meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/splunk/sc4snmp-ui/backend/container
tags: |
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
type=semver,pattern=v{{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern={{version}}
type=ref,event=branch
- name: Build and push action - backend
id: docker_action_build_backend
uses: docker/build-push-action@v2
with:
context: backend
push: false
platforms: linux/amd64,linux/arm64
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-to: type=inline
- uses: actions/setup-node@v2
with:
node-version: "14"
80 changes: 80 additions & 0 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# ########################################################################
# Copyright 2021 Splunk Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ########################################################################

name: ci-main
on:
push:
branches:
- "main"
- "develop"
- "next"
tags-ignore:
- "v*"
pull_request:
branches:
- "main"
- "develop"
- "next"
jobs:
test-unit-backend:
name: Test Backend Unit Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
env:
VALUES_DIRECTORY: /tmp
strategy:
matrix:
python-version:
- 3.9
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
working-directory: ./backend
run: pip install -r ./requirements.txt
- name: Run Pytest
working-directory: ./backend
run: pytest
test-unit-frontned:
name: Test Frontend Unit Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 16
steps:
- uses: actions/checkout@v3
- name: Set Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install
dir: 'frontend'
- name: Build
uses: borales/actions-yarn@v4
with:
cmd: build
dir: 'frontend'
- name: Run test in sub-folder
uses: borales/actions-yarn@v4
with:
cmd: test
dir: 'frontend'
Loading
Loading