Skip to content
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

Using v1.2.10 causes already working put step to fail #46

Open
anijayn opened this issue Nov 9, 2022 · 5 comments
Open

Using v1.2.10 causes already working put step to fail #46

anijayn opened this issue Nov 9, 2022 · 5 comments

Comments

@anijayn
Copy link

anijayn commented Nov 9, 2022

Since the new changes to this resource, the put step fails with the following error in our pipeline job.

+ dirname /opt/resource/out
+ source /opt/resource/emit.sh
/opt/resource/out: 49: /opt/resource/out: source: not found

Notes

  • We use this resource to upload our static assets to an S3 bucket and it was working fine with v1.2.6.
@bk1216
Copy link

bk1216 commented Nov 9, 2022

I’m also facing the same issue in get step

@bk1216
Copy link

bk1216 commented Nov 9, 2022

@anijayn is it possible to use specific tag when fetching an image ? Please let me know

Thanks

@anijayn
Copy link
Author

anijayn commented Nov 9, 2022

@bk1216 Yes, you can. I just updated my current pipeline's resource config to this:

  - name: simple-s3
    type: registry-image
    source:
      repository: 18fgsa/s3-resource-simple
      tag: 1.2.6

v1.2.6 was the last working version in our pipeline

@bk1216
Copy link

bk1216 commented Nov 9, 2022

@anijayn Thank you
Not seeing the above issue with v1.2.12

@charles-dyfis-net
Copy link

source is a bashism; . is the POSIX sh equivalent. This was thus fixed in c493d03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants