Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ relates to #1234
- [ ] Changelogs
- [ ] Changelog in the root directory was adjusted (see [here](https://github.com/stackitcloud/stackit-sdk-go/blob/f1e375a38064f798821d22a951bc74ca8a9c8845/CHANGELOG.md))
- [ ] Changelog(s) of the service(s) were adjusted (see e.g. [here](https://github.com/stackitcloud/stackit-sdk-go/blob/f1e375a38064f798821d22a951bc74ca8a9c8845/services/dns/CHANGELOG.md))
- [ ] VERSION file(s) of the service(s) were adjusted
- [ ] Code format was applied: `make fmt`
- [ ] Examples were added / adjusted (see `examples/` directory)
- [ ] Unit tests got implemented or updated
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CD Workflow to update tags of services

on:
push:
branches:
- main

jobs:
check-version:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push tag for each updated package
env:
GH_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
run: |
git config --global user.name "SDK Releaser Bot"
git config --global user.email "[email protected]"

scripts/update-service-tags.sh
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,3 @@ jobs:
run: |
make lint
scripts/check-sync-tidy.sh
- name: Lint scripts
run: |
make lint-scripts
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ lint-golangci-lint: ## Lint Go code
@echo ">> Linting with golangci-lint"
@$(SCRIPTS_BASE)/lint-golangci-lint.sh "${skip-non-generated-files}" "${service}"

lint-scripts: ## Lint scripts
@echo ">> Linting scripts"
@cd ${ROOT_DIR}/scripts && golangci-lint run ${GOLANG_CI_ARGS}

sync-tidy: ## Sync and tidy dependencies
@echo ">> Syncing and tidying dependencies"
@$(SCRIPTS_BASE)/sync-tidy.sh
Expand Down
6 changes: 2 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ The SDK is split into all the different STACKIT [services](https://github.com/st

**Releasing a single service**

1. Check out latest main branch on your machine
2. Create git tag: `git tag services/<SERVICE-NAME>/vX.X.X`
- E.g. for the `sqlserverflex` service version `v1.0.1` the git tag would be named `services/sqlserverflex/v1.0.1`
3. Push the git tag: `git push origin --tags`
1. Update the VERSION file of the corresponding service
2. When the PR is merged to main the tag is created automatically

### Whole SDK

Expand Down
1 change: 0 additions & 1 deletion go.work
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ use (
./examples/ske
./examples/sqlserverflex
./examples/waiter
./scripts
./services/alb
./services/archiving
./services/authorization
Expand Down
326 changes: 0 additions & 326 deletions scripts/automatic_tag.go

This file was deleted.

Loading
Loading