Skip to content

feat: Release/v2.1.16 #934

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

Merged
merged 105 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from 100 commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
e8ba815
Update Chart.yaml files
Jun 11, 2024
6873dba
Update Chart.yaml files
Jun 11, 2024
a75ed58
Update Chart.yaml file
vsukhin Jun 11, 2024
59ff128
Update Chart.yaml file
exu Jun 11, 2024
9e394e6
Update Chart.yaml files
Jun 11, 2024
2692fef
Update Chart.yaml file
exu Jun 11, 2024
9c47705
Update Chart.yaml files
Jun 11, 2024
81b4fa8
Update Chart.yaml files
Jun 12, 2024
f3bbaa7
Update Chart.yaml file
WitoDelnat Jun 17, 2024
10f483d
Merge pull request #885 from kubeshop/workflows-launch
WitoDelnat Jun 17, 2024
637291a
Update Chart.yaml file
tkonieczny Jun 17, 2024
23fe0b0
Update Chart.yaml file
povilasv Jun 20, 2024
8663b2b
Update Chart.yaml files
Jun 20, 2024
e0c0d96
feat: disabled trigger flag
vsukhin Jun 24, 2024
9ba0c52
feat: on state change
Jun 25, 2024
ca5871d
Update Chart.yaml files
Jun 26, 2024
888baea
Testkube workflow templates - beta disabled in wizard with testkube.i…
tkonieczny Jun 17, 2024
dc328c0
feat: added embedded nats configuration options (#882)
exu Jun 11, 2024
f5e61e6
fix: nats embedded env not existing when nats disabled (#884)
exu Jun 11, 2024
dc3e48e
Update Chart.yaml files
Jun 26, 2024
f6493c9
Update Chart.yaml files
Jun 26, 2024
957d624
Update Chart.yaml file
vsukhin Jun 26, 2024
b1511f9
Update Chart.yaml files
Jun 27, 2024
5b62637
testkube: add support for whitelisting container log scraping
dejanzele Jun 27, 2024
731d135
Update Chart.yaml files
Jun 28, 2024
c7eeafa
Merge pull request #896 from kubeshop/feat/whitelist-container-logs
dejanzele Jul 3, 2024
86e8a0d
feat: add resource limits and requests for containers (#898)
ypoplavs Jul 3, 2024
5186947
fix data type (#899)
ypoplavs Jul 3, 2024
7ad2b6f
Update Chart.yaml file
ypoplavs Jul 3, 2024
eaac5a5
Update Chart.yaml files
Jul 3, 2024
4cf81cb
Update CODEOWNERS
ed382 Jul 4, 2024
4033a62
Update Chart.yaml files
Jul 5, 2024
95af951
Update Chart.yaml files
Jul 8, 2024
3acf63a
Update Chart.yaml files
Jul 9, 2024
9f00e9a
fix: disable dispatch workflow
ed382 Jul 9, 2024
642306d
testkube: add support for global mounting of volumes and referencing …
dejanzele Jul 9, 2024
280841c
Merge pull request #903 from kubeshop/feat/global-ca
dejanzele Jul 10, 2024
0cc402b
Update Chart.yaml file
ed382 Jul 10, 2024
4b1d134
feat: add ability to specify custom ca path (#902) (#904)
ed382 Jul 10, 2024
2618877
feat: use github app token (#905)
ypoplavs Jul 10, 2024
773397d
Update Chart.yaml files
Jul 10, 2024
3541785
Update Chart.yaml files
Jul 11, 2024
cefa9f5
testkube: add support for global skip certificate verification
dejanzele Jun 27, 2024
84e512b
Merge pull request #895 from kubeshop/feat/global-skip-verify
dejanzele Jul 12, 2024
2e8f35e
Update Chart.yaml files
Jul 12, 2024
b9d1080
Update Chart.yaml file
dejanzele Jul 12, 2024
2523f7c
Update Chart.yaml files
Jul 12, 2024
958463c
Update Chart.yaml file
ed382 Jul 12, 2024
bb5aace
feat: refactor webhook disabling (#907)
vsukhin Jul 16, 2024
a270d2e
update ci (#914)
ypoplavs Jul 19, 2024
6876643
testkube: add support for defining image credentials cache ttl
dejanzele Jul 12, 2024
67053a3
Merge pull request #908 from kubeshop/feat/image-secrets-cache
dejanzele Jul 19, 2024
8cabb03
add sandbox deletion (#915)
ypoplavs Jul 19, 2024
81648e8
fix: deprecate on state change (#913)
vsukhin Jul 19, 2024
89ee367
Merge branch 'main' into develop
vsukhin Jul 19, 2024
2726249
Update Chart.yaml files
Jul 23, 2024
26fd52c
Update Chart.yaml files
Jul 23, 2024
fcb6899
Update Chart.yaml file
vsukhin Jul 23, 2024
fdea53d
Update Chart.yaml files
Jul 24, 2024
02867a1
Update Chart.yaml files
Jul 24, 2024
3491c2c
Update Chart.yaml files
Jul 30, 2024
f54a9a8
Update Chart.yaml files
Jul 31, 2024
b75dc61
Update Chart.yaml files
Jul 31, 2024
e3115bc
Update Chart.yaml files
Jul 31, 2024
74f0df5
fix: purge executions options (#922)
vsukhin Aug 6, 2024
998e8c1
Update Chart.yaml files
Aug 6, 2024
cda765f
Update Chart.yaml files
Aug 6, 2024
9c574ef
Update Chart.yaml file
vsukhin Aug 6, 2024
a32a633
ci: add outputs to sandbox (#923)
ypoplavs Aug 6, 2024
e35681e
Update dispatch-sandbox-push.yaml
ypoplavs Aug 6, 2024
e4b4296
Update Chart.yaml files
Aug 7, 2024
ce659dd
Update Chart.yaml files
Aug 8, 2024
8dcc94d
feat: update CRD - add options to control Test Workflow orchestration…
rangoo94 Aug 8, 2024
ba17914
Fix in sandbox CI
ypoplavs Aug 9, 2024
f7f3598
fix operator cronjob (#927)
ypoplavs Aug 14, 2024
5223296
Update Chart.yaml file
rangoo94 Aug 14, 2024
d279fa5
Update Chart.yaml files
Aug 14, 2024
d436158
Update Chart.yaml files
Aug 14, 2024
0b41e04
Update Chart.yaml files
Aug 15, 2024
3ea4c23
feat: test workflow execution tags (#925)
vsukhin Aug 21, 2024
44cf29a
Update Chart.yaml file
ed382 Aug 26, 2024
6647901
fix: slack config (#930) (#931)
ed382 Aug 26, 2024
439dd18
Update Chart.yaml file
ed382 Aug 26, 2024
50716eb
Update Chart.yaml file
ed382 Aug 26, 2024
ae719f0
Update Chart.yaml files
Aug 26, 2024
dcc00e6
Update Chart.yaml files
Aug 29, 2024
2aca935
Update Chart.yaml files
Aug 30, 2024
337bac9
Update Chart.yaml file
exu Aug 30, 2024
5c9a696
Update Chart.yaml files
Aug 30, 2024
f13f0cf
Update Chart.yaml files
Aug 30, 2024
196026d
Update Chart.yaml files
Sep 3, 2024
42429e4
Update Chart.yaml files
Sep 4, 2024
bd71150
Update Chart.yaml files
Sep 4, 2024
d921daa
Update Chart.yaml files
Sep 5, 2024
b5fc68d
Update Chart.yaml files
Sep 5, 2024
f2c442b
Update Chart.yaml files
Sep 5, 2024
7ad130d
Update Chart.yaml files
Sep 6, 2024
5fa24a0
Update Chart.yaml files
Sep 6, 2024
fc4bb00
Update Chart.yaml files
Sep 6, 2024
ba24b44
Merge branch 'main' into develop
vsukhin Sep 9, 2024
f3702af
Update Chart.yaml file
vsukhin Sep 9, 2024
684ad1f
feat: added embedded nats configuration options (#882)
exu Jun 11, 2024
4e96c65
fix: nats embedded env not existing when nats disabled (#884)
exu Jun 11, 2024
d529262
fix: disable dispatch workflow
ed382 Jul 9, 2024
6203718
feat: use github app token (#905)
ypoplavs Jul 10, 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
9 changes: 9 additions & 0 deletions .github/sandbox-comment-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Sandbox environment for `{{ .branch_ref }}` has been created.

## URLs

- **Dashboard**: https://dashboard.{{ .branch_ref }}.testkube.dev
- **API**: https://api.{{ .branch_ref }}.testkube.dev
- **Agent**: https://agent.{{ .branch_ref }}.testkube.dev
- **Storage**: https://storage.{{ .branch_ref }}.testkube.dev
- **Websockets**: https://websockets.{{ .branch_ref }}.testkube.dev
65 changes: 65 additions & 0 deletions .github/workflows/dispatch-sandbox-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,86 @@ on:
push:
branches:
- sandbox/**
pull_request:
types:
- opened

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
if: startsWith(github.ref, 'refs/heads/sandbox/')
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Repository dispatch
if: startsWith(github.ref, 'refs/heads/sandbox/')
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ steps.app-token.outputs.token }}
repository: kubeshop/testkube-deployment
event-type: sandbox_agent_charts_update
client-payload: '{"ref": "${{ github.ref }}", "ref_name": "${{ github.ref_name }}", "agent_sha": "${{ github.sha }}", "repository": "${{ github.repository }}"}'

- name: Set version
if: startsWith(github.ref, 'refs/heads/sandbox/')
run: |
#get short commit sha that triggered the flow
echo git_hash="$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV

# Extract everything before the first slash
branch_identifier=$(echo "$GITHUB_REF_NAME" | cut -d'/' -f2-)

# Replace slashes with dashes using sed
echo branch_identifier=$(echo "$branch_identifier" | sed 's/\//-/g') >> $GITHUB_ENV

- name: Output summary
if: startsWith(github.ref, 'refs/heads/sandbox/')
run: |
echo -e "### Sandbox Environment" >> $GITHUB_STEP_SUMMARY
echo -e '```' >> $GITHUB_STEP_SUMMARY
echo -e "## URLs" >> $GITHUB_STEP_SUMMARY
echo "- Dashboard: https://dashboard.${{ env.branch_identifier }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- API: https://api.${{ env.branch_identifier }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- Agent: https://agent.${{ env.branch_identifier }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- Storage: https://storage.${{ env.branch_identifier }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- Websockets: https://websockets.${{ env.branch_identifier }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo -e '```' >> $GITHUB_STEP_SUMMARY

- name: Checkout
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
uses: actions/checkout@v4

- name: Get a branch name if PR is created
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
run: |
# get a branch name
branch_ref="${{ github.event.pull_request.head.ref }}"

#remove slash
branch_ref="${branch_ref#*/}"

#create env var
echo "branch_ref=$branch_ref" >> $GITHUB_ENV

- name: Render template
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
id: template
uses: chuhlomin/[email protected]
with:
template: .github/sandbox-comment-template.md
vars: |
branch_ref: ${{ env.branch_ref }}

- name: Create comment on a PR with the endpoints
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.CI_BOT_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.template.outputs.result }}

8 changes: 4 additions & 4 deletions charts/testkube-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ spec:
value: "{{ .Values.apiPort }}"
- name: APISERVER_TEMPLATE_CRONJOB
value: {{- if .Values.cronJobTemplate }}
"{{ toYaml .Values.cronJobTemplate | trimAll "|" | trim | indent 4 | b64enc }}"
{{- else }}
"{{ .Files.Get "cronjob-template.yml" | indent 4 | b64enc }}"
{{- end }}
"{{ .Values.cronJobTemplate | b64enc }}"
{{- else }}
"{{ .Files.Get "cronjob-template.yml" | b64enc }}"
{{- end }}
{{- if not .Values.webhook.enabled }}
- name: ENABLE_WEBHOOKS
value: "false"
Expand Down
Loading