Skip to content

Commit

Permalink
Merge pull request #1463 from camptocamp/interrupted-upgrade-prod-2-9…
Browse files Browse the repository at this point in the history
…-master

Upgrade failed
  • Loading branch information
sbrunner authored Oct 2, 2024
2 parents 3c24c74 + 22899db commit 2aaedba
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
with:
python-version: '3.11'
- run: python3 -m pip install --requirement=ci/requirements.txt
- name: Environment information
run: c2cciutils-env

- uses: actions/cache@v4
with:
Expand All @@ -57,11 +59,6 @@ jobs:
# - run: cat env.secrets |grep '^[# A-Z0-9_]\+='|sed -e 's/^[# A-Z0-9_]\+=\(.*\)/::add-mask::\1/g'
- run: touch env.secrets

- name: Print environment information
run: c2cciutils-env
env:
GITHUB_EVENT: ${{ toJson(github) }}

- name: Build
run: ./build

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ jobs:
github-gopass-ci-token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
patterns: docker

- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --requirement=ci/requirements.txt
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python3 -m pip install --requirement=ci/requirements.txt
- name: Environment information
run: c2cciutils-env

- run: touch env.secrets
- run: sed -i '/^DOCKER_TAG=/d' env.project
Expand Down
11 changes: 6 additions & 5 deletions CONST_create_template/.github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
# patterns: docker
# if: env.HAS_SECRETS == 'HAS_SECRETS'

- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --requirement=ci/requirements.txt
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python3 -m pip install --requirement=ci/requirements.txt
- name: Environment information
run: c2cciutils-env

- uses: actions/cache@v4
with:
Expand All @@ -48,9 +52,6 @@ jobs:
# - run: make secrets
# - run: cat env.secrets |grep '^[# A-Z0-9_]\+='|sed -e 's/^[# A-Z0-9_]\+=\(.*\)/::add-mask::\1/g'

- name: Environment information
run: c2cciutils-env

# - name: Initialize the acceptance tests
# run: make acceptance-init
# - run: c2cciutils-docker-logs
Expand Down
8 changes: 6 additions & 2 deletions CONST_create_template/.github/workflows/rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
github-gopass-ci-token: ${{ secrets.GOPASS_CI_GITHUB_TOKEN }}
patterns: docker

- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH}
- run: python3 -m pip install --user --requirement=ci/requirements.txt
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python3 -m pip install --requirement=ci/requirements.txt
- name: Environment information
run: c2cciutils-env

- name: Build
run: ./build
Expand Down

0 comments on commit 2aaedba

Please sign in to comment.