-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
For kubernetes pass commands direct to pods #3216
Closed
6543
wants to merge
6
commits into
woodpecker-ci:main
from
6543-forks:kubernetes/pass-commands-directly
Closed
For kubernetes pass commands direct to pods #3216
6543
wants to merge
6
commits into
woodpecker-ci:main
from
6543-forks:kubernetes/pass-commands-directly
Conversation
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
6543
added
enhancement
improve existing features
wip
backend/kubernetes
build_pr_images
If set, the CI will build images for this PR and push to Dockerhub
labels
Jan 18, 2024
-> need to be tested @zc-devs ? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3216 +/- ##
==========================================
+ Coverage 35.38% 35.45% +0.07%
==========================================
Files 226 226
Lines 14901 14925 +24
==========================================
+ Hits 5272 5291 +19
- Misses 9238 9242 +4
- Partials 391 392 +1 ☔ View full report in Codecov by Sentry. |
steps:
one:
image: alpine
commands:
- echo $CI_COMMIT_SHA
two:
image: debian
commands:
- cat /etc/os-release
- id
- echo $$CI_COMMIT_BRANCH
three:
image: debian
commands:
- echo Setting up Docker registry authentication
- AUTH=$(printf '%s:%s' "DOCKER_USR" "DOCKER_PWD" | base64 -w 0)
- DOCKER_AUTHS=$(printf '{"auths":{"%s":{"auth":"%s"}}}' "$REGISTRY" "$AUTH")
- printf '%s' "$DOCKER_AUTHS" > "config.json"
|
Hmm so we still depend on script generation :/ As only the first command gets exec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend/kubernetes
build_pr_images
If set, the CI will build images for this PR and push to Dockerhub
enhancement
improve existing features
wip
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
try to not create and encode a script but pass commands directly to pots inside kubernetes