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

feat: Create justfile for workflow automation #184

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ resp.json
out
_releasenotes
templates/cluster-templates/cluster-template*
bin

# Helm
.helm
Expand All @@ -74,3 +75,6 @@ __pycache__/
*$py.class
/_output
tmp_*

# just environment
just.env
35 changes: 35 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,41 @@
scs_compliance:
enabled: true

## Cluster Stack Asset and Chore Jobs.
## TODO: Adjust parent to a job that sets up credentials for registry and GH token, i.e. playbook definiton
# - job:
# name: publish-cluster-stack-assets
# parent: base
# description: |
# Creates Cluster Stack Assets and uploads them to the configured OCI Registry.
# If used in a PR, Assets with a hashed version will be used. Otherwise, a
# new release is build.
# timeout: 900 # 15m
# pre-run: playbooks/dependencies.yaml
# run: playbooks/upload_assets.yaml

# - job:
# name: publish-cluster-stack-release-assets
# parent: publish-cluster-stack-assets
# description: |
# Creates Cluster Stack Assets and uploads them to the configured OCI Registry.
# If used in a PR, Assets with a hashed version will be used. Otherwise, a
# new release is build.
# timeout: 900 # 15m
# pre-run: playbooks/dependencies.yaml
# run: playbooks/upload_assets.yaml
# vars:
# is_pr: False

# - job:
# name: cluster-stacks-chore
# parent: base
# description: |
# Creates Cluster Stack manifests with updated versions and opens chore branches
# and PRs against the correspondend release branches.
# timeout: 900 # 15m
# pre-run: playbooks/dependencies.yaml
# run: playbooks/create_chore_branches.yaml

- project:
name: SovereignCloudStack/cluster-stacks
Expand Down
7 changes: 7 additions & 0 deletions just.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
OCI_REGISTRY=registry.scs.community
OCI_REPOSITORY=registry.scs.community/cluster-stacks/scs
OCI_USERNAME=
OCI_PASSWORD=
# or
OCI_ACCESS_TOKEN=
GH_TOKEN= # Accesstoken for GitHub Account for authentication for git and PR management
Loading