-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): Update some templates related to runtime configuration (#…
…53) * fix(deps): Update some templates * fix(settings): Udate Agent for config and secrets adapter * fix(deps): Update some templates * fix(deps): update deps and downgrade elixir because rabbit compatibility * fix(acceptance): update test script * docs: update docs and dependencies
- Loading branch information
1 parent
1d0098d
commit 3bc0772
Showing
42 changed files
with
2,163 additions
and
3,231 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -17,25 +17,30 @@ jobs: | |
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate a token | ||
- name: Generate a token of Github APP | ||
id: generate_token | ||
uses: tibdex/github-app-token@v2 | ||
if: github.ref == 'refs/heads/main' | ||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 | ||
with: | ||
app_id: ${{ secrets.APP_ID_ADMIN_GITHUB }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY_ADMIN_GITHUB }} | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
token: ${{ steps.generate_token.outputs.token }} | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
if: github.ref != 'refs/heads/main' | ||
|
||
- name: Verify Conventional Commits | ||
uses: amannn/action-semantic-pull-request@v5 | ||
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 | ||
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Set up NodeJS | ||
if: github.ref == 'refs/heads/main' | ||
uses: actions/setup-node@v4 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
node-version-file: '.nvmrc' | ||
- name: Set up Semantic Release | ||
if: github.ref == 'refs/heads/main' | ||
run: npm -g install @semantic-release/git [email protected] | ||
|
@@ -44,6 +49,8 @@ jobs: | |
run: npx [email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} | ||
|
||
|
||
- name: Set up Elixir | ||
uses: erlef/[email protected] | ||
with: | ||
|
@@ -63,8 +70,8 @@ jobs: | |
run: mix format --check-formatted | ||
- name: Code analysis | ||
run: mix credo --strict && mix dialyzer | ||
- name: Install as archive | ||
run: mix do archive.build, archive.install --force | ||
- name: Test generated code | ||
run: ./sh_acceptance.sh | ||
- name: Tests & Coverage (main) | ||
if: github.ref == 'refs/heads/main' | ||
run: mix coveralls.github | ||
|
This file contains 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,2 +1,2 @@ | ||
erlang 27.0 | ||
elixir 1.17.1-otp-27 | ||
erlang 26.2.5 | ||
elixir 1.16.2-otp-26 |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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,13 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Updating project | ||
|
||
There is a task with capability for update project, this taks currently supports upgrade dependencies only | ||
|
||
```bash | ||
mix ca.update | ||
``` | ||
|
||
If your dependencies have some incompatibility issues you should downgrade the non compliant dependency to a previos version until it works as spected. |
2 changes: 1 addition & 1 deletion
2
docs/docs/getting-started/6-contributions.md → .../docs/getting-started/99-contributions.md
This file contains 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,5 +1,5 @@ | ||
--- | ||
sidebar_position: 6 | ||
sidebar_position: 99 | ||
--- | ||
|
||
# Do you need a new capability? | ||
|
This file contains 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
Oops, something went wrong.