-
Notifications
You must be signed in to change notification settings - Fork 26
QOV-2260 - Synacktiv 2026 V-04 Secret used in the command line #705
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
Open
erebe
wants to merge
738
commits into
master
Choose a base branch
from
erebe/QOV-2261
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
738 commits
Select commit
Hold shift + click to select a range
cb3f785
fix lower/upper case
acarranoqovery 060dde6
Merge pull request #427 from Qovery/feat_add_notrack
acarranoqovery 7c2e53c
feat: suport session token for aws role (#429)
erebe 4532e8a
chore: Add cluster admin status (#430)
mzottola fca306f
feat(ENG-1883): refactor application commands to support deployment q…
fabienfleureau c9be261
feat(ENG-1883): refactor environment deploy command to support deploy…
fabienfleureau 6465a1b
fix: fix linter
fabienfleureau 30302f0
fix: fix linter
fabienfleureau 9021f59
Merge pull request #431 from Qovery/feat/ENG-1883/deployment_queue
fabienfleureau 30f4d66
fix: try to fix aur package release
fabienfleureau a88a978
Merge pull request #432 from Qovery/fix/fix_release_build
fabienfleureau e9787ae
feat: update container deploy with deployment queue
fabienfleureau c3afa44
feat: update database deploy with deployment queue
fabienfleureau 285ed99
Merge pull request #433 from Qovery/feat/ENG-1883/deploy_with_deploym…
fabienfleureau cd43d36
feat: update deploy commands with deployment queue
fabienfleureau f921ac5
Merge pull request #434 from Qovery/feat/ENG-1883/deploy_with_deploym…
fabienfleureau 11ac5d2
chore: bump qovery client api (#439)
erebe 156392e
feat: update application deployment actions
fabienfleureau d9d67c4
feat: update cotnainer deployment actions
fabienfleureau 146ec57
feat: update cronjob deployment actions
fabienfleureau e11e766
feat: update database deployment actions
fabienfleureau 5009c38
feat: update environment deployment actions
fabienfleureau d2db8bb
feat: update helm deployment actions
fabienfleureau 77d1766
feat: update job deployment actions
fabienfleureau a2fa8b0
chore: cleaning
fabienfleureau 62ea856
Merge pull request #436 from Qovery/feat/deployment_action_update
fabienfleureau ce2aef1
feat: enable cloud vendor field on cluster creation
fabienfleureau d4b50f2
Merge pull request #441 from Qovery/feat/COR-1168/handle_more_cloud_v…
fabienfleureau e63aba2
chore: Add tip info message on download s3 archive issue (#443)
mzottola 05de4ad
feat(QOV-113): deploy cluster with pending update
fabienfleureau e2c4aa6
feat(QOV-113): deploy cluster with pending update
fabienfleureau 0279a2d
Merge pull request #445 from Qovery/feat/QOV-113/deploy_cluster_with_…
fabienfleureau d34b01d
bump goland jwt dependency (#447)
pggb25 b2b9df1
feat(QOV-65): Allow to select the destination project when cloning an…
pggb25 389d410
Bump deps
erebe 44747c6
Bump deps
erebe f4d9777
Bump deps
erebe a4f73f2
bump deps
erebe 7f93718
bump deps
erebe 22fe580
bump deps
erebe 2a2635d
bump deps
erebe 3a00f0d
chore: update dependencies
fabienfleureau 48eadf2
chore: update golang version
fabienfleureau 6305a37
chore: update runner ubuntu version
fabienfleureau ae5721c
Merge pull request #455 from Qovery/chore/dependencies_update
fabienfleureau ef878c7
chore: update qovery client
fabienfleureau 190b332
Merge pull request #457 from Qovery/chore/update_qovery_client
fabienfleureau 786f277
feat: set k9s readonly by default
b3d3dda
Merge pull request #462 from Qovery/feat/set_k9s_ro_default
9ecc911
chore(sec): replace vulnerable and deprecated lib (#463)
erebe d400a9f
chore(QOV-841): prevent shell connection from closing (#466)
benjaminch 25a60b4
feat(QOV-846): add a list-commands command (#468)
benjaminch 30f7577
feat(QOV-799): add command to load AWS credentials from a role ARN
fabienfleureau d2edec6
feat(QOV-799): add command to load AWS credentials from a role ARN
fabienfleureau b55adec
Merge pull request #471 from Qovery/feat/load_aws_credentials
fabienfleureau 5f60ad6
feat(QOV-799): add command to load credentials from a cluster-id
fabienfleureau 75804d7
feat(QOV-799): rewrite k9s to use in memory creds loaded from kubecon…
fabienfleureau 1658cb5
Merge pull request #474 from Qovery/feat/k9s_without_creds
fabienfleureau c1eb7f1
Merge pull request #473 from Qovery/feat/load-credentials
fabienfleureau 9846c3f
feat(QOV-799): add kubeconfig and bastion setting in load-credentials…
fabienfleureau 4f7f983
Merge pull request #475 from Qovery/feat/credentials_with_kubeconfig
fabienfleureau 50b3064
chore: Add hint for qovery demo issue (#478)
mzottola c618288
update readme (#483)
erebe 5f1b103
chore: bump kubernetes version for demo (#484)
erebe a0cf8f6
Bump k3d to v5.8.3
Guimove a7e79a3
Merge pull request #489 from Qovery/fix/k3d_v5.8.3
Guimove 62f46c9
fix: qk9s command when bastion is used (#492)
pggb25 ffb838e
feat: add organisation block/unblock
6791e0a
Merge pull request #495 from Qovery/feat/block_unblock_org_deployment
b91ee7a
feat: upgrade linter version
27fc816
Merge pull request #497 from Qovery/feat/linter-upgrade
03fa02b
feat: enable user conn after signup
00823e2
Merge pull request #496 from Qovery/feat/enable-user-connect-after-si…
917311e
feat(QOV-1012) allow qovery admins to set cluster kubeconfig (#500)
benjaminch 715ccbc
fix: upgrade cmd remove tmp issue
bb7d1a9
Merge pull request #503 from Qovery/fix/upgrade_remove_tmp
f70fae4
feat: return help instead of errors on many commands
e88c7d9
Merge pull request #502 from Qovery/feat/return_help_on_missing_elements
17c11aa
Revert "feat: return help instead of errors on many commands"
8841ffb
Merge pull request #504 from Qovery/fix/revert_last_commit
44b5c82
chore(QOV-1024): introduce azure in help text (#505)
benjaminch af97145
feat: upload release artifacts to Cloudflare R2
fabienfleureau 6adb5eb
Merge pull request #507 from Qovery/feat/upload_release_artifacts_r2_…
fabienfleureau c761cb5
fix: fix R2 upload action as configure-aws-credentials doesn't work w…
fabienfleureau 5bbc442
fix: only upload when it's a tag
fabienfleureau 2bb089b
Merge pull request #508 from Qovery/fix/r2_upload_action
fabienfleureau eab2a2e
fix(upgrade): prevent error on //tmp/.X11-unix/X0 by avoiding full /t…
b3229c1
Merge pull request #511 from Qovery/fix/upgrade-tempdir-cleanup
Guimove c90faba
ci(aur): derive pkgver from Git tag in GH Action
44ac885
Merge pull request #512 from Qovery/ci/aur-use-tag-version
Guimove a2afa8e
feat: add skip version check flag for authentication command
fabienfleureau 8f685b3
Merge pull request #520 from Qovery/fix/skip_version_check_auth
fabienfleureau a269571
feat: allow to filter cluster by metrics feature in the admin cmd (#522)
pggb25 29c5665
* feat(QOV-1030): allow to update eks anywhere kubeconfig
benjaminch 2ec20ce
Fix: set proper perms on context file at each create/update
kpochat-qovery cb141ee
Merge pull request #532 from Qovery/context_file_chmod_change
kpochat-qovery e0d4736
fix: fix demo up command with right k3s image version
fabienfleureau dca0522
Merge pull request #534 from Qovery/fix/fix_demo_up
fabienfleureau 779e133
feat(terraform): Add command to setup backend from client cluster (#539)
erebe fbc9cc0
fix: set git Provider field when doing update (#542)
erebe 70df36d
Add tag pattern for release workflow (#544)
erebe 2da36ea
Chore: update dependencies (#541)
kpochat-qovery ba8c389
fix: fix demo up command with right k3s image version
fabienfleureau 52c5a35
Merge pull request #545 from Qovery/feat/handle_tf_service_in_context
fabienfleureau cc8533f
chore: use qovery client SDK for cluster upgrade (#546)
benjaminch b5590e9
feat: Support enterprise connection feature (#549)
mzottola 5717802
feat(qov-1143) Allow users to download audit logs (#550)
mzottola 6f74f97
fix(qov-1143) Change audit log command to export (#551)
mzottola 35c3b2d
feat(admin): add command to transfer organization ownership
Guimove f9a7ce2
fix: Remove org name required for enterprise connection cmds (#553)
mzottola 7e49424
Update cmd/admin_organization_transfer_ownership.go
Guimove 6f87f10
Merge pull request #552 from Qovery/feat/admin-transfer-organization-…
Guimove 6b5af87
fix(ci): apply quick CI/CD improvements
Guimove fcda3d1
fix(lint): update golangci-lint to latest version
Guimove abc97e8
fix(ci): update all GitHub Actions to latest versions
Guimove 47c609e
fix(lint): add version field to golangci-lint config
Guimove 28828df
fix(lint): remove gofmt from linters list
Guimove 128ce83
fix(lint): restore minimal golangci-lint config
Guimove 8d69652
fix(ci): reorder checkout before setup-go
Guimove 72c4955
feat(tooling): adopt mise for tool version management, upgrade to Go …
Guimove c3f99be
Merge pull request #555 from Qovery/fix/ci-cd-quick-improvements
Guimove 861c428
feat(tooling): adopt mise for tool version management, upgrade to Go …
Guimove 3d6d979
Merge pull request #556 from Qovery/fix/ci-cd-quick-improvements
Guimove 119c515
feat: add --sort flag to environment variable commands
Guimove fec7b4c
feat: add container support for env import command
Guimove 994281b
Bump Qovery lib (#561)
erebe 396896a
Merge pull request #560 from Qovery/feat/env-import-container-support
Guimove 478ad1f
Merge pull request #559 from Qovery/feat/env-var-sort-flag
Guimove f9c0a33
fix: update Dockerfile to use Go 1.25.1
Guimove d0e992e
Merge pull request #562 from Qovery/fix/dockerfile-go-1.25
Guimove ec9e068
feat: Make enterprise connection name optional for get (#557)
mzottola fcbd105
feat: add admin command to update cluster domain (#564)
erebe f029e69
chore: add admin command to encrypt a secret given an organization id…
erebe 9a77104
feat: add unified 'qovery service deploy' command
acarranoqovery f6da716
refactor: simplify service deploy parameters with unified --version flag
acarranoqovery c1327b7
refactor: unify all version parameters into single --version flag
acarranoqovery b0f104e
refactor: rename --values-override-commit-id to --values-override-ver…
acarranoqovery be39a2c
Merge pull request #572 from Qovery/feat_service_deploy
acarranoqovery 1174d09
Upgrade k3s to 1.33.x (#573)
Astach f82ec3a
fix(terraform): update qovery sdk to correctly parse response (#575)
erebe b1f6937
fix: handle bracketed paste sequence fragmentation in Terminal.app
Guimove 58d2877
fix: lint errors
Guimove 0976584
Merge pull request #580 from Qovery/fix/terminal-bracketed-paste-frag…
Guimove 7284c0d
feat: add organization ID support to admin delete command (#581)
Guimove 30ab23d
feat: add terraform command foundation (Phase 1)
fabienfleureau a124174
feat: add terraform plan and plan-and-apply commands (Phase 2)
fabienfleureau 1abf5f1
refactor: optimize DeployTerraforms to use single API call
fabienfleureau b132338
fix: include Terraform statuses in WatchEnvironmentWithOptions
fabienfleureau 0ce5400
refactor: use utils.CheckError directly for consistency
fabienfleureau fdcd005
chore: update qovery-client-go dependency
fabienfleureau 3269456
Merge pull request #582 from Qovery/feat/QOV-1353/terraform_cmds
fabienfleureau 609168d
feat: add terraform state management and destroy commands (Phases 3-4)
fabienfleureau bf20157
Merge pull request #583 from Qovery/feat/QOV-1353/terraform_cmds2
fabienfleureau 09497b6
feat: rename destroy command to delete
fabienfleureau 3397413
feat(QOV-1353): use TerraformMainCallsAPI.DeleteTerraform and add res…
fabienfleureau 0911257
Merge pull request #585 from Qovery/feat/QOV-1353/destroy_delete_tf
fabienfleureau 8412ab4
feat: add admin cluster update-dns-provider command (#586)
Guimove 9d9762d
fix: use snake_case for DNS provider JSON fields (#589)
Guimove f5aba64
feat: Add command to list webhook events (#593)
erebe 778fe80
chore(deps): bump github.com/nwaples/rardecode/v2 from 2.1.1 to 2.2.0
dependabot[bot] 8300e20
Full lib update for consistency
kpochat-qovery f2895e7
Migrate from deprecated x/net/context to std context
kpochat-qovery 9ba49b6
Merge pull request #567 from Qovery/dependabot/go_modules/github.com/…
kpochat-qovery 6f556b3
fix: Inject version into binary during AUR build (#602)
Guimove abd75aa
fix: Update qovery-client-go to support USER_2025 plan (#608)
Guimove dd39e8a
chore(client): Update go client
Astach d854a16
Merge pull request #609 from Qovery/chore/update_go_client
Astach c00c2dd
feat(stage): add skip/unskip commands and show skipped section in list
fabienfleureau f5f903f
refactor(stage): replace CheckErr with existing CheckError, fix skipp…
fabienfleureau a394b24
Merge pull request #610 from Qovery/vk/da00-handle-skipped-s
fabienfleureau aa0d512
feat(container): add registry list command and public link on contain…
fabienfleureau 1567e20
fix(container): add nil guard for registry.Name and check marshal error
fabienfleureau 4d6a2c3
Merge pull request #614 from Qovery/qovery-dev-skill
fabienfleureau 1d420d2
feat(api): add qovery api command for authenticated HTTP requests
fabienfleureau f22e703
fix(api): resolve golangci-lint errcheck and staticcheck findings
fabienfleureau ffcb0f9
fix(api): address Copilot PR review comments
fabienfleureau abc7862
Merge pull request #617 from Qovery/qovery-api
fabienfleureau fc89fdc
fix(admin): validate execution id UUID format before making S3 reques…
Guimove f820493
fix(cli): preserve KEDA autoscaling config on container/application u…
fabienfleureau dc07506
Update utils/autoscaling.go
fabienfleureau e973ca6
Merge pull request #624 from Qovery/QOV-1776
fabienfleureau 685ae26
Add missing flags
Astach cc5bfa9
Update readme
Astach 3c04bbf
Fix copy paste with non breaking space
Astach 29ff72c
Update tests after update of go clients
Astach 63411d7
Merge pull request #628 from Qovery/fix/log/add_missing_flag
Astach db8210b
Update aur package action
Astach 8179e64
Merge pull request #630 from Qovery/fix/aur_package_build
Astach 15439bf
Add service flag
Astach 72d98c6
Merge pull request #631 from Qovery/qov1865
Astach 8fcbd20
fix(shell): improve reliability — keepalive, error classification, ag…
Guimove 00088cc
feat(auth): add 'auth token' command to securely output access token …
evoxmusic 58a7851
fix(shell): support non-TTY stdin for qovery shell --command (#636)
Guimove 0453782
feat(rde): add Remote Development Environment management commands (#637)
evoxmusic f23a824
fix(rde): fix upgrade reclone 404 + implement image strategy with blu…
evoxmusic 917dde8
chore(url): Update url
Astach 364bdeb
Merge pull request #639 from Qovery/chore/update_url
Astach faea62e
feat: add --service-id flag to qovery log command (#640)
Guimove f579a9e
chore(deps): Update
Astach 68397f8
Merge pull request #641 from Qovery/chore/Update
Astach 79a1550
fix(rde): add missing PREVIEW environment type to RBAC role permissio…
evoxmusic 086e02f
fix(helm): replace deprecated --atomic with --rollback-on-failure (#647)
Guimove 1f91362
feat(admin): add command to update organization billing external ID
acarranoqovery 5b658c2
docs(admin): clarify billing-external-id is the Chargebee subscriptio…
acarranoqovery 1ee1b38
fix(lint): use deferred func to discard Body.Close error (errcheck)
acarranoqovery 181eaf6
Potential fix for pull request finding
acarranoqovery 4b5e81c
Merge pull request #649 from Qovery/feat/admin-update-billing-externa…
acarranoqovery 2bc41a4
chore(shell): Add requestId in log to troubleshoot (#651)
erebe 38df5a8
Update GITHUB_TOKEN secret in release workflow
erebe 50797a8
Change GITHUB_TOKEN to GORELEASER_GITHUB_TOKEN
erebe 234f395
feat(QOV-1954): add --ephemeral flag with clone/debug modes to qovery…
Guimove c2aef15
feat(gcp): support workload identity federation credentials (#658)
pggb25 e52e002
feat(QOV-1953): add --read-only flag to cluster kubeconfig and get-to…
Guimove 5b5de95
feat(qov-1986) Handle external secrets (#660)
mzottola 66fa74e
feat(qov-1986) Set secret manager access name instead of id (#663)
mzottola 085e5a1
feat(cluster): add cluster analysis commands (#666)
pggb25 f79cf29
docs: add KRR analysis example to CLI help (#669)
pggb25 228b072
Disable operator during demo chart install (#671)
pggb25 0dd40fc
chore: update PostHog endpoint to e.qovery.com (#677)
jul-dan 044c55f
fix: sort projects, environments, and services alphabetically in cont…
acarranoqovery 0902d3d
fix: sort context set lists case-insensitively
acarranoqovery 210d6c6
Merge pull request #681 from Qovery/claude/qovery-context-set-sorting…
acarranoqovery 5f37ae9
feat: add organization list command
acarranoqovery 96eadd7
Merge pull request #689 from Qovery/feat/organization-list-command
acarranoqovery 836f14b
feat: add qovery auth status command with live token validation
acarranoqovery 209a007
Merge pull request #690 from Qovery/feat/auth-status-command
acarranoqovery 4df3f9f
feat: add qovery api spec command
acarranoqovery aa14f82
fix: keep stdout clean in -o mode, check the write error on the stdou…
acarranoqovery d12c841
chore(QOV-2104): qovery demo to use envoy (#686)
benjaminch 9e68722
chore(demo): fix install gateway-api (#693)
benjaminch d4c727c
fix: remove unnecessary panic("unreachable") after os.Exit(1) in api_…
acarranoqovery 2017240
fix: remove unnecessary panic("unreachable") after os.Exit(1) in auth…
acarranoqovery 442612b
Merge pull request #691 from Qovery/feat/api-spec-command
acarranoqovery 34d5c8e
docs: update README with installation instructions (#694)
benjaminch 96aff36
fix(byok): use packaged Envoy Gateway CRD chart path (#699)
benjaminch dfc9fb6
fix(demo): support empty engine image overrides on macOS Bash (#700)
benjaminch a538c9d
fix: Bump qovery client to fix Ongoing service status issue (#701)
mzottola 7d4edde
Merge pull request #695 from Qovery/fix/auth-status-unreachable-panics
acarranoqovery 10ea179
Allow creating the first organization via `qovery api organization`
jul-dan ff00efe
Update cmd/api.go
jul-dan 34557ab
Address review: export getAccessToken, add tests
jul-dan 64753e3
Update cmd/auth_status.go
jul-dan 9a29ea0
Merge pull request #702 from Qovery/fix/allow-org-creation-with-zero-…
jul-dan 32e8b6b
fix(docker): retry go mod download and cache Go modules
Astach 2dcc4f6
fix(docker): fail fast on non-transient go mod download errors
Astach f322bd4
fix(docker): widen non-transient go mod download discriminant
Astach 75bca3d
Merge pull request #703 from Qovery/ao/qovery-cli-1/docker-mod-downlo…
Astach a5882e6
chore(QOV-2223): demo bump k3s to 1.36.4 (#704)
benjaminch b7ec5e1
QOV-2260 - Synacktiv 2026 V-04 Secret used in the command line
erebe 290cb21
fix: address demo token cleanup review findings
erebe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: 'gomod' | ||
| directory: '/' | ||
| schedule: | ||
| interval: 'daily' | ||
| open-pull-requests-limit: 20 | ||
| rebase-strategy: auto | ||
| groups: | ||
| all: | ||
| name: 'All dependencies' | ||
| update_types: [all] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # For most projects, this workflow file will not need changing; you simply need | ||
| # to commit it to your repository. | ||
| # | ||
| # You may wish to alter this file to override the set of languages analyzed, | ||
| # or to provide custom queries or build logic. | ||
| # | ||
| # ******** NOTE ******** | ||
| # We have attempted to detect the languages in your repository. Please check | ||
| # the `language` matrix defined below to confirm you have the correct set of | ||
| # supported CodeQL languages. | ||
| # | ||
| name: "Build" | ||
|
|
||
| on: [push] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Check out source code | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@v6 | ||
| with: | ||
| go-version: '1.25' | ||
| cache: true | ||
|
|
||
| - name: Fetch tags | ||
| run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
|
|
||
| - name: Set tag | ||
| id: vars | ||
| run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Build | ||
| run: CGO_ENABLED=0 go build -ldflags "-X github.com/qovery/qovery-cli/utils.Version=${{ steps.vars.outputs.tag }}" . | ||
|
|
||
| test: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Check out source code | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@v6 | ||
| with: | ||
| go-version: '1.25' | ||
| cache: true | ||
|
|
||
| - name: Test | ||
| run: go test -tags testing ./... | ||
|
|
||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out source code | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@v6 | ||
| with: | ||
| go-version: '1.25' | ||
| cache: true | ||
|
|
||
| - name: golangci-lint | ||
| uses: golangci/golangci-lint-action@v8.0.0 | ||
| with: | ||
| version: latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| # For most projects, this workflow file will not need changing; you simply need | ||
| # to commit it to your repository. | ||
| # | ||
| # You may wish to alter this file to override the set of languages analyzed, | ||
| # or to provide custom queries or build logic. | ||
| # | ||
| # ******** NOTE ******** | ||
| # We have attempted to detect the languages in your repository. Please check | ||
| # the `language` matrix defined below to confirm you have the correct set of | ||
| # supported CodeQL languages. | ||
| # | ||
| name: "CodeQL" | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| pull_request: | ||
| # The branches below must be a subset of the branches above | ||
| branches: [ main ] | ||
| schedule: | ||
| - cron: '42 10 * * 5' | ||
|
|
||
| jobs: | ||
| analyze: | ||
| name: Analyze | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| security-events: write | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| language: [ 'go' ] | ||
| # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
| # Learn more about CodeQL language support at https://git.io/codeql-language-support | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v5 | ||
|
|
||
| # Initializes the CodeQL tools for scanning. | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v3 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| # If you wish to specify custom queries, you can do so here or in a config file. | ||
| # By default, queries listed here will override any specified in a config file. | ||
| # Prefix the list here with "+" to use these queries and those in the config file. | ||
| # queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
|
|
||
| # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
| # If this step fails, then you should remove it and run the build manually (see below) | ||
| - name: Autobuild | ||
| uses: github/codeql-action/autobuild@v3 | ||
|
|
||
| # ℹ️ Command-line programs to run using the OS shell. | ||
| # 📚 https://git.io/JvXDl | ||
|
|
||
| # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
| # and modify them (or add more) to build your code if your project | ||
| # uses a compiled language | ||
|
|
||
| #- run: | | ||
| # make bootstrap | ||
| # make release | ||
|
|
||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v3 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,62 +1,123 @@ | ||
| name: goreleaser | ||
| name: Release | ||
|
|
||
| on: | ||
| create: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| jobs: | ||
| qovery: | ||
| runs-on: ubuntu-latest | ||
| release-and-packages: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - | ||
| name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Checkout | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| fetch-depth: 0 | ||
| - | ||
| name: Fetch tags | ||
|
|
||
| # tag/version check | ||
| - name: Fetch tags | ||
| run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
| - name: Ensure tag match the current version | ||
| run: | | ||
| if [ "v$(grep '// ci-version-check' pkg/version.go | sed -r 's/.+return\s"(.+)".+/\1/')" != "$(git tag | sort --version-sort | tail -1)" ] ; then | ||
| echo "Tag version do not match application version" | ||
| exit 1 | ||
| fi | ||
| - | ||
| name: Set up Go | ||
| uses: actions/setup-go@master | ||
| with: | ||
| go-version: 1.17.x | ||
| - | ||
| name: golangci-lint | ||
| uses: golangci/golangci-lint-action@v2 | ||
| - name: Set tag | ||
| id: vars | ||
| run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | ||
|
|
||
| # build + lint | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v6 | ||
| with: | ||
| version: latest | ||
| args: --timeout 5m | ||
| - | ||
| name: Run GoReleaser | ||
| uses: goreleaser/goreleaser-action@v1 | ||
| go-version: '1.25' | ||
| cache: true | ||
| # release new version on GitHub + Mac | ||
| - name: Run GoReleaser | ||
| uses: goreleaser/goreleaser-action@v6 | ||
| with: | ||
| version: latest | ||
| args: release --rm-dist | ||
| args: release --clean | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} | ||
| - | ||
| name: Prepare AUR package | ||
| # upload release artifacts to Cloudflare R2 (S3 compatible) | ||
| - name: Upload release artifacts to Cloudflare R2 | ||
| if: github.ref_type == 'tag' | ||
| env: | ||
| AWS_ACCESS_KEY_ID: ${{ secrets.CLOUDFLARE_R2_ACCESS_KEY_ID }} | ||
| AWS_SECRET_ACCESS_KEY: ${{ secrets.CLOUDFLARE_R2_SECRET_ACCESS_KEY }} | ||
| AWS_REGION: auto | ||
| run: | | ||
| version=$(awk -F'"' '/ci-version-check/{print $2}' pkg/version.go) | ||
| # List all files in dist directory | ||
| echo "Uploading release artifacts to Cloudflare R2... (S3 compatible)" | ||
| ls -la dist/ | ||
|
|
||
| # Upload all artifacts to Cloudflare R2 | ||
| aws s3 cp dist/ s3://${{ secrets.CLOUDFLARE_R2_BUCKET }}/releases/latest/ --recursive --endpoint-url ${{ secrets.CLOUDFLARE_R2_ENDPOINT_URL }} | ||
| # archlinux | ||
| - name: Prepare AUR package | ||
| run: | | ||
| version="${GITHUB_REF_NAME:-}" | ||
| version="${version#v}" | ||
| md5version=$(curl -sL https://github.com/Qovery/qovery-cli/archive/v${version}.tar.gz --output - | md5sum | awk '{ print $1 }') | ||
| sed -i "s/pkgver=tbd/pkgver=$version/" PKGBUILD | ||
| echo "md5sums=('${md5version}')" >> PKGBUILD | ||
| - | ||
| name: Publish AUR package | ||
| uses: KSXGitHub/github-actions-deploy-aur@v2.2.4 | ||
| - name: Publish AUR package | ||
| uses: KSXGitHub/github-actions-deploy-aur@v4.1.2 | ||
| with: | ||
| pkgname: qovery-cli | ||
| pkgbuild: ./PKGBUILD | ||
| commit_username: ${{ secrets.AUR_USERNAME }} | ||
| commit_email: ${{ secrets.AUR_EMAIL }} | ||
| ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} | ||
| commit_message: Update AUR package | ||
| ssh_keyscan_types: rsa,dsa,ecdsa,ed25519 | ||
| force_push: 'true' | ||
| ssh_keyscan_types: rsa,ecdsa,ed25519 | ||
| force_push: "true" | ||
| # GitHub action usage | ||
| container: | ||
| runs-on: ubuntu-24.04 | ||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| # tag/version check | ||
| - name: Fetch tags | ||
| run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
| - name: Set tag | ||
| id: vars | ||
| run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | ||
|
|
||
| # docker | ||
| - name: Configure AWS credentials | ||
| uses: aws-actions/configure-aws-credentials@v4 | ||
| with: | ||
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
| aws-region: us-east-1 | ||
| - name: Login to Amazon ECR | ||
| id: login-ecr | ||
| uses: aws-actions/amazon-ecr-login@v2 | ||
| with: | ||
| registry-type: public | ||
| - name: Login to GitHub Container Registry | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Build, tag, and push images | ||
| env: | ||
| ECR_REGISTRY: public.ecr.aws/r3m4q3r9 | ||
| ECR_REPOSITORY: qovery-cli | ||
| GHCR_REGISTRY: ghcr.io | ||
| GHCR_REPOSITORY: qovery/qovery-cli | ||
| IMAGE_TAG: ${{ steps.vars.outputs.tag }} | ||
| run: | | ||
| docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . --build-arg APP_VERSION=$IMAGE_TAG --label org.opencontainers.image.source=https://github.com/Qovery/qovery-cli | ||
| docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:latest | ||
| docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $GHCR_REGISTRY/$GHCR_REPOSITORY:$IMAGE_TAG | ||
| docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $GHCR_REGISTRY/$GHCR_REPOSITORY:latest | ||
| docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG | ||
| docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest | ||
| docker push $GHCR_REGISTRY/$GHCR_REPOSITORY:$IMAGE_TAG | ||
| docker push $GHCR_REGISTRY/$GHCR_REPOSITORY:latest |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: Dependabot does not recognize
update_typesas a group option, so this configuration can fail validation and prevent dependency update automation. Rename the key toupdate-typesand specify the supported update types, or omit it to include all update types.Prompt for AI agents