Skip to content

Commit

Permalink
Dependency upgrades (#280)
Browse files Browse the repository at this point in the history
* Upgrade Goreleaser and Gosec

* Upgrade dependency versions

* Skip potential security issue

* Install CCom from the right repo url while testing

* Fix Grafana wrong dependency

* Fix Jira version
  • Loading branch information
marcauberer committed Feb 13, 2022
1 parent 880cdb3 commit 2e1efbc
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: v1.2.3
version: v1.4.1
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/service-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install CCom
run: |
curl -fsSL https://server.chillibits.com/files/repo/gpg | sudo apt-key add -
sudo add-apt-repository "deb https://admin.repo.chillibits.com/repository/ubuntu-$(lsb_release -cs) $(lsb_release -cs) main"
sudo add-apt-repository "deb https://repo.chillibits.com/ubuntu-$(lsb_release -cs) $(lsb_release -cs) main"
sudo apt-get update
sudo apt-get install ccom
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: bash <(curl -s https://codecov.io/bash)

- name: Install GoSec
run: curl -sfL https://raw.githubusercontent.com/securego/gosec/v2.9.1/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.9.1
run: curl -sfL https://raw.githubusercontent.com/securego/gosec/v2.9.6/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.9.6

- name: Run security scan
working-directory: src
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/adguard-home/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{
"text": "Which version of AdGuard Home do you want to use?",
"type": 2,
"defaultValue": "0.107.2",
"defaultValue": "0.107.3",
"variable": "ADGUARD_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/django/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{
"text": "Which Django version do you want to use?",
"type": 2,
"defaultValue": "4.0.1",
"defaultValue": "4.0.2",
"variable": "DJANGO_VERSION"
},
{
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/docker-registry/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"variable": "REGISTRY_PORT"
},
{
"text": "Which Django version do you want to use?",
"text": "Which Docker Registry version do you want to use?",
"type": 2,
"defaultValue": "2.7.1",
"variable": "REGISTRY_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/monica/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{
"text": "Which version of Monica do you want to use?",
"type": 2,
"defaultValue": "3.5",
"defaultValue": "3.6",
"variable": "MONICA_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/node/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{
"text": "Which version of Node do you want to use?",
"type": 2,
"defaultValue": "17.3",
"defaultValue": "17.4",
"variable": "NODE_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/plex/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which version of Plex do you want to use?",
"type": 2,
"defaultValue": "1.25.2",
"defaultValue": "1.25.4",
"variable": "PLEX_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/prometheus/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which version of Prometheus do you want to use?",
"type": 2,
"defaultValue": "2.32.1",
"defaultValue": "2.33.1",
"variable": "PROMETHEUS_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/backend/rocket/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{
"text": "Which version of Rust do you want to use?",
"type": 2,
"defaultValue": "1.57",
"defaultValue": "1.58",
"variable": "ROCKET_RUST_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/database/elasticsearch/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which Elasticsearch version do you want to use?",
"type": 2,
"defaultValue": "7.16.2",
"defaultValue": "7.17.0",
"variable": "ELASTICSEARCH_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/database/faunadb/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"text": "Which FaunaDB version do you want to use?",
"type": 2,
"defaultValue": "4.7.0",
"defaultValue": "4.8.0",
"variable": "FAUNADB_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/database/neo4j/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{
"text": "Which Neo4j version do you want to use?",
"type": 2,
"defaultValue": "4.4",
"defaultValue": "4.4.3",
"variable": "NEO4J_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/database/questdb/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
"text": "Which QuestDB version do you want to use?",
"type": 2,
"defaultValue": "6.1",
"defaultValue": "6.2",
"variable": "QUESTDB_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/bitbucket/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{
"text": "Which version of BitBucket do you want to use?",
"type": 2,
"defaultValue": "7.19",
"defaultValue": "7.20",
"variable": "BITBUCKET_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/drupal/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which version of Drupal do you want to use?",
"type": 2,
"defaultValue": "9.2",
"defaultValue": "9.3",
"variable": "DRUPAL_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/ghost/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{
"text": "Which version of Ghost do you want to use?",
"type": 2,
"defaultValue": "4.32",
"defaultValue": "4.34",
"variable": "GHOST_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/gitea/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which version of Gitea do you want to use?",
"type": 2,
"defaultValue": "1.15",
"defaultValue": "1.16",
"variable": "GITEA_VERSION"
}
],
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/gitlab/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{
"text": "Which version of GitLab do you want to use?",
"type": 2,
"defaultValue": "14.6.1",
"defaultValue": "14.7.1",
"variable": "GITLAB_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/grafana/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which version of Grafana do you want to use?",
"type": 2,
"defaultValue": "8.3.3",
"defaultValue": "8.3.0",
"variable": "GRAFANA_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/jupyter/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{
"text": "Which version of Jupyter do you want to use?",
"type": 2,
"defaultValue": "6.4.6",
"defaultValue": "6.4.8",
"variable": "JUPYTER_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/matomo/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{
"text": "Which version of Matomo do you want to use?",
"type": 2,
"defaultValue": "4.6",
"defaultValue": "4.7",
"variable": "MATOMO_VERSION"
}
]
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/wordpress/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{
"text": "Which version of Wordpress do you want to use?",
"type": 2,
"defaultValue": "5.8",
"defaultValue": "5.9",
"variable": "WORDPRESS_VERSION"
},
{
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/frontend/youtrack/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"text": "Which version of YouTack do you want to use (latest not available)?",
"type": 2,
"defaultValue": "2021.4.36872",
"defaultValue": "2021.4.40676",
"variable": "YOUTRACK_VERSION",
"advanced": true
}
Expand Down
2 changes: 1 addition & 1 deletion predefined-services/proxy/traefik/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
{
"text": "Which version of of Traefik Proxy do you want to use?",
"defaultValue": "2.5.6",
"defaultValue": "2.6.0",
"type": 2,
"variable": "TRAEFIK_PROXY_VERSION",
"advanced": true
Expand Down
1 change: 1 addition & 0 deletions src/util/net.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func DownloadFile(url string, filepath string) error {
}

// Create the file
// #nosec G304
out, err := os.Create(filepath)
defer func() {
if err := out.Close(); err != nil {
Expand Down

0 comments on commit 2e1efbc

Please sign in to comment.