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

chore(release): publish v0.2.0 #90

Merged
merged 35 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d57d3a1
feat: upgrade to using clarinet crate to parse config (#46)
MicaiahReid Aug 31, 2023
6dcb36d
feat: check auth header before allowing access (#47)
MicaiahReid Aug 31, 2023
ba6ce13
Devops-1286 - CI workflow (#49)
deantchi Aug 31, 2023
8aac51e
ci: build for multiple platforms (#50)
MicaiahReid Sep 1, 2023
9fe7972
fix: don't require auth on OPTIONS requests; configure user-id prefix…
MicaiahReid Sep 1, 2023
225d2c9
fix: add ACCESS_CONTROL_ALLOW_HEADERS to response header (#52)
MicaiahReid Sep 12, 2023
3795298
chore: update clarinet dependency (#53)
MicaiahReid Sep 13, 2023
ef1ebde
chore: remove image pull secret for public registry (#57)
MicaiahReid Sep 21, 2023
2ea50ea
fix: reduce permissions for cluster role (#54)
MicaiahReid Sep 21, 2023
215c705
chore: change some `warn` logging to `info` (#60)
MicaiahReid Sep 22, 2023
23e4487
chore: rename storage class name to match infra (#61)
MicaiahReid Sep 22, 2023
ddb9ca2
ci: add cd and performance improvements (#64)
CharlieC3 Sep 22, 2023
483fb8b
feat: allow config path to be configured via env var (#67)
MicaiahReid Sep 22, 2023
d4c2290
feat: status page at `GET /` and `GET /api/v1/status` routes (#68)
MicaiahReid Sep 25, 2023
cb57c32
breaking: rename assets (#69)
MicaiahReid Sep 25, 2023
f7e6bc3
feat: allow configuring k8s context with env var (#71)
MicaiahReid Sep 25, 2023
0b959c2
fix: set img pull policy for stacks blockchain api
MicaiahReid Sep 25, 2023
84a9494
chore: set `IfNotPresent` img pull policy (#72)
MicaiahReid Sep 26, 2023
7812741
fix: add subPath for postgres volume mount (#73)
MicaiahReid Sep 26, 2023
7b52f93
fix: api container spelling fix
MicaiahReid Sep 26, 2023
aeb19ef
chore: specify hash for stacks-network-orchestrator
MicaiahReid Sep 26, 2023
638ba38
chore: use stacks-network-orchestrator img with logging
MicaiahReid Sep 27, 2023
82df960
chore: use debug img
MicaiahReid Sep 27, 2023
64c6b68
chore(debug): set Always img pull policy
MicaiahReid Sep 27, 2023
5d8c5b1
docs: update readme (#74)
MicaiahReid Sep 29, 2023
6399c19
feat: remove pods; implement deployments/stateful sets (#75)
MicaiahReid Oct 9, 2023
0217bfd
chore: add label to all configmaps (#80)
deantchi Nov 1, 2023
e92dcb5
fix: removing untemplated labels (#82)
deantchi Nov 3, 2023
dbae954
chore: update argocd labels
CharlieC3 Nov 6, 2023
4399177
fix: template (#85)
lgalabru Nov 16, 2023
dff5598
ci: update auto-approve and fix releasing to a protected branch
CharlieC3 Nov 16, 2023
47417d5
ci: update continuous deployment jobs
CharlieC3 Jan 2, 2024
521acd1
feat: upgrade clarinet to v2.4.0; enable `use_nakamoto` field to conf…
MicaiahReid Mar 25, 2024
36eb754
chore: bump version
MicaiahReid Mar 25, 2024
df1714b
Merge branch 'main' into develop
MicaiahReid Mar 25, 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
17 changes: 9 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,15 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
id: semantic
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
SEMANTIC_RELEASE_PACKAGE: ${{ github.event.repository.name }}
with:
semantic_version: 19
Expand Down Expand Up @@ -219,7 +220,7 @@ jobs:
- name: Deploy Stacks Devnet API
uses: ./actions/deploy
with:
docker_tag: ${{ needs.build-publish-release.outputs.docker_image_digest }}
docker_image_tag_or_digest: ${{ needs.build-publish-release.outputs.docker_image_digest }}
k8s_repo: k8s-platform
k8s_branch: main
file_pattern: manifests/api/stacks-devnet-api/${{ env.DEPLOY_ENV }}/base/kustomization.yaml
Expand All @@ -234,9 +235,9 @@ jobs:
- name: Approve pending deployment
run: |
sleep 5
ENV_ID=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" | jq -r '.[0].environment.id // empty')
ENV_ID=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" | jq -r '.[0].environment.id // empty')
if [[ -n "${ENV_ID}" ]]; then
curl -s -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" -d "{\"environment_ids\":[${ENV_ID}],\"state\":\"approved\",\"comment\":\"auto approve\"}"
curl -s -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" -d "{\"environment_ids\":[${ENV_ID}],\"state\":\"approved\",\"comment\":\"auto approve\"}"
fi

deploy-staging:
Expand All @@ -261,7 +262,7 @@ jobs:
- name: Deploy Stacks Devnet API
uses: ./actions/deploy
with:
docker_tag: ${{ needs.build-publish-release.outputs.docker_image_digest }}
docker_image_tag_or_digest: ${{ needs.build-publish-release.outputs.docker_image_digest }}
k8s_repo: k8s-platform
k8s_branch: main
file_pattern: manifests/api/stacks-devnet-api/${{ env.DEPLOY_ENV }}/base/kustomization.yaml
Expand All @@ -277,9 +278,9 @@ jobs:
- name: Approve pending deployment
run: |
sleep 5
ENV_ID=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" | jq -r '.[0].environment.id // empty')
ENV_ID=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" | jq -r '.[0].environment.id // empty')
if [[ -n "${ENV_ID}" ]]; then
curl -s -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" -d "{\"environment_ids\":[${ENV_ID}],\"state\":\"approved\",\"comment\":\"auto approve\"}"
curl -s -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/hirosystems/stacks-devnet-api/actions/runs/${{ github.run_id }}/pending_deployments" -d "{\"environment_ids\":[${ENV_ID}],\"state\":\"approved\",\"comment\":\"auto approve\"}"
fi

deploy-prod:
Expand All @@ -304,7 +305,7 @@ jobs:
- name: Deploy Stacks Devnet API
uses: ./actions/deploy
with:
docker_tag: ${{ needs.build-publish-release.outputs.docker_image_digest }}
docker_image_tag_or_digest: ${{ needs.build-publish-release.outputs.docker_image_digest }}
k8s_repo: k8s-platform
k8s_branch: main
file_pattern: manifests/api/stacks-devnet-api/${{ env.DEPLOY_ENV }}/base/kustomization.yaml
Expand Down
Loading
Loading