File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ pipeline:
77- name : publish-charts
88 image : bash
99 commands :
10+ - export VERSION=$(sed 's#v##' <<< $CI_COMMIT_TAG)
11+ - export IMAGE_TAG=$([ ! -z $CI_COMMIT_TAG ] && echo \"$VERSION\" || echo \"canary\")
1012 - pip install -r requirements.txt
11- - python3 _scripts/dependency_update.py "oci://$DRYCC_REGISTRY/$([ -z $DRONE_TAG ] && echo charts-testing || echo charts)" "charts/workflow/Chart.yaml"
13+ - python3 _scripts/dependency_update.py "oci://$DRYCC_REGISTRY/$([ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)" "charts/workflow/Chart.yaml"
1214 - helm dependency update charts/workflow
13- - helm package charts/workflow -u -- version $([ -z $DRONE_TAG ] && echo 1.0.0 || echo ${DRONE_TAG##v} )
15+ - helm package -u charts/$${CI_REPO_NAME} -- version $([ -z $CI_COMMIT_TAG ] && echo 1.0.0 || echo $VERSION )
1416 - echo $CONTAINER_PASSWORD | helm registry login $DRYCC_REGISTRY -u $CONTAINER_USERNAME --password-stdin
15- - helm push workflow -$([ -z $DRONE_TAG ] && echo 1.0.0 || echo ${DRONE_TAG##v} ).tgz oci://$DRYCC_REGISTRY/$([ -z $DRONE_TAG ] && echo charts-testing || echo charts)
17+ - helm push $${CI_REPO_NAME} -$([ -z $CI_COMMIT_TAG ] && echo 1.0.0 || echo $VERSION ).tgz oci://$DRYCC_REGISTRY/$([ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)
1618 - bash _scripts/generate_cache.sh
1719 secrets :
1820 - drycc_registry
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ pipeline:
2222 commands :
2323 - chown -R root:root _build/html
2424 - docker run --rm
25- -e DRONE_COMMIT_AUTHOR="$DRONE_COMMIT_AUTHOR "
26- -e DRONE_COMMIT_AUTHOR_EMAIL="$DRONE_COMMIT_AUTHOR_EMAIL "
25+ -e DRONE_COMMIT_AUTHOR="$CI_COMMIT_AUTHOR "
26+ -e DRONE_COMMIT_AUTHOR_EMAIL="$CI_COMMIT_AUTHOR_EMAIL "
2727 -e PLUGIN_SSH_KEY="$SSH_DEPLOY_KEY"
2828 -e PLUGIN_BRANCH=main
2929 -e PLUGIN_REMOTE=git@github.com:drycc/www.drycc.cc.git
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ This project has been forked from [Deis](https://github.com/deis/deis) since 201
3030not compatible with each other.
3131
3232# Working on Documentation
33- [ ![ Build Status] ( https://drone .drycc.cc/api/badges/drycc/workflow/status.svg )] ( https://drone .drycc.cc/drycc/workflow )
33+ [ ![ Build Status] ( https://woodpecker .drycc.cc/api/badges/drycc/workflow/status.svg )] ( https://woodpecker .drycc.cc/drycc/workflow )
3434[ ![ FOSSA Status] ( https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdrycc%2Fworkflow.svg?type=shield )] ( https://app.fossa.com/projects/git%2Bgithub.com%2Fdrycc%2Fworkflow?ref=badge_shield )
3535
3636The Drycc project welcomes contributions from all developers. The high level process for development matches many other open source projects. See below for an outline.
Original file line number Diff line number Diff line change 3636
3737for tar in ` ls $tmp | grep .tgz`
3838do
39- helm push $tar oci://$DRYCC_REGISTRY /$( [ -z $DRONE_TAG ] && echo charts-testing || echo charts)
39+ helm push $tar oci://$DRYCC_REGISTRY /$( [ -z $CI_COMMIT_TAG ] && echo charts-testing || echo charts)
4040done
You can’t perform that action at this time.
0 commit comments