Comments (7)
hello, and thanks for reporting this! @billyromano
the deprecation warning was caused by a regression in april this year and next version 0.0.67 will have it fixed.
to address the
pipelines: no pipeline to run!
message, please provide your bitbucket-pipelines.yml
file in question, link to a gist is fine, if possible. the pipelines
utility has some edge cases parsing the yaml file and I suspect this is the case here so that the default pipeline is not found. having the file would help to clarify on that (often there is an easy work-around).
from pipelines.
version 0.0.67 has been released. you can update it already with phive (e.g. phive update pipelines
).
that should remove the deprecation messages. the yaml file would still help me to add a regression test so that I don't tap into mistakes as the one that happened.
I leave this issue open as I'm pretty sure that the
pipelines: no pipeline to run!
message still is the case with 0.0.67 and the bitbucket-pipelines.yml
file.
from pipelines.
I'll address that one as well with the next release. It is not the cause of the message thought.
Your bitbucket-pipelines.yml
file has no default pipeline which would be run. see --pipeline
and/or --trigger
.
However mind that pipe
is not fully implemented.
from pipelines.
I just updated to 0.0.67 and here's the new issues showing up:
PHP Deprecated: Return type of Ktomk\Pipelines\Value\Env\EnvFile::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///Users/user/.phive/phars/pipelines/src/Value/Env/EnvFile.php on line 54
Deprecated: Return type of Ktomk\Pipelines\Value\Env\EnvFile::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///Users/user/.phive/phars/pipelines/src/Value/Env/EnvFile.php on line 54
PHP Deprecated: Return type of Ktomk\Pipelines\Value\Env\EnvFile::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///Users/user/.phive/phars/pipelines/src/Value/Env/EnvFile.php on line 49
Deprecated: Return type of Ktomk\Pipelines\Value\Env\EnvFile::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///Users/user/.phive/phars/pipelines/src/Value/Env/EnvFile.php on line 49
pipelines: no pipeline to run!
Here's my bitbucket-pipelines.yml
file for your reference:
pipelines:
branches:
develop:
-
step:
name: Deploy Node.js App to Azure
deployment: staging
script:
-
pipe: microsoft/azure-static-web-apps-deploy:main
variables:
REQUIRED_OS_PACKAGES: nasm
APP_LOCATION: '$BITBUCKET_CLONE_DIR'
# API_LOCATION: '$BITBUCKET_CLONE_DIR/src/pages/api'
OUTPUT_LOCATION: '$BITBUCKET_CLONE_DIR/out'
APP_BUILD_COMMAND: 'yarn build:staging'
API_TOKEN: $deployment_token
from pipelines.
Ok that makes sense now
I'll make sure to update and use default
instead of branches
for my testing.
When do you think the pipe
structure will be implemented? This is the main thing I need to test for my setup. I'm trying to figure out why Bitbucket running this pipeline doesn't show images in Azure, but running this pipeline locally through Docker the images show up fine. I think it's an image file permissions issue, but I'm not sure yet.
from pipelines.
I see lots of similar errors as @billyromano - even when issuing a simple $ pipelines --version
command. I'm using PHP 8.1.9:
PHP 8.1.9 (cli) (built: Aug 4 2022 15:11:08) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.9, Copyright (c) Zend Technologies
with Zend OPcache v8.1.9, Copyright (c), by Zend Technologies
$ pipelines --version
PHP Deprecated: Return type of Ktomk\Pipelines\Cli\Args\OptionFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/jeffryan/.composer/vendor/ktomk/pipelines/src/Cli/Args/OptionFilterIterator.php on line 67
Deprecated: Return type of Ktomk\Pipelines\Cli\Args\OptionFilterIterator::accept() should either be compatible with FilterIterator::accept(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/jeffryan/.composer/vendor/ktomk/pipelines/src/Cli/Args/OptionFilterIterator.php on line 67
PHP Deprecated: Return type of Ktomk\Pipelines\Cli\Args\OptionIterator::rewind() should either be compatible with IteratorIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/jeffryan/.composer/vendor/ktomk/pipelines/src/Cli/Args/OptionIterator.php on line 106
Deprecated: Return type of Ktomk\Pipelines\Cli\Args\OptionIterator::rewind() should either be compatible with IteratorIterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/jeffryan/.composer/vendor/ktomk/pipelines/src/Cli/Args/OptionIterator.php on line 106
PHP Deprecated: Return type of Ktomk\Pipelines\Cli\Args\OptionIterator::valid() should either be compatible with IteratorIterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/jeffryan/.composer/vendor/ktomk/pipelines/src/Cli/Args/OptionIterator.php on line 92
...
I updated to the latest 0.0.67 version but am getting the same issue. Things worked fine earlier so I am wondering if I updated a dependency... like php
from pipelines.
@duffar: Yes, that are deprecation warnings from PHP 8.1. Can you share which operating system / distro you're using? And thanks for reporting. Next version should have less noise if not getting completely rid of the warnings.
from pipelines.
Related Issues (20)
- 'image' required in service definition HOT 3
- Dockerfile for pipelines? HOT 5
- `step.clone-path` does not match current Bitbucket behavior HOT 4
- Support for `condition` HOT 4
- (Some) Anchors Do Not Work - Raises Invalid YAML HOT 12
- Support for 'docker' in 'options' HOT 9
- Failed to parse validated YAML file HOT 2
- /bin/sh: 5: source: not found HOT 12
- Pipelines Fatal Environment Definition Error is puzzling HOT 11
- BITBUCKET_REPO_SLUG holds the `.git` extension HOT 6
- script non-zero exit status: 243 HOT 3
- pipelines: file parse error: 'image' required in service definition HOT 1
- coverage-checker.php deprecated notice HOT 1
- Parallel step support for fail-fast and steps properties HOT 3
- Validator fails on pipes in steps HOT 3
- Dealing with SSH stuff HOT 16
- Services support (e.g. mysql) HOT 5
- Default pipeline with parallel fails validation HOT 3
- Working with private repos HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipelines.