This repository is a resource provided for Linux Academy students taking the hands-on GitIOps course.
linuxacademy / content-gitops Goto Github PK
View Code? Open in Web Editor NEW445, John Marx, 11/18/19
445, John Marx, 11/18/19
Hi John,
When I was try to run the git actions, got the following error. Any insight what went wrong? Thanks!
Run cd ./python
cd ./python
echo *** | docker login -u xsqian --password-stdin
docker image build -t xsqian/gitops:hellov1.0 .
docker push xsqian/gitops:hellov1.0
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.7.11/x64
/home/runner/work/_temp/30d82465-db58-4fc4-8139-ed8d8f5762d6.sh: line 2: unexpected EOF while looking for matching `"'
Error: Process completed with exit code 2.
Hi John, containers built currently with this repo will crash due to a mismatch between the python 3-alpine container and the version of flask specified in requirements.txt:
cloud_user@ip-10-0-1-101:~$ kubectl log deployment/hello -n lasample
log is DEPRECATED and will be removed in a future version. Use logs instead.
Traceback (most recent call last):
File "/python/app.py", line 1, in <module>
from flask import Flask
File "/usr/local/lib/python3.10/site-packages/flask/__init__.py", line 21,
in <module>
from .app import Flask, Request, Response
File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 36, in
<module>
from .sessions import SecureCookieSessionInterface
File "/usr/local/lib/python3.10/site-packages/flask/sessions.py", line 14,
in <module>
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections'
(/usr/local/lib/python3.10/collections/__init__.py)
I've submitted pull request #129 that resolves this. I'm flagging it as an issue here as the list of pull requests seems to be mostly mistaken pull-to-origin vs pull-to-local-fork.
Thanks for this course, I found it very helpful.
Tim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.